Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling QtQuickcontrols2 v5.9.8: modules (qtHaveModule(quick)) are not available
Forum Updated to NodeBB v4.3 + New Features

Compiling QtQuickcontrols2 v5.9.8: modules (qtHaveModule(quick)) are not available

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 2.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    QtUser411
    wrote on last edited by
    #1

    I am trying to add the qtquickcontrols2 submodule to my qt cross compilation environment. I go through the following steps to compile the submodule dependencies of qtquickcontrols2:

    mkdir installation
    cd qtbase; ./configure; make; make install ROOT_DIR=/home/user/installation; cd ..
    cd qtdeclarative; ../qtbase/bin/qmake .; make; make install ROOT_DIR=/home/user/installation; cd ..
    cd qtxmlpatterns; ../qtbase/bin/qmake .; make; make install ROOT_DIR=/home/user/installation; cd ..
    

    Once they all complete successfully, I then move on to the following command for qtquickcontrols2:

    cd qtquickcontrols2; ../qtbase/bin/qmake .; make
    

    But then receive the output:

    Some of the required modules (qtHaveModule(quick)) are not available.
    

    I am pretty sure that I am missing some variable that tells qtquickcontrols2's qmake invocation where to look for the qml (qtdeclarative) files. I have tried additionally passing ../qtbase/bin/qmake PREFIX=/home/user/installation, but to no avail. Is there some documentation somewhere that explains how submodules depending on each other can be configured correctly? I tried looking for similar examples in the MINGW packages, Linux from Scratch and ArchLinux, but the recipes I found for them seem to start with qt-everywhere instead of the individual submodules as a dependency.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you want to build one module after each other, then you first have to call make install once you built qtbase and then use the installed qmake to continue building your other modules.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved