forked from romixlab/qmsgpack
Make the QtGui module an optional dependency
detect and link with it, if found
This commit is contained in:
@ -26,6 +26,10 @@ HEADERS += \
|
|||||||
$$PWD/src/stream/time.h \
|
$$PWD/src/stream/time.h \
|
||||||
$$PWD/src/stream/geometry.h
|
$$PWD/src/stream/geometry.h
|
||||||
|
|
||||||
|
qtHaveModule(gui) {
|
||||||
|
QT += gui
|
||||||
|
}
|
||||||
|
|
||||||
qtHaveModule(location) {
|
qtHaveModule(location) {
|
||||||
QT += location
|
QT += location
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
QT += core gui
|
QT += core
|
||||||
|
|
||||||
TARGET = qmsgpack
|
TARGET = qmsgpack
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
@ -46,6 +46,10 @@ STREAM_HEADERS_INSTALL = \
|
|||||||
stream/geometry.h \
|
stream/geometry.h \
|
||||||
stream/time.h
|
stream/time.h
|
||||||
|
|
||||||
|
qtHaveModule(gui) {
|
||||||
|
QT += gui
|
||||||
|
}
|
||||||
|
|
||||||
qtHaveModule(location) {
|
qtHaveModule(location) {
|
||||||
QT += location
|
QT += location
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user