mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
qt-defs.mk: Make QT_VERSION dymanically assigned, based on what's rpm-installed
This commit is contained in:
parent
83cbe486b9
commit
77ed302062
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ ifeq ($(USE_QT),true)
|
|||
|
||||
USE_X = true
|
||||
CPPFLAGS += -DQT_THREAD_SUPPORT
|
||||
QT_VERSION ?= 4.3.0
|
||||
QT_VERSION ?= $(shell rpm -q --queryformat='%{VERSION}' --whatprovides qt)
|
||||
QT_MAJOR_VERSION ?= $(shell echo $(QT_VERSION) | cut -d\. -f1)
|
||||
|
||||
ifeq ($(QT_MAJOR_VERSION),2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue