Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #18 from special/master
[mms-engine] Avoid using qmake to detect Qt version
  • Loading branch information
special committed Apr 9, 2014
2 parents ec40b18 + 439ea03 commit cde58d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mms-lib/Config.mak
Expand Up @@ -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))
Expand Down

0 comments on commit cde58d9

Please sign in to comment.