- Index
- » AUR Issues, Discussion & PKGBUILD Requests
- » [SOLVED] Valentino Project ERROR: Unknown module(s) in QT: xmlpatterns
Pages: 1
#1 2017-06-14 09:28:23
- duyinthee
- Member
- Registered: 2015-06-14
- Posts: 174
[SOLVED] Valentino Project ERROR: Unknown module(s) in QT: xmlpatterns
I am trying to install valentino from AUR https://aur.archlinux.org/packages/valentina/
I am having this error
==> Making package: valentina 0.5.0-1 (Wed Jun 14 15:48:26 +0630 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v0.5.0.zip
==> Validating source files with md5sums...
v0.5.0.zip ... Passed
==> Extracting sources...
-> Extracting v0.5.0.zip with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Project MESSAGE: Unknown GCC configuration
Reading /home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/src.pro
Reading /home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/libs/libs.pro
Reading /home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/libs/qmuparser/qmuparser.pro
Reading /home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/libs/vpropertyexplorer/vpropertyexplorer.pro
Reading /home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/libs/ifc/ifc.pro
Project ERROR: Unknown module(s) in QT: xmlpatterns
==> ERROR: A failure occurred in build().
Aborting...
I googled around about the error
Project ERROR: Unknown module(s) in QT: xmlpatterns
but found no solution.
Last edited by duyinthee (2017-06-16 04:01:25)
#3 2017-06-15 05:35:15
- duyinthee
- Member
- Registered: 2015-06-14
- Posts: 174
Re: [SOLVED] Valentino Project ERROR: Unknown module(s) in QT: xmlpatterns
Yes, right! that dependency is missing.
I install qt5-xmlpatterns and try again but I got another issue here:
compiling stable.h
stable.h:25:81: note: #pragma message: Compiling precompiled headers for VPropertyExplorer library.
ragma message("Compiling precompiled headers for VPropertyExplorer library.n")
^
compiling vproperty.cpp
vproperty.cpp:25:10: fatal error: QForeachContainer: No such file or directory
#include <QForeachContainer>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:801: obj/vproperty.o] Error 1
make[3]: Leaving directory '/home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/libs/vpropertyexplorer'
make[2]: *** [Makefile:83: sub-vpropertyexplorer-make_first] Error 2
make[2]: Leaving directory '/home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src/libs'
make[1]: *** [Makefile:47: sub-libs-make_first] Error 2
make[1]: Leaving directory '/home/***/AUR/valentina/src/dismine-valentina-31c95eadca8b/src'
make: *** [Makefile:46: sub-src-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
#4 2017-06-15 07:58:34
- V1del
- Forum Moderator
- Registered: 2012-10-16
- Posts: 18,304
Re: [SOLVED] Valentino Project ERROR: Unknown module(s) in QT: xmlpatterns
That’s a bug in the code, from a quick glance it has been fixed on hg so you might want to try valentina-hg instead, or apply the corresponding fix to the stable release (which is simply removing all explicit QForeachContainer includes that float around)
#5 2017-06-16 04:00:36
- duyinthee
- Member
- Registered: 2015-06-14
- Posts: 174
Re: [SOLVED] Valentino Project ERROR: Unknown module(s) in QT: xmlpatterns
OK, I got it. I installed valentina-hg. It works well.
Thanks for help…
Last edited by duyinthee (2017-06-16 04:01:52)
This topic has been deleted. Only users with topic management privileges can see it.
In a new ubuntu20.04, I have:
sudo apt-get install qt5-default
sudo apt-get install build-essential
parallels@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$
@mchmch qt5-default does not install all Qt plug-ins. You need to install missing modules also. For example for qtlocation: libqt5location5.
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
@mchmch Delete the build folder and create it again to get rid of all build artefacts from previous build attempts.
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
@mchmch You also need to install the devel packages. For location it is: qtlocation5-dev
Don’t forget to do the same for other missing Qt modules!
@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$
@mchmch Does it help to install qtbase5-private-dev ?
@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?
@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.
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 Why do you want to build Qt by yourself instead of downloading the online installer and installing the version you need?
@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
@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?
@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.
This post is deleted!
@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?
neosapient1
Новичок Offline Сообщений: 10
|
Здравствуйте. Хочу поработать с модулем построения графиков Qt Charts. Создаю новый проект. QT += charts core gui то получаю ошибку Project ERROR: Unknown module(s) in QT: charts Как заставить увидеть Qt Charts? Спасибо. |
||
|
kambala |
может она установилась под какую-то конкретную версию Qt? у тебя их вон 3. |
||
Изучением C++ вымощена дорога в Qt. UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher |
neosapient1
Новичок Offline Сообщений: 10
|
Галки выставлены так, как указано на прикрепленной картинке. |
||
|
kambala |
речь не о галках, там особо нечем управлять. поищи в каких из папок появился модуль. если лишь в одной — тогда проблема ясна. |
||
Изучением C++ вымощена дорога в Qt. UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher |
neosapient1
Новичок Offline Сообщений: 10
|
Я не знаю, как этот модуль должен выглядеть. Смотрел в папке C:Qt5.15.2msvc2015_64bin (и ей подобным ‘msvc2019’ и ‘msvc2019_64’). Там нет библиотек вида Qt5Cahrts.dll (или что там должно быть?) P.S. |
||
|
neosapient1
Новичок Offline Сообщений: 10
|
В итоге поборол сборку файлов Qt5Charts.dll и Qt5Chartsd.dll из исходников. P.S. |
||
|
PimenS
Крякер Сообщений: 363
|
Галки выставлены так, как указано на прикрепленной картинке. Просто нужно было галку Qt Charts выставлять в той ветке для которой уже установлены пакеты. |
||
|
neosapient1
Новичок Offline Сообщений: 10
|
Просто нужно было галку Qt Charts выставлять в той ветке для которой уже установлены пакеты. Ох, проглядел. Есть такая галка. |
||
|