Project ERROR: Unknown module(s) in QT: serialbus
-
wrote on 3 Oct 2017, 08:21 last edited by
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. -
Lifetime Qt Championwrote on 3 Oct 2017, 08:41 last edited by aha_1980 10 Mar 2017, 08:44
@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).
-
wrote on 3 Oct 2017, 09:58 last edited by
Cheers, got it. Was using older version.
-
wrote on 3 Oct 2017, 13:20 last edited by
Can you highlight it as solved?
5/6