Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search for modules in extensions directory #838

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tsteven4
Copy link
Contributor

This allows install-qt to find and install qtwebengine on mac, windows, linux, linux_arm64 with 6.8.0. It may work with qtpdf as well.

However, list-qt doesn't find qtwebengine. I suspect there are other deficiencies.

This is related to #803, #818, #824.

I don't expect this PR to be merged as is, but I offer it

Note that 6.8.1 is expected to release in a few days.

@Kidev
Copy link

Kidev commented Nov 27, 2024

I work on something similar, check out if interested. To make it easier for users, I chose to add all extensions recently moved from modules (Qt 6.8.x) as modules again. So I can do this:

❯ aqt install-qt windows desktop 6.8.0 win64_msvc2022_64 --modules qtpdf

INFO    : aqtinstall(aqt) v0.1.dev1808 on Python 3.12.7 [CPython GCC 14.2.1 20240910]
INFO    : Found Qt module 'qtpdf' as an extension package
INFO    : Downloading qtdeclarative...
INFO    : Downloading qttools...
INFO    : Downloading qtbase...
INFO    : Redirected: ftp.nluug.nl
INFO    : Redirected: ftp.nluug.nl
INFO    : Redirected: ftp.nluug.nl
INFO    : Downloading qtsvg...
INFO    : Redirected: ftp.nluug.nl
INFO    : Finished installation of qtsvg-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-X86_64.7z in 1.49535746
INFO    : Downloading qttranslations...
INFO    : Redirected: ftp.nluug.nl
INFO    : Finished installation of qttranslations-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-X86_64.7z in 1.33899585
INFO    : Finished installation of qttools-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-X86_64.7z in 3.02215024
INFO    : Downloading d3dcompiler_47...
INFO    : Downloading opengl32sw...
INFO    : Redirected: ftp.nluug.nl
INFO    : Redirected: ftp.nluug.nl
INFO    : Finished installation of d3dcompiler_47-x64.7z in 1.21342271
INFO    : Downloading qtpdf...
INFO    : Redirected: ftp.nluug.nl
INFO    : Finished installation of opengl32sw-64-mesa_11_2_2-signed_sha256.7z in 1.78652537
INFO    : Finished installation of qtbase-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-X86_64.7z in 5.04131050
INFO    : Finished installation of qtpdf-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-X86_64.7z in 1.97751888

It is building on top of my PR #837 that fixes WASM for Qt 6.7+, and that fixes the issues with the new Qt version notation (#817). Its still very experimental, but its there: https://github.com/Kidev/aqtinstall/tree/semver

I also wrote this to handle extensions of Qt, it creates a tree of the archives that look like this, very handy: https://gist.github.com/Kidev/88983efd917032dddd044de115cfab65

@tsteven4
Copy link
Contributor Author

I added support for "list-qt --modules" and "list-qt --long-modules".

"list-qt --modules" and install-qt are working with qtwebengine and qtpdf in CI on windows and macos with 6.2.4, 6.5.3, and 6.8.0. There is a gpsbabel branch running CI that uses an aqt branch that currently matches this PR to install Qt.

@miurahr miurahr self-requested a review November 30, 2024 03:37
@miurahr miurahr added the enhancement New feature or request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants