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

Select the version of qtifw tool to download #38

Closed
batcaveMessi opened this issue Apr 18, 2024 · 5 comments
Closed

Select the version of qtifw tool to download #38

batcaveMessi opened this issue Apr 18, 2024 · 5 comments

Comments

@batcaveMessi
Copy link

batcaveMessi commented Apr 18, 2024

I am using github actions to get the qt and its ifw tools using below actions
- name: Install qt uses: jurplel/install-qt-action@v3 with: dir: '${{ github.workspace }}/qt/' cache: 'true' aqtversion: '==3.1.*' version: ${{ inputs.qt_version }} host: 'windows' target: 'desktop' arch: 'win64_msvc2019_64' modules: 'qt3d qt5compat qtwebview qtshadertools' archives: 'qttranslations qttools qtsvg qtdeclarative qtbase d3dcompiler_47' tools: 'tools_ifw'
This worked totally fine until couple of weeks ago. QT updated the ifw version to 4.7 from 4.6 and I had the 4.6 as hardcoded path in my system. Since the update, action downloaded 4.7 and due to this mismatch builds started failing.

I wanted to ask if its possible to specify the ifw version as well in the action itself so that we know which version of IFW is installed on the system?

@ddalcino
Copy link
Owner

This issue is already tracked in aqtinstall here:

miurahr/aqtinstall#693

@pzhlkj6612
Copy link

Hi.

if its possible to specify the ifw version as well in the action itself so that we know which version of IFW is installed on the system?

The ifw version is controlled by Qt and there is only one version of ifw on their site, so I think it's impossible to specify the version number. In addition, Qt guys may even modify the file structure [1], so only relying on a version number is not such reliable.

[1] in the archive https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/tools_ifw/qt.tools.ifw.XXX/XXXifw-win-x86.7z

Btw, you can format your YAML file with the ``` block (Creating and highlighting code blocks § Creating and highlighting code blocks - GitHub Docs).

@batcaveMessi
Copy link
Author

Hi.

if its possible to specify the ifw version as well in the action itself so that we know which version of IFW is installed on the system?

The ifw version is controlled by Qt and there is only one version of ifw on their site, so I think it's impossible to specify the version number. In addition, Qt guys may even modify the file structure [1], so only relying on a version number is not such reliable.

[1] in the archive https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/tools_ifw/qt.tools.ifw.XXX/XXXifw-win-x86.7z

Btw, you can format your YAML file with the ``` block (Creating and highlighting code blocks § Creating and highlighting code blocks - GitHub Docs).

The last time I checked - which was 2 weeks ago - they still had 4.6, that is why I wanted to specify the ifw version just like the way we specify qt version.

@ddalcino
Copy link
Owner

The Qt repo maintainers update the tool versions automatically, whenever they have a new version ready, and they remove the old one. If your CI action uses a path to one of the IFW tools, and that path includes a version number like '4.6', you'll need to change that number to a glob star (*) if you don't want your action to break every few months.

@batcaveMessi
Copy link
Author

https://download.qt.io/official_releases/qt-installer-framework/ I found both 4.6 and 4.7 here

I see that the URLs are different. I am not sure what is the idea behind it but it is rather confusing when IFW can be downloaded from 2 different URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants