Make the QtGui module an optional dependency
detect and link with it, if found
This commit is contained in:
1 parent
a579f324d7
commit
ca968dbb4e
2 files changed
+9
-1
No files matched your search
+5
-1
@@ -1,4 +1,4 @@
|
||||
QT += core gui
|
||||
QT += core
|
||||
|
||||
TARGET = qmsgpack
|
||||
CONFIG -= app_bundle
|
||||
@@ -46,6 +46,10 @@ STREAM_HEADERS_INSTALL = \
|
||||
stream/geometry.h \
|
||||
stream/time.h
|
||||
|
||||
qtHaveModule(gui) {
|
||||
QT += gui
|
||||
}
|
||||
|
||||
qtHaveModule(location) {
|
||||
QT += location
|
||||
|
||||
|
||||
Reference in new issue
Block a user