miurahr / aqtinstall

aqt: Another (unofficial) Qt CLI Installer on multi-platforms
https://aqtinstall.readthedocs.io/en/latest/
MIT License
893 stars 83 forks source link

Only `osm` Qt Locations plugin is downloaded. #704

Closed nrbnlulu closed 10 months ago

nrbnlulu commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. install aqt using this command pip install aqt
  2. run aqt with this command
    aqt install-qt linux desktop 6.5.2 gcc_64 --outputdir /home/nir/MyConnandeps/Qt -m qtwebsockets qtlocation qtpositioning
  3. See error: Only osm plugin is installed image

Expected behavior Qt 6.5.x has implementations for more QtLocations Map plugins... aqt output Add program output to help explain your problem.

INFO    : aqtinstall(aqt) v3.1.7 on Python 3.10.12 [CPython GCC 11.4.0]
INFO    : Downloading qtwebsockets...
INFO    : Downloading qtpositioning...
INFO    : Downloading qtlocation...
INFO    : Downloading qtbase...
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Finished installation of qtpositioning-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 2.26429602
INFO    : Downloading qtsvg...
INFO    : Finished installation of qtlocation-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 2.89303390
INFO    : Finished installation of qtwebsockets-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 3.03936832
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Downloading qtdeclarative...
INFO    : Downloading qttools...
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Finished installation of qtsvg-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 1.95090813
INFO    : Downloading qttranslations...
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Finished installation of qttranslations-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 1.86052592
INFO    : Downloading qtwayland...
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Finished installation of qtbase-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 7.71389994
INFO    : Finished installation of qtwayland-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 1.99751851
INFO    : Downloading icu...
INFO    : Redirected: mirrors.cloud.tencent.com
INFO    : Finished installation of icu-linux-Rhel7.2-x64.7z in 3.25681219
INFO    : Finished installation of qttools-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 10.17726494
INFO    : Finished installation of qtdeclarative-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z in 21.14200374
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/bin/qmake
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6WebSockets.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickTemplates2.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QmlWorkerScript.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6LabsWavefrontMesh.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Concurrent.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Sql.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QmlLocalStorage.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QmlCore.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Core.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6SvgWidgets.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6WaylandClient.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6LabsFolderListModel.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickDialogs2.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickTest.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QmlXmlListModel.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6UiPlugin.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6LabsSharedImage.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Positioning.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Help.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Designer.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6OpenGLWidgets.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Widgets.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickControls2.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickControls2Impl.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Qml.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Location.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Linguist.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6LabsSettings.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickLayouts.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QmlIntegration.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6OpenGL.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickDialogs2Utils.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Xml.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6UiTools.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Network.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QmlModels.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickDialogs2QuickImpl.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6PositioningQuick.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Quick.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6LabsQmlModels.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6DBus.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Gui.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6LabsAnimation.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Platform.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6QuickWidgets.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6PrintSupport.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Svg.pc
INFO    : Patching /home/nir/MyConnandeps/Qt/6.5.2/gcc_64/lib/pkgconfig/Qt6Test.pc
INFO    : Finished installation
INFO    : Time elapsed: 25.28479767 second

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

miurahr commented 10 months ago

What is missing plugin?

You can check the file that is The Qt Foundation distribution. There are two files. https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_652/qt.qt6.652.addons.qtlocation.gcc_64/6.5.2-0-202307080352qtlocation-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z

aqt works as expected because the distribution has two.

If you think it is wrong, please ask Qt project, or your Qt consultant.

There is a manual at https://doc.qt.io/qt-6/qtlocation-index.html that lists three modules. You may want to use mapbox plugin. someone claims Qt 6.5 don't support mapbox in Qt forum at https://forum.qt.io/topic/145009/mapbox-gl-for-qt-6-5

You can find a source tree of plugins, and its commit history at https://code.qt.io/cgit/qt/qtlocation.git/commit/src/plugins/geoservices/CMakeLists.txt?id=1fa828b7aba04fa0c2449b490894ddb409a4e2d9

The commit message at Oct 2022 said

Disable Esri/Nokia/MapBox plugins

As a first step, put them behind feature flags that are always false. Remove mapbox-gl-native as a submodule - there's no reason why people wanting to build that can't clone and build that repo themselves.

Don't test the respective providers unless they are available, and use the osm plugin when testing the basic plugin framework.

Change-Id: I53429878e53294dce52ee830a4b4613f372898c6 Reviewed-by: Qt CI Bot qt_ci_bot@qt-project.org Reviewed-by: Alex Blasche alexander.blasche@qt.io

nrbnlulu commented 10 months ago

Opened a ticket at Qt https://bugreports.qt.io/browse/QTBUG-116512