Project ERROR: Unknown module(s) in QT: serialbus
-
I copied the example project from here (https://doc.qt.io/qt-5/qtserialbus-can-example.html) because I can't seem to find that particulat example in the QT creator example page.
I opened the project with .pro and tried to build it and I encountered that error. I can't seem to find the module.
-
Run your Qt Maintenance Tool and install the QtSerialBus module, maybe it is missing. I think it was added to Qt around Qt 5.7. Or maybe 5.8? Can't recall now.
-
@KayElls said in Project ERROR: Unknown module(s) in QT: serialbus:
I copied the example project from here (https://doc.qt.io/qt-5/qtserialbus-can-example.html) because I can't seem to find that particulat example in the QT creator example page.
Hello, and welcome!
Which Qt version are you using? QtSerialBus is available since Qt 5.8. (There is a preview from 5.6 on, but I don't recommend it for CAN bus, a lot changed with 5.8)
With Qt 5.8 or higher you should also have the Examples available in Creator. -
@sierdzio said in Project ERROR: Unknown module(s) in QT: serialbus:
Run your Qt Maintenance Tool and install the QtSerialBus module, maybe it is missing. I think it was added to Qt around Qt 5.7. Or maybe 5.8? Can't recall now.
If he uses Qt 5.8 or above, it is automatically installed. As said, I don't recommend using it with 5.6 and 5.7 (where it was preview and had to be installed separately).
-
Cheers, got it. Was using older version.
-
Can you highlight it as solved?