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 module(s) in QT:

Project ERROR: Unknown module(s) in QT:

Scheduled Pinned Locked Moved Unsolved General and Desktop
27 Posts 4 Posters 17.0k 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.
  • M mchmch
    11 Mar 2022, 07:33

    @jsulm Most are solved by "sudo apt-cache search XXX" to find the package names, then "sudo apt-get install XXX" to install them. But location-private and positioning-private are never found.

    parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../
    Project MESSAGE: Qt version 5.12.8
    Project MESSAGE: Linux build
    Project MESSAGE: Daily Build
    Project MESSAGE: QGroundControl v4.1.6
    Project MESSAGE: Release flavor
    Project MESSAGE: Using Default QtLocation headers
    Project MESSAGE: Skipping support for Pairing
    Project MESSAGE: Using MAVLink dialect 'ardupilotmega'.
    Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
    Project MESSAGE: Looking for Airmap in folder "/home/parallels/qgroundcontrol/libs/airmapd", variant: "Qt.5.12"
    Project MESSAGE: Taisync disabled
    Project MESSAGE: Microhard disabled
    Project MESSAGE: Skipping support for video streaming (GStreamer libraries not installed)
    Project MESSAGE: Installation instructions here: https://github.com/mavlink/qgroundcontrol/blob/master/src/VideoReceiver/README.md
    Project ERROR: Unknown module(s) in QT: location-private positioning-private
    parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-cache search location-private
    parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ 
    
    
    J Online
    J Online
    jsulm
    Lifetime Qt Champion
    wrote on 11 Mar 2022, 07:44 last edited by
    #9

    @mchmch Does it help to install qtbase5-private-dev ?

    M 2 Replies Last reply 11 Mar 2022, 07:47
    0
    • J jsulm
      11 Mar 2022, 07:44

      @mchmch Does it help to install qtbase5-private-dev ?

      M Offline
      M Offline
      mchmch
      wrote on 11 Mar 2022, 07:47 last edited by
      #10

      @jsulm said in Project ERROR: Unknown module(s) in QT::

      qtbase5-private-dev

      It doesn't seem to solve the problem.

      
      parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-get install qtbase5-private-dev 
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following additional packages will be installed:
        gir1.2-gudev-1.0 libevdev-dev libgudev-1.0-dev libinput-dev libmtdev-dev libwacom-dev
      Suggested packages:
        libevdev-doc
      The following NEW packages will be installed:
        gir1.2-gudev-1.0 libevdev-dev libgudev-1.0-dev libinput-dev libmtdev-dev libwacom-dev qtbase5-private-dev
      0 upgraded, 7 newly installed, 0 to remove and 101 not upgraded.
      Need to get 1,314 kB of archives.
      After this operation, 11.6 MB of additional disk space will be used.
      Do you want to continue? [Y/n] 
      Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/main arm64 gir1.2-gudev-1.0 arm64 1:233-1 [3,824 B]
      Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/main arm64 libgudev-1.0-dev arm64 1:233-1 [25.8 kB]
      Get:3 https://mirrors.ustc.edu.cn/ubuntu-ports focal/main arm64 libmtdev-dev arm64 1.1.5-1.1 [5,192 B]
      Get:4 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/main arm64 libwacom-dev arm64 1.3-2ubuntu3 [6,968 B]
      Get:5 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/main arm64 libevdev-dev arm64 1.9.0+dfsg-1ubuntu0.1 [47.9 kB]
      Get:6 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/main arm64 libinput-dev arm64 1.15.5-1ubuntu0.2 [29.7 kB]
      Get:7 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/universe arm64 qtbase5-private-dev arm64 5.12.8+dfsg-0ubuntu2.1 [1,195 kB]
      Fetched 1,314 kB in 7s (184 kB/s)                                                                                                  
      Selecting previously unselected package gir1.2-gudev-1.0:arm64.
      (Reading database ... 149228 files and directories currently installed.)
      Preparing to unpack .../0-gir1.2-gudev-1.0_1%3a233-1_arm64.deb ...
      Unpacking gir1.2-gudev-1.0:arm64 (1:233-1) ...
      Selecting previously unselected package libgudev-1.0-dev:arm64.
      Preparing to unpack .../1-libgudev-1.0-dev_1%3a233-1_arm64.deb ...
      Unpacking libgudev-1.0-dev:arm64 (1:233-1) ...
      Selecting previously unselected package libmtdev-dev:arm64.
      Preparing to unpack .../2-libmtdev-dev_1.1.5-1.1_arm64.deb ...
      Unpacking libmtdev-dev:arm64 (1.1.5-1.1) ...
      Selecting previously unselected package libwacom-dev:arm64.
      Preparing to unpack .../3-libwacom-dev_1.3-2ubuntu3_arm64.deb ...
      Unpacking libwacom-dev:arm64 (1.3-2ubuntu3) ...
      Selecting previously unselected package libevdev-dev:arm64.
      Preparing to unpack .../4-libevdev-dev_1.9.0+dfsg-1ubuntu0.1_arm64.deb ...
      Unpacking libevdev-dev:arm64 (1.9.0+dfsg-1ubuntu0.1) ...
      Selecting previously unselected package libinput-dev:arm64.
      Preparing to unpack .../5-libinput-dev_1.15.5-1ubuntu0.2_arm64.deb ...
      Unpacking libinput-dev:arm64 (1.15.5-1ubuntu0.2) ...
      Selecting previously unselected package qtbase5-private-dev:arm64.
      Preparing to unpack .../6-qtbase5-private-dev_5.12.8+dfsg-0ubuntu2.1_arm64.deb ...
      Unpacking qtbase5-private-dev:arm64 (5.12.8+dfsg-0ubuntu2.1) ...
      Setting up libevdev-dev:arm64 (1.9.0+dfsg-1ubuntu0.1) ...
      Setting up libmtdev-dev:arm64 (1.1.5-1.1) ...
      Setting up gir1.2-gudev-1.0:arm64 (1:233-1) ...
      Setting up libgudev-1.0-dev:arm64 (1:233-1) ...
      Setting up libwacom-dev:arm64 (1.3-2ubuntu3) ...
      Setting up libinput-dev:arm64 (1.15.5-1ubuntu0.2) ...
      Setting up qtbase5-private-dev:arm64 (5.12.8+dfsg-0ubuntu2.1) ...
      Processing triggers for man-db (2.9.1-1) ...
      parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../
      Project MESSAGE: Qt version 5.12.8
      Project MESSAGE: Linux build
      Project MESSAGE: Daily Build
      Project MESSAGE: QGroundControl v4.1.6
      Project MESSAGE: Release flavor
      Project MESSAGE: Using Default QtLocation headers
      Project MESSAGE: Skipping support for Pairing
      Project MESSAGE: Using MAVLink dialect 'ardupilotmega'.
      Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
      Project MESSAGE: Looking for Airmap in folder "/home/parallels/qgroundcontrol/libs/airmapd", variant: "Qt.5.12"
      Project MESSAGE: Taisync disabled
      Project MESSAGE: Microhard disabled
      Project MESSAGE: Skipping support for video streaming (GStreamer libraries not installed)
      Project MESSAGE: Installation instructions here: https://github.com/mavlink/qgroundcontrol/blob/master/src/VideoReceiver/README.md
      Project ERROR: Unknown module(s) in QT: location-private positioning-private
      parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ 
      
      
      
      1 Reply Last reply
      0
      • J jsulm
        11 Mar 2022, 07:44

        @mchmch Does it help to install qtbase5-private-dev ?

        M Offline
        M Offline
        mchmch
        wrote on 11 Mar 2022, 08:33 last edited by
        #11

        @jsulm the .pro file in mavlink/qgroundcontrol

        J 1 Reply Last reply 11 Mar 2022, 09:03
        0
        • M Offline
          M Offline
          mchmch
          wrote on 11 Mar 2022, 09:02 last edited by
          #12

          I need to compile QGC on Ubuntu with arm architecture. I installed Ubuntu20.04.02 ARM64 with parallel desktop17 on a MacBook pro with m1 pro CPU, and cloned the QGC repository . For the latest version of QGC, I need to install Qt5.15.2. But I'm a new person on Qt and I don't know how to install Qt5.15.2 on my machine. So I switched to an older version of QGC to compile, which only required Qt5.11+. So there is this topic. I hope to get your help. The ultimate goal is to install a specific version of Qt on my machine. I find it difficult to install Qt on a machine with arm architecture. Do you have any suggestions?

          1 Reply Last reply
          0
          • M mchmch
            11 Mar 2022, 08:33

            @jsulm the .pro file in mavlink/qgroundcontrol

            J Online
            J Online
            jsulm
            Lifetime Qt Champion
            wrote on 11 Mar 2022, 09:03 last edited by
            #13

            @mchmch Sorry, I do not know how to get these private modules from Ubuntu.
            You get them if you install Qt using official Qt Online Installer.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mchmch
              wrote on 11 Mar 2022, 09:46 last edited by
              #14

              I try to build Qt5.15.2 by source code, but everything is OK until “sudo make install"

              collect2: error: ld returned 1 exit status
              make[5]: *** [Makefile:85: ../../../../plugins/imageformats/libqwebp.so] Error 1
              make[5]: Leaving directory '/home/parallels/qt5/qtimageformats/src/plugins/imageformats/webp'
              make[4]: *** [Makefile:138: sub-webp-install_subtargets] Error 2
              make[4]: Leaving directory '/home/parallels/qt5/qtimageformats/src/plugins/imageformats'
              make[3]: *** [Makefile:59: sub-imageformats-install_subtargets] Error 2
              make[3]: Leaving directory '/home/parallels/qt5/qtimageformats/src/plugins'
              make[2]: *** [Makefile:85: sub-plugins-install_subtargets] Error 2
              make[2]: Leaving directory '/home/parallels/qt5/qtimageformats/src'
              make[1]: *** [Makefile:60: sub-src-install_subtargets] Error 2
              make[1]: Leaving directory '/home/parallels/qt5/qtimageformats'
              make: *** [Makefile:282: module-qtimageformats-install_subtargets] Error 2
              
              
              J 1 Reply Last reply 11 Mar 2022, 10:17
              0
              • M mchmch
                11 Mar 2022, 09:46

                I try to build Qt5.15.2 by source code, but everything is OK until “sudo make install"

                collect2: error: ld returned 1 exit status
                make[5]: *** [Makefile:85: ../../../../plugins/imageformats/libqwebp.so] Error 1
                make[5]: Leaving directory '/home/parallels/qt5/qtimageformats/src/plugins/imageformats/webp'
                make[4]: *** [Makefile:138: sub-webp-install_subtargets] Error 2
                make[4]: Leaving directory '/home/parallels/qt5/qtimageformats/src/plugins/imageformats'
                make[3]: *** [Makefile:59: sub-imageformats-install_subtargets] Error 2
                make[3]: Leaving directory '/home/parallels/qt5/qtimageformats/src/plugins'
                make[2]: *** [Makefile:85: sub-plugins-install_subtargets] Error 2
                make[2]: Leaving directory '/home/parallels/qt5/qtimageformats/src'
                make[1]: *** [Makefile:60: sub-src-install_subtargets] Error 2
                make[1]: Leaving directory '/home/parallels/qt5/qtimageformats'
                make: *** [Makefile:282: module-qtimageformats-install_subtargets] Error 2
                
                
                J Online
                J Online
                jsulm
                Lifetime Qt Champion
                wrote on 11 Mar 2022, 10:17 last edited by
                #15

                @mchmch Why do you want to build Qt by yourself instead of downloading the online installer and installing the version you need?

                M 1 Reply Last reply 11 Mar 2022, 12:12
                0
                • J jsulm
                  11 Mar 2022, 10:17

                  @mchmch Why do you want to build Qt by yourself instead of downloading the online installer and installing the version you need?

                  M Offline
                  M Offline
                  mchmch
                  wrote on 11 Mar 2022, 12:12 last edited by
                  #16

                  @jsulm online installer ? it didn't work, I don't know why.

                  now I can build the qt5 on my computer, but I don't know how to use it if I don't install it. Building_Qt_5_from_Git

                  f9735f8e-8485-4b65-8958-9093e5319baf-image.png

                  J 1 Reply Last reply 11 Mar 2022, 12:32
                  0
                  • M mchmch
                    11 Mar 2022, 12:12

                    @jsulm online installer ? it didn't work, I don't know why.

                    now I can build the qt5 on my computer, but I don't know how to use it if I don't install it. Building_Qt_5_from_Git

                    f9735f8e-8485-4b65-8958-9093e5319baf-image.png

                    J Online
                    J Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on 11 Mar 2022, 12:32 last edited by
                    #17

                    @mchmch said in Project ERROR: Unknown module(s) in QT::

                    it didn't work, I don't know why

                    What happened?
                    Building Qt isn't trivial. You should really try to install using the online or offline installer.

                    "now I can build the qt5 on my computer" - like described in the link you posted. What exactly is the problem?

                    M 2 Replies Last reply 11 Mar 2022, 12:36
                    0
                    • J jsulm
                      11 Mar 2022, 12:32

                      @mchmch said in Project ERROR: Unknown module(s) in QT::

                      it didn't work, I don't know why

                      What happened?
                      Building Qt isn't trivial. You should really try to install using the online or offline installer.

                      "now I can build the qt5 on my computer" - like described in the link you posted. What exactly is the problem?

                      M Offline
                      M Offline
                      mchmch
                      wrote on 11 Mar 2022, 12:36 last edited by
                      #18

                      @jsulm I can't open the .run file, I am sure that everything is under the guiden. I think the problem is that the cpu architecture is different.

                      J 2 Replies Last reply 11 Mar 2022, 12:38
                      0
                      • M mchmch
                        11 Mar 2022, 12:36

                        @jsulm I can't open the .run file, I am sure that everything is under the guiden. I think the problem is that the cpu architecture is different.

                        J Online
                        J Online
                        jsulm
                        Lifetime Qt Champion
                        wrote on 11 Mar 2022, 12:38 last edited by
                        #19
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • M mchmch
                          11 Mar 2022, 12:36

                          @jsulm I can't open the .run file, I am sure that everything is under the guiden. I think the problem is that the cpu architecture is different.

                          J Online
                          J Online
                          jsulm
                          Lifetime Qt Champion
                          wrote on 11 Mar 2022, 12:39 last edited by
                          #20

                          @mchmch OK, I see now that you're on ARM.
                          In this case you have to build Qt by yourself.
                          Then please provide more information: which step from the build explanation does not work?

                          1 Reply Last reply
                          1
                          • J jsulm
                            11 Mar 2022, 12:32

                            @mchmch said in Project ERROR: Unknown module(s) in QT::

                            it didn't work, I don't know why

                            What happened?
                            Building Qt isn't trivial. You should really try to install using the online or offline installer.

                            "now I can build the qt5 on my computer" - like described in the link you posted. What exactly is the problem?

                            M Offline
                            M Offline
                            mchmch
                            wrote on 11 Mar 2022, 13:18 last edited by
                            #21

                            @jsulm now I get the way to Set the Environment Variables, by Qt for Linux/X11 - Building from Source after by the wiki. The wiki didn't tell me how to add the PATH.

                            PATH=/usr/local/Qt-%VERSION%/bin:$PATH
                            export PATH
                            
                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mchmch
                              wrote on 11 Mar 2022, 13:31 last edited by
                              #22

                              @mchmch but now the problem again, and seem to different:

                              parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-get install qtmultimedia5-dev
                              Reading package lists... Done
                              Building dependency tree       
                              Reading state information... Done
                              The following additional packages will be installed:
                                libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5
                              The following NEW packages will be installed:
                                libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 qtmultimedia5-dev
                              0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
                              Need to get 473 kB of archives.
                              After this operation, 2,598 kB of additional disk space will be used.
                              Do you want to continue? [Y/n] 
                              Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5multimedia5 arm64 5.12.8-0ubuntu1 [263 kB]
                              Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5multimediawidgets5 arm64 5.12.8-0ubuntu1 [35.0 kB]
                              Get:3 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5multimediagsttools5 arm64 5.12.8-0ubuntu1 [97.6 kB]
                              Get:4 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5multimediaquick5 arm64 5.12.8-0ubuntu1 [36.5 kB]
                              Get:5 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 qtmultimedia5-dev arm64 5.12.8-0ubuntu1 [41.5 kB]
                              Fetched 473 kB in 1s (417 kB/s)              
                              Selecting previously unselected package libqt5multimedia5:arm64.
                              (Reading database ... 196485 files and directories currently installed.)
                              Preparing to unpack .../libqt5multimedia5_5.12.8-0ubuntu1_arm64.deb ...
                              Unpacking libqt5multimedia5:arm64 (5.12.8-0ubuntu1) ...
                              Selecting previously unselected package libqt5multimediawidgets5:arm64.
                              Preparing to unpack .../libqt5multimediawidgets5_5.12.8-0ubuntu1_arm64.deb ...
                              Unpacking libqt5multimediawidgets5:arm64 (5.12.8-0ubuntu1) ...
                              Selecting previously unselected package libqt5multimediagsttools5:arm64.
                              Preparing to unpack .../libqt5multimediagsttools5_5.12.8-0ubuntu1_arm64.deb ...
                              Unpacking libqt5multimediagsttools5:arm64 (5.12.8-0ubuntu1) ...
                              Selecting previously unselected package libqt5multimediaquick5:arm64.
                              Preparing to unpack .../libqt5multimediaquick5_5.12.8-0ubuntu1_arm64.deb ...
                              Unpacking libqt5multimediaquick5:arm64 (5.12.8-0ubuntu1) ...
                              Selecting previously unselected package qtmultimedia5-dev:arm64.
                              Preparing to unpack .../qtmultimedia5-dev_5.12.8-0ubuntu1_arm64.deb ...
                              Unpacking qtmultimedia5-dev:arm64 (5.12.8-0ubuntu1) ...
                              Setting up libqt5multimedia5:arm64 (5.12.8-0ubuntu1) ...
                              Setting up libqt5multimediawidgets5:arm64 (5.12.8-0ubuntu1) ...
                              Setting up libqt5multimediagsttools5:arm64 (5.12.8-0ubuntu1) ...
                              Setting up libqt5multimediaquick5:arm64 (5.12.8-0ubuntu1) ...
                              Setting up qtmultimedia5-dev:arm64 (5.12.8-0ubuntu1) ...
                              Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
                              
                              
                              parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-get install libqt5multimedia5
                              Reading package lists... Done
                              Building dependency tree       
                              Reading state information... Done
                              libqt5multimedia5 is already the newest version (5.12.8-0ubuntu1).
                              libqt5multimedia5 set to manually installed.
                              0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
                              parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ dpkg -L ^C
                              parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ dpkg -L libqt5multimedia5
                              /.
                              /usr
                              /usr/lib
                              /usr/lib/aarch64-linux-gnu
                              /usr/lib/aarch64-linux-gnu/libQt5Multimedia.so.5.12.8
                              /usr/share
                              /usr/share/doc
                              /usr/share/doc/libqt5multimedia5
                              /usr/share/doc/libqt5multimedia5/changelog.Debian.gz
                              /usr/share/doc/libqt5multimedia5/copyright
                              /usr/lib/aarch64-linux-gnu/libQt5Multimedia.so.5
                              /usr/lib/aarch64-linux-gnu/libQt5Multimedia.so.5.12
                              parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../
                              Project MESSAGE: Qt version 5.15.2
                              Project MESSAGE: Linux build
                              Project MESSAGE: Daily Build
                              Project MESSAGE: GIT_DESCRIBE v4.2.0-93-gfb56cb60e
                              Project MESSAGE: QGroundControl APP_VERSION_STR VERSION v4.2.0-93-gfb56cb60e 4.2.0.93
                              Project MESSAGE: Release flavor
                              Project MESSAGE: Skipping support for Pairing
                              Project MESSAGE: Using MAVLink dialect 'ardupilotmega'.
                              Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
                              Project MESSAGE: Including support for AirMap
                              Project MESSAGE: Taisync disabled
                              Project MESSAGE: Microhard disabled
                              collect2 version 9.4.0
                              /usr/bin/ld.gold -plugin /usr/lib/gcc/aarch64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccUndbq3.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie -z now -z relro /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/9 -L/usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/9/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/9/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/aarch64-linux-gnu/9/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/crtn.o
                              Project MESSAGE: Including support for video streaming
                              GNU gold (GNU Binutils for Ubuntu 2.34) 1.16
                              Copyright (C) 2020 Free Software Foundation, Inc.
                              This program is free software; you may redistribute it under the terms of
                              the GNU General Public License version 3 or (at your option) a later version.
                              This program has absolutely no warranty.
                              Project ERROR: Unknown module(s) in QT: location positioning quickcontrols2 texttospeech multimedia location-private positioning-private charts
                              parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ 
                              
                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                mchmch
                                wrote on 11 Mar 2022, 13:56 last edited by
                                #23

                                @jsulm said in Project ERROR: Unknown module(s) in QT::

                                Then please provide more information: which step from the build expla

                                summary:
                                step 1. I follow the wiki :

                                sudo apt-get build-dep qt5-default
                                sudo apt-get install libxcb-xinerama0-dev
                                
                                sudo apt-get install build-essential perl python git
                                
                                sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
                                
                                sudo apt-get install flex bison gperf libicu-dev libxslt-dev ruby
                                
                                sudo apt-get install libxcursor-dev libxcomposite-dev libxdamage-dev libxrandr-dev libxtst-dev libxss-dev libdbus-1-dev libevent-dev libfontconfig1-dev libcap-dev libpulse-dev libudev-dev libpci-dev libnss3-dev libasound2-dev libegl1-mesa-dev gperf bison nodejs
                                
                                sudo apt-get install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev
                                
                                
                                git clone https://code.qt.io/qt/qt5.git
                                cd qt5
                                git checkout 5.15.2
                                
                                perl init-repository
                                
                                git submodule update --init --recursive                     
                                
                                ./configure
                                
                                make -j8
                                
                                sudo make install -j8
                                
                                PATH=/usr/local/Qt-%VERSION%/bin:$PATH
                                export PATH
                                
                                
                                

                                and now I can see that :

                                parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake -v
                                QMake version 3.1
                                Using Qt version 5.15.2 in /usr/local/Qt-5.15.2/lib
                                
                                

                                step 2. cd to build to make ../

                                parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../
                                Project MESSAGE: Qt version 5.15.2
                                Project MESSAGE: Linux build
                                Project MESSAGE: Daily Build
                                Project MESSAGE: GIT_DESCRIBE v4.2.0-93-gfb56cb60e
                                Project MESSAGE: QGroundControl APP_VERSION_STR VERSION v4.2.0-93-gfb56cb60e 4.2.0.93
                                Project MESSAGE: Release flavor
                                Project MESSAGE: Skipping support for Pairing
                                Project MESSAGE: Using MAVLink dialect 'ardupilotmega'.
                                Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
                                Project MESSAGE: Including support for AirMap
                                Project MESSAGE: Taisync disabled
                                Project MESSAGE: Microhard disabled
                                collect2 version 9.4.0
                                /usr/bin/ld.gold -plugin /usr/lib/gcc/aarch64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAYPKZU.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie -z now -z relro /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/9 -L/usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/9/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/9/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/aarch64-linux-gnu/9/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/crtn.o
                                Project MESSAGE: Including support for video streaming
                                GNU gold (GNU Binutils for Ubuntu 2.34) 1.16
                                Copyright (C) 2020 Free Software Foundation, Inc.
                                This program is free software; you may redistribute it under the terms of
                                the GNU General Public License version 3 or (at your option) a later version.
                                This program has absolutely no warranty.
                                Project ERROR: Unknown module(s) in QT: location positioning quickcontrols2 texttospeech multimedia location-private positioning-private charts
                                parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ 
                                
                                

                                it can't fix by sudo apt-get install XXX for unknow modules xxx. By the way ,before I install Qt15.5.2, the output of "qmake -v" is

                                parallels@ubuntu-linux-20-04-desktop:~/qt5$ qmake -v
                                QMake version 3.1
                                Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu
                                parallels@ubuntu-linux-20-04-desktop:~/qt5$ PATH=/usr/local/Qt-5.15.2/bin/:$PATH
                                parallels@ubuntu-linux-20-04-desktop:~/qt5$ export PATH
                                parallels@ubuntu-linux-20-04-desktop:~/qt5$ echo $PATH
                                /usr/local/Qt-5.15.2/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
                                parallels@ubuntu-linux-20-04-desktop:~/qt5$ qmake -v
                                QMake version 3.1
                                Using Qt version 5.15.2 in /usr/local/Qt-5.15.2/lib
                                
                                

                                and in the make && sudo make install, everything is ok!!!

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  mchmch
                                  wrote on 11 Mar 2022, 14:18 last edited by
                                  #24

                                  @mchmch said in Project ERROR: Unknown module(s) in QT::

                                  Project ERROR: Unknown module(s) in QT: location

                                  modules seem to be increct install:

                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ dpkg -L libqt5multimedia5
                                  /.
                                  /usr
                                  /usr/lib
                                  /usr/lib/aarch64-linux-gnu
                                  /usr/lib/aarch64-linux-gnu/libQt5Multimedia.so.5.12.8
                                  /usr/share
                                  /usr/share/doc
                                  /usr/share/doc/libqt5multimedia5
                                  /usr/share/doc/libqt5multimedia5/changelog.Debian.gz
                                  /usr/share/doc/libqt5multimedia5/copyright
                                  /usr/lib/aarch64-linux-gnu/libQt5Multimedia.so.5
                                  /usr/lib/aarch64-linux-gnu/libQt5Multimedia.so.5.12
                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ which qmake
                                  /usr/local/Qt-5.15.2/bin//qmake
                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ ls -l /usr/local/Qt-5.15.2/bin//qmake
                                  -rwxr-xr-x 1 root root 28984288 Mar 11 19:55 /usr/local/Qt-5.15.2/bin//qmake
                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ dpkg -l|grep qt5|grep qmake
                                  ii  qt5-qmake:arm64                            5.12.8+dfsg-0ubuntu2.1              arm64        Qt 5 qmake Makefile generator tool
                                  ii  qt5-qmake-bin                              5.12.8+dfsg-0ubuntu2.1              arm64        Qt 5 qmake Makefile generator tool — binary file
                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ qtchooser -list-versions
                                  4
                                  5
                                  default
                                  qt4-aarch64-linux-gnu
                                  qt4
                                  qt5-aarch64-linux-gnu
                                  qt5
                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ qtchooser -print-env
                                  QT_SELECT="default"
                                  QTTOOLDIR="/usr/lib/qt5/bin"
                                  QTLIBDIR="/usr/lib/aarch64-linux-gnu"
                                  parallels@ubuntu-linux-20-04-desktop:~/qt5$ 
                                  
                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on 12 Mar 2022, 20:59 last edited by
                                    #25

                                    Hi,

                                    How is searching for QtMultimedia related to the location module missing ?

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

                                    M 1 Reply Last reply 13 Mar 2022, 06:02
                                    0
                                    • SGaistS SGaist
                                      12 Mar 2022, 20:59

                                      Hi,

                                      How is searching for QtMultimedia related to the location module missing ?

                                      M Offline
                                      M Offline
                                      mchmch
                                      wrote on 13 Mar 2022, 06:02 last edited by
                                      #26

                                      @SGaist didn't work

                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on 13 Mar 2022, 20:23 last edited by
                                        #27

                                        What did not work ?

                                        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

                                        18/27

                                        11 Mar 2022, 12:36

                                        • Login

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