Merge PR #450: Silence some spamming debug messages from project files

pull/466/head
Jenkins nymea 2021-09-06 09:05:00 +02:00
commit 87dcd7484d
2 changed files with 0 additions and 11 deletions

View File

@ -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 {

View File

@ -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 \