Qt World Summit: Register Today!

Cross compiling for Raspberry Pi - Which module for Qt Quick

  • I've set up a Linux machine to cross compile for the Raspberry Pi and managed to get remote debugging working for both console and Widget apps but I'm missing the quick modules and so can't compile for QtQuick applications.

    I installed from http://download.qt.io/official_releases/qt/, going into the appropriate subdirectory (5.13.1 in my case) and then the submodules directory and selected qtbase.... However, I'm unsure which modules to add for Qt Quick. When I try to build QtQuickControls or QtQuickControls2 submodules, the compiler tells me the quick module is missing.

    So which additional module do I need to install to get the quick stuff on my development system?

    Thanks in advance.


  • Moderators

    Take qtdeclarative (that's where base classes are) and qtquickcontrols2. You may also need to include qtsvg for these to compile properly.

  • @sierdzio thanks for getting me on the right track. I had already tried qtdeclarative but for some reason for 5.13.1 it seems to be empty (no src, etc) so I thought I was barking up the wrong tree. I dropped back to 5.12.10 and all is working fine now (so far at least)!

    Thanks again

Log in to reply