Windows dev environment
I am trying to set up a dev environment for MuseScore on my Windows 10 box. I already have both VS2019 and VS2022 installed on the machine, and they are updated current. I have been following the directions at the Compile instructions (Windows - MSVC with Qt Creator) page. Though this page is somewhat out of date, I was able to build the dev branch from the command-line by installing Qt 6.4.2 and using msvc2019_64\bin in the batch file given on the web page.
I have also successfully built from within Qt Creator, but when I try to debug it throws up the following error below. I have also included a list of the Issues tab in Qt Creator. There must be some setting(s) that I a missing in Qt.
Thanks
Attachment | Size |
---|---|
Screen Shot 2024-09-20 at 3.37.31 PM.png | 179.74 KB |
Screen Shot 2024-09-20 at 3.36.41 PM.png | 82.31 KB |
Comments
That indeed is outdated, instead try https://github.com/musescore/MuseScore/wiki/Set-up-developer-environment
In reply to That indeed is outdated,… by Jojo-Schmitz
Thanks, that got me well down the road. (I had been looking for those pages, because they were helpful in setting my macOS environment, but Google for some reason insists on returning the older pages on this forum.)
I am attaching a screen shot of my run config. The executable appears in red, which suggests to me that it doesn't like it. When I try to debug the program (which compiles and links without error), it now pops up the error screenshotted below that proves that some this wrong about the executable path.
I am hitting F5 after a complete rebuild, so all it's doing is prepping for debugging. Here is the full script. It looks the the MuseScore4.exe is going to a different directory that that specified. I have modified all the CMAKE_INSTALL_PREFIX values as directed in on the website.
In reply to That indeed is outdated,… by Jojo-Schmitz
I got it working, though I had to completely delete the repo and start from scratch. One of the problems was that I was exceeding the 260-char limit for path names. (For which there is a proper warning in the docs.:lol)