Project ERROR: Unknown module(s) in QT:
-
In a new ubuntu20.04, I have:
sudo apt-get install qt5-default
sudo apt-get install build-essentialparallels@ubuntu-linux-20-04-desktop:~$ sudo apt-get install qt5-default
[sudo] password for parallels:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
qt5-default
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 24.4 kB of archives.
After this operation, 170 kB of additional disk space will be used.
Get:1 https://mirrors.aliyun.com/ubuntu-ports focal-updates/universe arm64 qt5-default arm64 5.12.8+dfsg-0ubuntu2.1 [24.4 kB]
Fetched 24.4 kB in 5s (4,597 B/s)
Selecting previously unselected package qt5-default:arm64.
(Reading database ... 224192 files and directories currently installed.)
Preparing to unpack .../qt5-default_5.12.8+dfsg-0ubuntu2.1_arm64.deb ...
Unpacking qt5-default:arm64 (5.12.8+dfsg-0ubuntu2.1) ...
Setting up qt5-default:arm64 (5.12.8+dfsg-0ubuntu2.1) ...but when I qmake ../ , the output is :
parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../
Project MESSAGE: Qt version 5.12.8
Project MESSAGE: Linux build
/usr/bin/ccache
Project MESSAGE: Found ccache, enabling
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: Including support for video streaming
Project ERROR: Unknown module(s) in QT: location opengl positioning qml quick quickcontrols2 quickwidgets svg texttospeech multimedia serialport location-private positioning-private charts x11extras waylandclient
parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake -v
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu
parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ -
parallels@ubuntu-linux-20-04-desktop:~/Downloads/qgroundcontrol/build$ sudo apt-get install libqt5location5
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt5location5 is already the newest version (5.12.8+dfsg-0ubuntu1).
libqt5location5 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
parallels@ubuntu-linux-20-04-desktop:~/Downloads/qgroundcontrol/build$ qmake ../
Project MESSAGE: Qt version 5.12.8
Project MESSAGE: Linux build
Project MESSAGE: Daily Build
Project MESSAGE: QGroundControl Development HEAD:8e841773f 2020-12-02 10:07:12 -0800
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/Downloads/qgroundcontrol/libs/airmapd", variant: "Qt.5.12"
Project MESSAGE: Taisync disabled
Project MESSAGE: Microhard disabled
Project MESSAGE: Including support for video streaming
Project ERROR: Unknown module(s) in QT: location positioning quickcontrols2 svg texttospeech multimedia serialport location-private positioning-private charts x11extras waylandclient -
I'am a new person about linux and qt. I restall a new ubuntu to do it again, but I don't know why:
parallels@ubuntu-linux-20-04-desktop:~$ sudo gedit /etc/apt/sources.list [sudo] password for parallels: (gedit:3521): Tepl-WARNING **: 14:26:17.475: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata. parallels@ubuntu-linux-20-04-desktop:~$ sudo apt-get update Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal InRelease [265 kB] Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal InRelease [265 kB] ... Get:227 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse arm64 c-n-f Metadata [116 B] Fetched 83.6 MB in 45s (1,866 kB/s) Reading package lists... Done parallels@ubuntu-linux-20-04-desktop:~$ sudo apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: git-man liberror-perl Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man liberror-perl 0 upgraded, 3 newly installed, 0 to remove and 109 not upgraded. Need to get 5,254 kB of archives. After this operation, 37.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 liberror-perl all 0.17029-1 [26.5 kB] ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.25.1-1ubuntu3.2_arm64.deb ... Unpacking git (1:2.25.1-1ubuntu3.2) ... Setting up liberror-perl (0.17029-1) ... Setting up git-man (1:2.25.1-1ubuntu3.2) ... Setting up git (1:2.25.1-1ubuntu3.2) ... Processing triggers for man-db (2.9.1-1) ... parallels@ubuntu-linux-20-04-desktop:~$ sudo apt install qt5-default Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libdouble-conversion3 libegl-dev libegl1 libgl-dev libgl1 libgles2 libglu1-mesa-dev libglvnd0 libglx-dev libglx0 libpcre2-16-0 libpthread-stubs0-dev libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5widgets5 libqt5xml5 libvulkan-dev libx11-dev libxau-dev libxcb-xinerama0 libxcb-xinput0 libxcb1-dev libxdmcp-dev libxext-dev qt5-gtk-platformtheme qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser qttranslations5-l10n x11proto-core-dev x11proto-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev Suggested packages: qt5-image-formats-plugins qtwayland5 libx11-doc libxcb-doc libxext-doc default-libmysqlclient-dev firebird-dev libpq-dev libsqlite3-dev unixodbc-dev The following NEW packages will be installed: libdouble-conversion3 libegl-dev libgl-dev libglu1-mesa-dev libglx-dev libpcre2-16-0 libpthread-stubs0-dev libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5widgets5 libqt5xml5 libvulkan-dev libx11-dev libxau-dev libxcb-xinerama0 libxcb-xinput0 libxcb1-dev libxdmcp-dev libxext-dev qt5-default qt5-gtk-platformtheme qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser qttranslations5-l10n x11proto-core-dev x11proto-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev The following packages will be upgraded: libegl1 libgl1 libgles2 libglvnd0 libglx0 5 upgraded, 42 newly installed, 0 to remove and 104 not upgraded. Need to get 15.4 MB of archives. After this operation, 83.9 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libdouble-conversion3 arm64 3.1.5-4ubuntu1 [34.2 kB] Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/main arm64 libpcre2-16-0 arm64 10.34-7 [156 kB] ... Get:45 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/universe arm64 qt5-default arm64 5.12.8+dfsg-0ubuntu2.1 [24.4 kB] Get:46 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/universe arm64 qt5-gtk-platformtheme arm64 5.12.8+dfsg-0ubuntu2.1 [118 kB] Get:47 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 qttranslations5-l10n all 5.12.8-0ubuntu1 [1,486 kB] Fetched 15.4 MB in 2s (9,266 kB/s) Extracting templates from packages: 100% Selecting previously unselected package libdouble-conversion3:arm64. (Reading database ... 142293 files and directories currently installed.) Preparing to unpack .../00-libdouble-conversion3_3.1.5-4ubuntu1_arm64.deb ... Unpacking libdouble-conversion3:arm64 (3.1.5-4ubuntu1) ... Selecting previously unselected package libpcre2-16-0:arm64. Preparing to unpack .../01-libpcre2-16-0_10.34-7_arm64.deb ... ... Preparing to unpack .../44-qt5-default_5.12.8+dfsg-0ubuntu2.1_arm64.deb ... Unpacking qt5-default:arm64 (5.12.8+dfsg-0ubuntu2.1) ... Selecting previously unselected package qt5-gtk-platformtheme:arm64. Preparing to unpack .../45-qt5-gtk-platformtheme_5.12.8+dfsg-0ubuntu2.1_arm64.deb ... Unpacking qt5-gtk-platformtheme:arm64 (5.12.8+dfsg-0ubuntu2.1) ... Selecting previously unselected package qttranslations5-l10n. Preparing to unpack .../46-qttranslations5-l10n_5.12.8-0ubuntu1_all.deb ... Unpacking qttranslations5-l10n (5.12.8-0ubuntu1) ... Setting up libdouble-conversion3:arm64 (3.1.5-4ubuntu1) ... Setting up libvulkan-dev:arm64 (1.2.131.2-1) ... Setting up libxcb-xinput0:arm64 (1.14-2) ... ... Setting up qt5-default:arm64 (5.12.8+dfsg-0ubuntu2.1) ... Setting up libqt5opengl5-dev:arm64 (5.12.8+dfsg-0ubuntu2.1) ... parallels@ubuntu-linux-20-04-desktop:~$ cd qgroundcontrol/ parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ git checkout Stable_V4.1 Branch 'Stable_V4.1' set up to track remote branch 'Stable_V4.1' from 'origin'. Switched to a new branch 'Stable_V4.1' parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ git submodule update --init --recursive Submodule 'libs/OpenSSL/android_openssl' (https://github.com/Auterion/android_openssl) registered for path 'libs/OpenSSL/android_openssl' Submodule 'libs/mavlink/include/mavlink/v2.0' (https://github.com/mavlink/c_library_v2.git) registered for path 'libs/mavlink/include/mavlink/v2.0' Submodule 'libs/qmlglsink/gst-plugins-good' (https://github.com/mavlink/gst-plugins-good.git) registered for path 'libs/qmlglsink/gst-plugins-good' Submodule 'src/GPS/Drivers' (https://github.com/PX4/GpsDrivers.git) registered for path 'src/GPS/Drivers' Submodule path 'libs/OpenSSL/android_openssl': checked out '3aaff1bd9e35047abdb363239bb3e3c114d07ea1' Submodule path 'libs/mavlink/include/mavlink/v2.0': checked out '5637057af5ab8ec5667e3f8e5f8c73d3bc60eed8' Submodule path 'libs/qmlglsink/gst-plugins-good': checked out '9d782fad9dc0384ba86ecae64511c193f6149f93' Submodule path 'src/GPS/Drivers': checked out '5afc11588b2b6ec0861ecf9ef673c7a9e2109129' parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ mkdir build parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ cd build/ parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake -v QMake version 3.1 Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../ Info: creating stash file /home/parallels/qgroundcontrol/build/.qmake.stash 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: sdl2 development package not found parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-get install libsdl2-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libasound2-dev libblkid-dev libblkid1 libdbus-1-dev libegl1-mesa-dev libffi-dev libgl1-mesa-dev libgles-dev libgles1 libgles2-mesa-dev libglib2.0-dev libglib2.0-dev-bin libglvnd-dev libibus-1.0-dev libice-dev libmount-dev libmount1 libopengl-dev libopengl0 libpcre16-3 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpulse-dev libsdl2-2.0-0 libselinux1-dev libsepol1-dev libsm-dev libsndio-dev libsndio7.0 libudev-dev libuuid1 libwayland-bin libwayland-dev libxcursor-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxrender-dev libxss-dev libxss1 libxt-dev libxv-dev libxxf86vm-dev python3-distutils uuid-dev x11proto-input-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev Suggested packages: libasound2-doc libgirepository1.0-dev libglib2.0-doc libxml2-utils libice-doc libsm-doc sndiod libwayland-doc libxt-doc The following NEW packages will be installed: libasound2-dev libblkid-dev libdbus-1-dev libegl1-mesa-dev libffi-dev libgl1-mesa-dev libgles-dev libgles1 libgles2-mesa-dev libglib2.0-dev libglib2.0-dev-bin libglvnd-dev libibus-1.0-dev libice-dev libmount-dev libopengl-dev libopengl0 libpcre16-3 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpulse-dev libsdl2-2.0-0 libsdl2-dev libselinux1-dev libsepol1-dev libsm-dev libsndio-dev libsndio7.0 libudev-dev libwayland-bin libwayland-dev libxcursor-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxrender-dev libxss-dev libxss1 libxt-dev libxv-dev libxxf86vm-dev python3-distutils uuid-dev x11proto-input-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev The following packages will be upgraded: libblkid1 libmount1 libuuid1 3 upgraded, 53 newly installed, 0 to remove and 101 not upgraded. Need to get 6,969 kB of archives. After this operation, 39.9 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-updates/main arm64 libblkid1 arm64 2.34-0.1ubuntu9.3 [129 kB] Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/main arm64 libmount1 arm64 2.34-0.1ubuntu9.3 [140 kB] Get:3 https://mirrors.ustc.edu.cn/ubuntu-ports focal-updates/main arm64 libuuid1 arm64 2.34-0.1ubuntu9.3 [19.3 kB] ... Get:55 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main arm64 libgles2-mesa-dev arm64 21.2.6-0ubuntu0.1~20.04.2 [6,424 B] Get:56 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main arm64 libgl1-mesa-dev arm64 21.2.6-0ubuntu0.1~20.04.2 [6,420 B] Fetched 6,969 kB in 3s (2,669 kB/s) Extracting templates from packages: 100% (Reading database ... 145848 files and directories currently installed.) Preparing to unpack .../libblkid1_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking libblkid1:arm64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9.1) ... Setting up libblkid1:arm64 (2.34-0.1ubuntu9.3) ... (Reading database ... 145848 files and directories currently installed.) ... Unpacking x11proto-xf86vidmode-dev (2019.2-1ubuntu1) ... Selecting previously unselected package libxxf86vm-dev:arm64. Preparing to unpack .../51-libxxf86vm-dev_1%3a1.1.4-1build1_arm64.deb ... Unpacking libxxf86vm-dev:arm64 (1:1.1.4-1build1) ... Selecting previously unselected package libsdl2-dev:arm64. Preparing to unpack .../52-libsdl2-dev_2.0.10+dfsg1-3_arm64.deb ... Unpacking libsdl2-dev:arm64 (2.0.10+dfsg1-3) ... Setting up python3-distutils (3.8.10-0ubuntu1~20.04) ... Setting up libpcrecpp0v5:arm64 (2:8.39-12build1) ... Setting up libglib2.0-dev-bin (2.64.6-1~ubuntu20.04.4) ... Setting up libpcre16-3:arm64 (2:8.39-12build1) ... Setting up libice-dev:arm64 (2:1.0.10-0ubuntu1) ... Setting up libsm-dev:arm64 (2:1.2.3-1) ... Setting up x11proto-randr-dev (2019.2-1ubuntu1) ... ... Setting up libgles2-mesa-dev:arm64 (21.2.6-0ubuntu0.1~20.04.2) ... Setting up libglib2.0-dev:arm64 (2.64.6-1~ubuntu20.04.4) ... Processing triggers for libglib2.0-0:arm64 (2.64.6-1~ubuntu20.04.4) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for man-db (2.9.1-1) ... Setting up libpulse-dev:arm64 (1:13.99.1-1ubuntu3.13) ... Processing triggers for sgml-base (1.29.1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Setting up libibus-1.0-dev:arm64 (1.5.22-2ubuntu2.1) ... Setting up libsdl2-dev:arm64 (2.0.10+dfsg1-3) ... 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 positioning qml quick quickcontrols2 quickwidgets svg texttospeech multimedia serialport location-private positioning-private charts x11extras waylandclient parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-cache search libqt5lo libqt5location5 - Qt Location module libqt5location5-plugin-mapboxgl - Qt Location module - Mapbox GL plugin libqt5location5-plugins - Qt Location module - geolocation plugins parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ sudo apt-get install libqt5location5 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libqt5positioning5 libqt5positioningquick5 libqt5qml5 libqt5quick5 Suggested packages: qt5-qmltooling-plugins The following NEW packages will be installed: libqt5location5 libqt5positioning5 libqt5positioningquick5 libqt5qml5 libqt5quick5 0 upgraded, 5 newly installed, 0 to remove and 101 not upgraded. Need to get 3,344 kB of archives. After this operation, 14.1 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/universe arm64 libqt5positioning5 arm64 5.12.8+dfsg-0ubuntu1 [177 kB] Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5qml5 arm64 5.12.8-0ubuntu1 [1,340 kB] Get:3 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5quick5 arm64 5.12.8-0ubuntu1 [1,227 kB] Get:4 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5positioningquick5 arm64 5.12.8+dfsg-0ubuntu1 [23.3 kB] Get:5 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5location5 arm64 5.12.8+dfsg-0ubuntu1 [577 kB] Fetched 3,344 kB in 1s (5,604 kB/s) Selecting previously unselected package libqt5positioning5:arm64. (Reading database ... 148070 files and directories currently installed.) Preparing to unpack .../libqt5positioning5_5.12.8+dfsg-0ubuntu1_arm64.deb ... Unpacking libqt5positioning5:arm64 (5.12.8+dfsg-0ubuntu1) ... Selecting previously unselected package libqt5qml5:arm64. Preparing to unpack .../libqt5qml5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5qml5:arm64 (5.12.8-0ubuntu1) ... Selecting previously unselected package libqt5quick5:arm64. Preparing to unpack .../libqt5quick5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5quick5:arm64 (5.12.8-0ubuntu1) ... Selecting previously unselected package libqt5positioningquick5:arm64. Preparing to unpack .../libqt5positioningquick5_5.12.8+dfsg-0ubuntu1_arm64.deb ... Unpacking libqt5positioningquick5:arm64 (5.12.8+dfsg-0ubuntu1) ... Selecting previously unselected package libqt5location5:arm64. Preparing to unpack .../libqt5location5_5.12.8+dfsg-0ubuntu1_arm64.deb ... Unpacking libqt5location5:arm64 (5.12.8+dfsg-0ubuntu1) ... Setting up libqt5positioning5:arm64 (5.12.8+dfsg-0ubuntu1) ... Setting up libqt5qml5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5quick5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5positioningquick5:arm64 (5.12.8+dfsg-0ubuntu1) ... Setting up libqt5location5:arm64 (5.12.8+dfsg-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ cd .. parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ rm -rf build parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5po libqt5positioning5 - Qt Positioning module libqt5positioning5-plugins - Qt Positioning module - position plugins libqt5positioningquick5 - Qt Positioning module - Qt Quick module parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5positioning5 Reading package lists... Done Building dependency tree Reading state information... Done libqt5positioning5 is already the newest version (5.12.8+dfsg-0ubuntu1). libqt5positioning5 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded. parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5qml libqt5qml5 - Qt 5 QML module parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5qml5 Reading package lists... Done Building dependency tree Reading state information... Done libqt5qml5 is already the newest version (5.12.8-0ubuntu1). libqt5qml5 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded. parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5quickcontrols2 libqt5quickcontrols2-5 - Qt 5 Quick Controls 2 library parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5quickcontrols2-5 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libqt5quicktemplates2-5 The following NEW packages will be installed: libqt5quickcontrols2-5 libqt5quicktemplates2-5 0 upgraded, 2 newly installed, 0 to remove and 101 not upgraded. Need to get 376 kB of archives. After this operation, 1,898 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 libqt5quicktemplates2-5 arm64 5.12.8+dfsg-0ubuntu1 [319 kB] Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5quickcontrols2-5 arm64 5.12.8+dfsg-0ubuntu1 [56.2 kB] Fetched 376 kB in 1s (271 kB/s) Selecting previously unselected package libqt5quicktemplates2-5:arm64. (Reading database ... 148106 files and directories currently installed.) Preparing to unpack .../libqt5quicktemplates2-5_5.12.8+dfsg-0ubuntu1_arm64.deb ... Unpacking libqt5quicktemplates2-5:arm64 (5.12.8+dfsg-0ubuntu1) ... Selecting previously unselected package libqt5quickcontrols2-5:arm64. Preparing to unpack .../libqt5quickcontrols2-5_5.12.8+dfsg-0ubuntu1_arm64.deb ... Unpacking libqt5quickcontrols2-5:arm64 (5.12.8+dfsg-0ubuntu1) ... Setting up libqt5quicktemplates2-5:arm64 (5.12.8+dfsg-0ubuntu1) ... Setting up libqt5quickcontrols2-5:arm64 (5.12.8+dfsg-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5quickwidgets libqt5quickwidgets5 - Qt 5 Quick Widgets library parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5quickwidgets5 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libqt5quickwidgets5 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 38.6 kB of archives. After this operation, 172 kB of additional disk space will be used. Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5quickwidgets5 arm64 5.12.8-0ubuntu1 [38.6 kB] Fetched 38.6 kB in 1s (58.8 kB/s) Selecting previously unselected package libqt5quickwidgets5:arm64. (Reading database ... 148118 files and directories currently installed.) Preparing to unpack .../libqt5quickwidgets5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5quickwidgets5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5quickwidgets5:arm64 (5.12.8-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5svg libqt5svg5 - Qt 5 SVG module libqt5svg5-dev - Qt 5 SVG module development files parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5svg5 Reading package lists... Done Building dependency tree Reading state information... Done libqt5svg5 is already the newest version (5.12.8-0ubuntu1). libqt5svg5 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded. parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5texttospeech libqt5texttospeech5 - Speech library for Qt - libraries libqt5texttospeech5-dev - Speech library for Qt - development files parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5texttospeech5 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libqt5texttospeech5 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 19.7 kB of archives. After this operation, 75.8 kB of additional disk space will be used. Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5texttospeech5 arm64 5.12.8-0ubuntu1 [19.7 kB] Fetched 19.7 kB in 0s (41.6 kB/s) Selecting previously unselected package libqt5texttospeech5:arm64. (Reading database ... 148125 files and directories currently installed.) Preparing to unpack .../libqt5texttospeech5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5texttospeech5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5texttospeech5:arm64 (5.12.8-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5multimedia libqt5multimedia5 - Qt 5 Multimedia module libqt5multimedia5-plugins - Qt 5 Multimedia module plugins libqt5multimediagsttools5 - GStreamer tools for Qt 5 Multimedia module libqt5multimediaquick5 - Qt 5 Multimedia Quick module libqt5multimediawidgets5 - Qt 5 Multimedia Widgets module parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5multimedia5 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libqt5multimedia5 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 263 kB of archives. After this operation, 1,277 kB of additional disk space will be used. Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5multimedia5 arm64 5.12.8-0ubuntu1 [263 kB] Fetched 263 kB in 1s (426 kB/s) Selecting previously unselected package libqt5multimedia5:arm64. (Reading database ... 148131 files and directories currently installed.) Preparing to unpack .../libqt5multimedia5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5multimedia5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5multimedia5:arm64 (5.12.8-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5serialport libqt5serialport5 - Qt 5 serial port support libqt5serialport5-dev - Qt 5 serial port development files parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5serialport5 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libqt5serialport5 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 31.3 kB of archives. After this operation, 132 kB of additional disk space will be used. Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5serialport5 arm64 5.12.8-0ubuntu1 [31.3 kB] Fetched 31.3 kB in 0s (90.3 kB/s) Selecting previously unselected package libqt5serialport5:arm64. (Reading database ... 148137 files and directories currently installed.) Preparing to unpack .../libqt5serialport5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5serialport5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5serialport5:arm64 (5.12.8-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-cache search libqt5location-private parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ sudo apt-get install libqt5charts5 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libqt5charts5 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 405 kB of archives. After this operation, 2,081 kB of additional disk space will be used. Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 libqt5charts5 arm64 5.12.8-0ubuntu1 [405 kB] Fetched 405 kB in 0s (914 kB/s) Selecting previously unselected package libqt5charts5:arm64. (Reading database ... 148143 files and directories currently installed.) Preparing to unpack .../libqt5charts5_5.12.8-0ubuntu1_arm64.deb ... Unpacking libqt5charts5:arm64 (5.12.8-0ubuntu1) ... Setting up libqt5charts5:arm64 (5.12.8-0ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ mkdir build parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol$ cd build/ parallels@ubuntu-linux-20-04-desktop:~/qgroundcontrol/build$ qmake ../ Info: creating stash file /home/parallels/qgroundcontrol/build/.qmake.stash 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 positioning qml quick quickcontrols2 quickwidgets svg texttospeech multimedia serialport location-private positioning-private charts x11extras waylandclient
-
@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$
-
@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$
-
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?
-
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
-
@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?