1{ 2 "module": "serialbus", 3 "testDir": "../../config.tests", 4 5 "tests": { 6 "socketcan": { 7 "label": "Socket CAN", 8 "type": "compile", 9 "test": "socketcan" 10 }, 11 "socketcan_fd": { 12 "label": "Socket CAN FD", 13 "type": "compile", 14 "test": "socketcan_fd" 15 } 16 }, 17 18 "features": { 19 "socketcan": { 20 "label": "Socket CAN", 21 "condition": "config.linux && tests.socketcan", 22 "output": [ "privateFeature" ] 23 }, 24 "socketcan_fd": { 25 "label": "Socket CAN FD", 26 "condition": "config.linux && features.socketcan && tests.socketcan_fd", 27 "output": [ "privateFeature"] 28 }, 29 "modbus-serialport" : { 30 "label": "SerialPort Support", 31 "condition": "module.serialport", 32 "purpose": "Enables Serial-based Modbus Support", 33 "output": [ "publicFeature"] 34 } 35 }, 36 37 "report": [ 38 { 39 "type": "note", 40 "condition": "config.linux && !features.socketcan", 41 "message": "QtSerialBus: Cannot find linux/can.h and linux/can/raw.h Linux headers for socketCAN support." 42 }, 43 { 44 "type": "note", 45 "condition": "config.linux && features.socketcan && !features.socketcan_fd", 46 "message": "QtSerialBus: Newer kernel needed for flexible data-rate frame support (canfd_frame)." 47 } 48 ], 49 50 "summary": [ 51 { 52 "section": "Qt SerialBus", 53 "entries": [ 54 "socketcan", 55 "socketcan_fd", 56 "modbus-serialport" 57 ] 58 } 59 ] 60} 61