Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Project ERROR: Unknown modules in QT

Project ERROR: Unknown modules in QT

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 4 Posters 15.9k Views 3 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.
  • R Offline
    R Offline
    reichi
    wrote on last edited by
    #1

    I'm receiving the following error in QT Creator after selecting my project:
    Project ERROR: Unknown module(s) in QT: qml quickwidgets location positioning

    OS is Xubuntu 18.04. The Qt installation with the Online Installer failed (stopped at 46% for Qt 5.11.2), but the Ubuntu packages (qt5-default and qtcreator) could be installed without any issues.

    Same project works fine in my Windows environment.

    Do you have any advice?

    aha_1980A 1 Reply Last reply
    0
    • R reichi

      I'm receiving the following error in QT Creator after selecting my project:
      Project ERROR: Unknown module(s) in QT: qml quickwidgets location positioning

      OS is Xubuntu 18.04. The Qt installation with the Online Installer failed (stopped at 46% for Qt 5.11.2), but the Ubuntu packages (qt5-default and qtcreator) could be installed without any issues.

      Same project works fine in my Windows environment.

      Do you have any advice?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @reichi qt5-default is not enough.

      you need to search for the additional packages and install them.

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • R Offline
        R Offline
        reichi
        wrote on last edited by
        #3

        Thank you, aha_1980. I went through the packages related to qt5 and qml, installed everything where I could imagine it might help, but without any result. It's still complaining about the unknown modules. Maybe the modules are installed but Qt Creator cannot find? But where to look at?

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

          Hi,

          Did you check that you are now using your distribution provided Qt to build your project ?

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

          R 1 Reply Last reply
          1
          • SGaistS SGaist

            Hi,

            Did you check that you are now using your distribution provided Qt to build your project ?

            R Offline
            R Offline
            reichi
            wrote on last edited by
            #5

            @SGaist You mean to check the PATH? I'm not quite sure what to check...

            sierdzioS 1 Reply Last reply
            0
            • R reichi

              @SGaist You mean to check the PATH? I'm not quite sure what to check...

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @reichi said in Project ERROR: Unknown modules in QT:

              @SGaist You mean to check the PATH? I'm not quite sure what to check...

              See console output in Qt Creator, when you run qmake. It will contain all the paths -> check if the path is from your OS or from the (incomplete) installation you did.

              (Z(:^

              R 1 Reply Last reply
              1
              • sierdzioS sierdzio

                @reichi said in Project ERROR: Unknown modules in QT:

                @SGaist You mean to check the PATH? I'm not quite sure what to check...

                See console output in Qt Creator, when you run qmake. It will contain all the paths -> check if the path is from your OS or from the (incomplete) installation you did.

                R Offline
                R Offline
                reichi
                wrote on last edited by
                #7

                @sierdzio Hi sierdzio, my Qt Creator does not say much: "QFileSystemWatcher: skipping native engine, using only polling engine". But I just realized that I have 5 Qt creators on my system. So I think I have to come to a clean system first. Do you have recommendation how to install?

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

                  Hi,

                  To start, install the version coming from your distribution. If not recent enough, go for the online installer.

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

                  R 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    Hi,

                    To start, install the version coming from your distribution. If not recent enough, go for the online installer.

                    R Offline
                    R Offline
                    reichi
                    wrote on last edited by
                    #9

                    @SGaist Now it works. I cleaned up existing QT installations. And installed the following packages:
                    qtcreator, qtbase5-dev, qtdeclarative5-dev

                    1 Reply Last reply
                    1

                    • Login

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