Important: Please read the Qt Code of Conduct -

Cross-compiling for Altera SoC (DE1-SoC-MTL2) issue: "Unknown Module(s) in QT: quick"

  • I'm trying to compile a Qt application that uses QtCharts for the Terasic Development Board DE1-SoC-MTL2. This dev board comes with Linux LXDE and Qt version 5.3.1 pre-installed. I tested a simple Qt application on the dev board and it works. However, when I try to build an application that uses QtCharts I get the following compile output:

    21:27:49: Starting: "/usr/local/qt-5.3.1-altera-soc/bin/qmake" /home/mcmonigt/Applications/Qt/Examples/Qt-5.12.3/charts/qmloscilloscope/ -spec linux-arm-gnueabihf-g++
    Project ERROR: Unknown module(s) in QT: quick charts
    21:27:49: The process "/usr/local/qt-5.3.1-altera-soc/bin/qmake" exited with code 3.
    Error while building/deploying project qmloscilloscope (kit: Altera SoC FPGA Kit)
    The kit Altera SoC FPGA Kit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"

    The pre-built Qt library can be found as a compressed file named qt-5.3.1-altera.soc.tart.gz2 in the following directory of the DE1-SoC-MTL2 system CD: /Demonstrations/LXDE_BSP/Library/qt-5.3.1-altera-soc.tar.gz2. The system CD can be found in the following link:
    In the Manuals folder in the system CD, the control panel manual specifies how I configured the Kit, Qt version, and compiler.

    I am really hoping you could point me in the right direction. It would be really great if I can get QtCharts to work in this device and I'm guessing there is a way to add it as a plugin or something of that kind. The example I'm trying to compile for the Altera SoC FPGA Kit is the Qml Oscilloscope provided for Qt 5.12.3 GCC 64bit.

    Thank you for any assistance you may provide.

  • Lifetime Qt Champion

    @tommyboy Does your cross compiled Qt also contain QtCharts module? Because the error you get says exactly this: QtCharts is not available. Cross compile QtCharts first.

Log in to reply