-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CI doesn't fail when QML GUI is not loadable #12266
Comments
QML work is continued in 2.6 |
Note to anyone willing to fix QML on Windows (and Mac?) - In order to make it run in #14360, I had to use &"${env:MIXXX_VCPKG_ROOT}\installed\x64-windows-release\tools\Qt6\bin\windeployqt6.exe" ./mixxx.exe --dir . --libdir bin --plugindir plugins --qml-deploy-dir qml --qmldir ../res/qml/ |
I just tried |
Weird, it doesn't work out of the box for me on my Win 11 VM. Are you using Ninja as generator on CMake? |
Yes I use Ninja, everything is default, no settings modified. Runs from both, build and install directory. |
Right, I think that's my problem - I'm using Visual Studio generator |
Just run |
Yeah that's what I do but it doesn't work and always needed a lot of tinkering. It also seems to default the Visual Studio generator |
Do you build with IDE or from command line? |
Command line - Just retried on a fresh machine - It compiles with
|
Do you use the correct shell |
I use the PowerShell version. Could that be the problem? I thought there would be interchangeable? |
No, only this particular shell works (or the equivalent with suffix 2022 if you use VS 2022). |
Ah sorry, I gave too much expectation in Microsoft again... Let me try with this
|
It has nothing to do with cmd.exe vs. PowerShell. It's about the development toolchain you want to use. You can install many parallel versions of VS on your system and all the pathes and settings depend only on the shell you use. On CI we have an extra step to configure the plain PowerShell called "[Windows] Set up MSVC Developer Command Prompt". |
Good to know
Yeah that makes sense, I just wrongly assumed that both shell (CMD and PS) available when you typed
Right, now I get the full picture. Mind blowing you would need to run some beefy Javscript to get your shell to work, but I guess I haven't used Windows for a while so I forgot all about its simplicity |
Bug Description
Currently the QML user interface is not loadable on Windows (and most likely on macOS too), but our CI builds doesn't detect this.
Version
Main
OS
Windows 11
The text was updated successfully, but these errors were encountered: