qt*.mk: Fix conditional QT_VERSION definition

Fix, sortof, conditional variable definitions of QT_VERSION.
This commit is contained in:
Jan Lindemann 2007-07-03 13:38:27 +00:00 committed by Jan Lindemann
commit a52010723f
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@ ifeq ($(USE_QT),true)
USE_X = true
CPPFLAGS += -DQT_THREAD_SUPPORT
QT_VERSION = 4.3.0
QT_VERSION ?= 4.3.0
QT_MAJOR_VERSION ?= $(shell echo $(QT_VERSION) | cut -d\. -f1)
ifeq ($(QT_MAJOR_VERSION),2)