Commit cde58d9a authored by jbrooks's avatar jbrooks

Merge pull request #18 from special/master

[mms-engine] Avoid using qmake to detect Qt version
parents ec40b182 439ea03a
......@@ -13,11 +13,7 @@ RESIZE_DEFINES = -DMMS_RESIZE_IMAGEMAGICK
RESIZE_CFLAGS = $(shell pkg-config --cflags $(RESIZE_PKG))
else
ifeq ($(MMS_RESIZE),Qt)
ifeq ($(shell qmake --version | grep "Using Qt version 5"),)
RESIZE_PKG = QtGui
else
RESIZE_PKG = Qt5Gui
endif
RESIZE_PKG = Qt5Gui
RESIZE_LIBS = -lstdc++
RESIZE_DEFINES = -DMMS_RESIZE_QT
RESIZE_CPPFLAGS = $(shell pkg-config --cflags $(RESIZE_PKG))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment