summaryrefslogtreecommitdiffstats
path: root/qtserialbus.pro
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-09 10:38:05 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-09 09:14:43 +0000
commita7ff1d2b55ac217b6c2aa8c15444a8c230eb685b (patch)
treed3c85e6afbce04886a32f97d6bf0bec926f1fd10 /qtserialbus.pro
parent0e7dc4277a80fb315866af2c6119bd9f529a2b0c (diff)
Don't print the missing header warning when tests were successful
It seems qmake's ":" works on the same line only. The warning was printed each time. Change-Id: I61ac92090813b5025a719b026c47a20fdfd9c392 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'qtserialbus.pro')
-rw-r--r--qtserialbus.pro6
1 files changed, 2 insertions, 4 deletions
diff --git a/qtserialbus.pro b/qtserialbus.pro
index a561aab..92a2761 100644
--- a/qtserialbus.pro
+++ b/qtserialbus.pro
@@ -8,8 +8,6 @@ qtCompileTest(socketcan_fd)
load(qt_parts)
linux {
- !config_socketcan:
- warning("You need linux/can.h and linux/can/raw.h linux headers for socketCAN support, disabling it")
- !config_socketcan_fd:
- warning("Newer kernel needed for flexible data-rate frame support 'canfd_frame'")
+ !config_socketcan:warning("You need linux/can.h and linux/can/raw.h linux headers for socketCAN support, disabling it")
+ !config_socketcan_fd:warning("Newer kernel needed for flexible data-rate frame support 'canfd_frame'")
}