summaryrefslogtreecommitdiffstats
path: root/qtserialbus.pro
blob: 92a27617b16d97136a328704e290774c2794c5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
lessThan(QT_MAJOR_VERSION, 5) {
    message("Cannot build current QtSerialBus sources with Qt version $${QT_VERSION}.")
}

load(configure)
qtCompileTest(socketcan)
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'")
}