Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Project ERROR: Unknown module(s) in QT: quick qml

Project ERROR: Unknown module(s) in QT: quick qml

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 3 Posters 1.6k Views
  • 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.
  • E Offline
    E Offline
    egor.utsov
    wrote on last edited by
    #1

    Hi. I understand, that i am not the first. I had crosscompile Qt 5.9.6 for RaspberryPi3 and try to build QML application on host.
    I pointed QtCreator to qtbase/bin/qmake from the build directory. Guys from this thread: https://forum.qt.io/topic/70166/unknown-module-s-in-qt-qml-quick told, that i should use qmake from my sysroot. But it isn't there. Should i crosscompile the qmake by itself? If it is the case, how to do it?

    jsulmJ E 2 Replies Last reply
    0
    • E egor.utsov

      Hi. I understand, that i am not the first. I had crosscompile Qt 5.9.6 for RaspberryPi3 and try to build QML application on host.
      I pointed QtCreator to qtbase/bin/qmake from the build directory. Guys from this thread: https://forum.qt.io/topic/70166/unknown-module-s-in-qt-qml-quick told, that i should use qmake from my sysroot. But it isn't there. Should i crosscompile the qmake by itself? If it is the case, how to do it?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @egor.utsov said in Project ERROR: Unknown module(s) in QT: quick qml:

      qtbase/bin/qmake from the build directory

      Is it the one you cross compiled? If so then it is the correct qmake.
      Did you xross compile QML/quick as well?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      E 1 Reply Last reply
      2
      • jsulmJ jsulm

        @egor.utsov said in Project ERROR: Unknown module(s) in QT: quick qml:

        qtbase/bin/qmake from the build directory

        Is it the one you cross compiled? If so then it is the correct qmake.
        Did you xross compile QML/quick as well?

        E Offline
        E Offline
        egor.utsov
        wrote on last edited by
        #3

        @jsulm Yes. And they are installed to target rootfs. But qmake from qbase/bin still cannot seen this modules

        1 Reply Last reply
        0
        • E egor.utsov

          Hi. I understand, that i am not the first. I had crosscompile Qt 5.9.6 for RaspberryPi3 and try to build QML application on host.
          I pointed QtCreator to qtbase/bin/qmake from the build directory. Guys from this thread: https://forum.qt.io/topic/70166/unknown-module-s-in-qt-qml-quick told, that i should use qmake from my sysroot. But it isn't there. Should i crosscompile the qmake by itself? If it is the case, how to do it?

          E Offline
          E Offline
          egor.utsov
          wrote on last edited by
          #4

          Finally i solved it by adding QMAKEMODULES environment variable to preject configuration in QtCreator Projects tab. This variable in my case is point to /home/<your path>/qt5clean/build/qtdeclarative/mkspecs/modules.

          aha_1980A 1 Reply Last reply
          1
          • E egor.utsov

            Finally i solved it by adding QMAKEMODULES environment variable to preject configuration in QtCreator Projects tab. This variable in my case is point to /home/<your path>/qt5clean/build/qtdeclarative/mkspecs/modules.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5
            This post is deleted!
            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