mirror of https://github.com/nymea/nymea.git
Merge PR #450: Silence some spamming debug messages from project files
commit
87dcd7484d
|
|
@ -35,12 +35,8 @@ CONFIG(withoutpython) {
|
||||||
CONFIG -= python
|
CONFIG -= python
|
||||||
}
|
}
|
||||||
|
|
||||||
# Qt serial bus module is officially available since Qt 5.8
|
|
||||||
# but not all platforms host the qt serialbus package.
|
|
||||||
# Let's check if the package exists, not the qt version
|
|
||||||
packagesExist(Qt5SerialBus) {
|
packagesExist(Qt5SerialBus) {
|
||||||
message("Building with QtSerialBus support.")
|
message("Building with QtSerialBus support.")
|
||||||
# Qt += serialbus
|
|
||||||
PKGCONFIG += Qt5SerialBus
|
PKGCONFIG += Qt5SerialBus
|
||||||
DEFINES += WITH_QTSERIALBUS
|
DEFINES += WITH_QTSERIALBUS
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,9 @@ QT += dbus testlib network sql websockets
|
||||||
CONFIG += testcase
|
CONFIG += testcase
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
|
|
||||||
# Qt serial bus module is officially available since Qt 5.8
|
|
||||||
# but not all platforms host the qt serialbus package.
|
|
||||||
# Let's check if the package exists, not the qt version
|
|
||||||
packagesExist(Qt5SerialBus) {
|
packagesExist(Qt5SerialBus) {
|
||||||
message("Building with QtSerialBus support.")
|
|
||||||
# Qt += serialbus
|
|
||||||
PKGCONFIG += Qt5SerialBus
|
PKGCONFIG += Qt5SerialBus
|
||||||
DEFINES += WITH_QTSERIALBUS
|
DEFINES += WITH_QTSERIALBUS
|
||||||
} else {
|
|
||||||
message("Qt5SerialBus package not found. Building without QtSerialBus support.")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$top_srcdir/libnymea \
|
INCLUDEPATH += $$top_srcdir/libnymea \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue