Skip to content

Commit

Permalink
[mms-lib] Re-enabled Qt4 support
Browse files Browse the repository at this point in the history
This way it should work in OBS too. Qt4 support is required in order to run
and debug mms-lib unit tests on a machine that doesn't have Qt5 installed.
  • Loading branch information
monich committed Apr 10, 2014
1 parent cde58d9 commit caab7c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mms-lib/Config.mak
Expand Up @@ -13,7 +13,11 @@ RESIZE_DEFINES = -DMMS_RESIZE_IMAGEMAGICK
RESIZE_CFLAGS = $(shell pkg-config --cflags $(RESIZE_PKG))
else
ifeq ($(MMS_RESIZE),Qt)
RESIZE_PKG = Qt5Gui
ifeq ($(shell pkg-config --exists Qt5Gui; echo $$?),0)
RESIZE_PKG = Qt5Gui
else
RESIZE_PKG = QtGui
endif
RESIZE_LIBS = -lstdc++
RESIZE_DEFINES = -DMMS_RESIZE_QT
RESIZE_CPPFLAGS = $(shell pkg-config --cflags $(RESIZE_PKG))
Expand Down

0 comments on commit caab7c8

Please sign in to comment.