Repository navigation
Window Installer Qt6 fix - #7996
Conversation
…n running TOPP executables on Win10
…?tab=readme-ov-file#arch) to make Qt6 build using the same compiler
WalkthroughThe Windows build workflow configuration was updated to explicitly set the MSVC toolset version to 14.36 and to clarify the mapping between Visual Studio versions and toolset numbers through comments. The workflow also now installs Qt version 6.8.3 instead of 6.7.2 and specifies the architecture as win64_msvc2022_64, aligning the Qt installation with the MSVC 2022 compiler toolset used in the matrix. Additionally, a trailing whitespace line was removed from the CMake package general script without affecting functionality. Changes
Sequence Diagram(s)sequenceDiagram
participant GitHub Actions
participant Windows Runner
participant Qt Installer
GitHub Actions->>Windows Runner: Start workflow with MSVC toolset 14.36
Windows Runner->>Windows Runner: Configure environment for MSVC 2022
Windows Runner->>Qt Installer: Install Qt 6.8.3 (win64_msvc2022_64)
Qt Installer-->>Windows Runner: Qt 6.8.3 installed
Windows Runner->>Windows Runner: Build project with specified toolset and Qt version
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
looks good to me |
|
I'll have GitHub build and installer from this branch and try it out in my Windows 10 VM. |
|
Note that setting a compiler version in our matrix has currently no effect except for visualization in CDash (but maybe that was your goal). But I know that you can choose a toolset version on GHA if you want to implement that. Also note that you might want to set the contrib_compiler_version which is currently on 14.2 if you really want to download a contrib that wasbuilt with the same compiler (not sure if necessary here). And it is also very likely that the contrib build is just mislabeled since the contrib GHA has not been updated in a long while and I doubt the msvc version is extracted from somewhere automatically. |
|
@jpfeuffer Speaking of contrib, is there any reason why we don't build and cache contrib from within the OpenMS action? I was doing that on a branch and I had no problems with it. I also liked that it ensured contrib was built with the same compiler as OpenMS and used the version of contrib from the git submodule instead of what ever happens to be the latest release. |
|
I think mostly time and cache size limits. Although we are caching the download, too, right? |
|
@cbielow I was finally able to build an installer from your branch. The installer still included This is with |
|
Thanks for testing this @pjones . I'm sure there are other projects doing GHA with Qt6. How are they doing it? Can't think of anything else. We could also merge this PR and then look at the nightly installers, just to make sure nothing got lost, since the PR's a bit messy at this point. |
|
Can't we just trigger the Action from this branch and tick "Create package"? Then test the artifacts. |
|
Ah your branch needs to be under the OpenMS fork though. |
|
Let's merge and try on dev. |
|
Upping Qt6 and specifying the same msvc version as in contrib is definitely the right direction. |
|
It finished and the dlls are not in the installer. Everything seems fine. I have no windows to install it however. |
|
Tested an artifact from this morning (https://github.com/OpenMS/OpenMS/actions/runs/14722214620/job/41317969899) on a Win10 VM: Works out of the box. |
|
I can confirm that it's working on my Windows 10 VM as well. Thank you so much @cbielow! |

Description
according to https://github.com/jurplel/install-qt-action?tab=readme-ov-file#arch
the current Qt6 we use ('6.7.2') is build using win64_msvc2015_64, which is probably why we see our GUI tools not starting up when installed using the OpenMS Windows Installer.
This is a jab at using identical compilers for Qt6 and OpenMS.
Nicely complements #7995.
Checklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI buildsSummary by CodeRabbit