Unsolved Can't Get Static Qt Build with Qt5SerialPort, error: Unknown module(s) in QT: += serialport
-
Hi all, trying to use serialport with a static build of qt and keep getting this error when running qmake or build.
error: Unknown module(s) in QT: += serialport
Using:
QT creator 5.5.1
Windows 7
Commercial Licence
QT Static build 5.13.0Things Attempted:
Adding QT: += serialport in pro file
Building Qt5SerialPort on its own
Adding INCLUDEPATH with path to the built Qt5SerialPort
Adding built Qt5SerialPort Libs to pro file
Adding built Qt5SerialPort to static qtbase's include and libs folders and rebuilding static qt with jom
Tried other things that have been demonstrated to work on solved questions:
https://forum.qt.io/topic/57299/project-error-unknown-module-s-in-qt-serialport/2
^^^done that step for step (kinda, i'm not using minGW cos commercial), didn't workGot a barebones test project with completely standard .pro file.
Any assistance is greatly appreciated.
Cheers
-
QT creator 5.5.1
Are you from future?
Commercial Licence
In that case you can ask help directly from Qt service, instead of Qt community.
-
@kuzulis haha sorry 4.9.2, no idea how i got that number.
-
Hi,
Are you sure you built the qtserialport module as part of your static build ?
Did you check the content of the lib folder of your build ?