summaryrefslogtreecommitdiffstats
path: root/qtserialbus.pro
diff options
context:
space:
mode:
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)