Search code examples
c++qtqtserialport

Qt module (QtSerialPort) not found in Qt custom build (cross compiled for ARM)


I have Qt 5.5.1 custom build (cross compiled on x86 for ARM development). So the project is building on x86 host and then deployed to Jetson TK1 development board.

I have the error:

Project ERROR: Unknown module(s) in QT: serialport

I can see build library: /home/alan/work/qt/qt-everywhere-opensource-src-5.5.1/qtserialport/lib/libQt5SerialPort.so.5.5.1, source and header files for QtSerialPort module in qt build directory. So I think the module is build but not properly installed. Never deal with custom Qt modules so how to check if module build and installed correctly?

Update: Qt was build but was not installed into OS (Qt Creator allows to use such builds to creating kits).


Solution

  • Modules only available after install. Another option - link module as separate library.