summaryrefslogtreecommitdiffstats
path: root/qtserialbus.pro
diff options
context:
space:
mode:
authorJanne Partala <janne.partala@bitfactor.fi>2015-06-04 16:22:39 +0300
committerJanne Heikki Partala <janne.partala@bitfactor.fi>2015-06-19 14:41:21 +0000
commitccb985e9d0564eaf97e676d4691273ca2ea2a695 (patch)
tree2816feeffafe25d46606b15aa5c32578c8b9b0df /qtserialbus.pro
parent27cbd766cea44f66e167ca6aca69f62297f7fa91 (diff)
Initial commit for QtSerialBus
Change-Id: I314502cd1e95ecbd3ad5bcf63a7a81e0e1b415d4 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'qtserialbus.pro')
-rw-r--r--qtserialbus.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/qtserialbus.pro b/qtserialbus.pro
new file mode 100644
index 0000000..4a09bc9
--- /dev/null
+++ b/qtserialbus.pro
@@ -0,0 +1,14 @@
+lessThan(QT_MAJOR_VERSION, 5) {
+ message("Cannot build current QtSerialBus sources with Qt version $${QT_VERSION}.")
+}
+
+load(configure)
+!qtCompileTest(socketcan) {
+ warning("You need linux/can.h and linux/can/raw.h linux headers for socketCAN support, disabling it")
+}
+!qtCompileTest(socketcan_fd) {
+ warning("Newer kernel needed for flexible data-rate frame support 'canfd_frame'")
+}
+
+
+load(qt_parts)