MuseScore developer wannabe trying to compile the master branch of MuseScore.
using Qt Creator on Windows 10. I followed the instructions at
https://musescore.org/en/developers-handbook/compilation/compile-instructions-windows-mingw-git
and on starting a debug build, I get 1 Issue: [CmakeFiles/lrelease] Error 1.
I have no idea what the error might be since all I am doing is following a
recipe, have never worked with Qt before and don’t find “Error 1” to be a
helpful error message.
Here’s what I did:

•       7-zip was already installed on my system.
•       I downloaded the Qt Online Installer, selected the checkboxes shown in 
the
instructions and installed Qt and MinGW. In installed Qt in C:\PF86\Qt,
which is a link to C:\Program Files (x86)\Qt.
•       I did not change my %PATH%, choosing to use the Qt.bat file listed 
later.
•       I downloaded Cmake 3.5.2 and installed it in C:\PF86\Cmake. I did not 
add
it to my %PATH%.
•       I cloned MuseScore to E:\MuseScore.
•       I edited E:\MuseScore \build\mingw32.mingw.cmake to correct the path 
from
C:/Qt to C:/PF86/Qt.
•       I  created Qt.bat as described in the instructions, but with the 
necessary
path changes.
•       I installed the 32-bit version of Jack.
•       I downloaded Qt-additions.zip and unpacked it, making sure the files 
wound
up in the right portion of the Qt package (in C:\F86\Qt\Tools\mingw492_32 in
my case).
•       I then followed the instructions for compiling using the Qt Creator IDE:
•       I started the Qt.bat script.
•       I selected File / Open File or Project…
•       I selected the CmakeLists.txt file from the top of the MuseScore folder.
•       I did not get a “pathwizard”, whatever that is.
•       I selected Projects from the sidebar and clicked on Build.
•       I entered E:/MuseScore/build.qtc as the build directory.
•       I clicked on Run Cmake… and ran Cmake with the arguments
-DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=../win32install.
•       I expanded the Build Steps and selected the lrelease target.
•       I clicked on Run at the top.
•       I clicked on Add Deploy Step and selected the install target.
•       I clicked on the Add button for the Run configuration, selected Custom
Process Step and set the executable to
%{sourceDir}\win32install\bin\MuseScore.exe.

That’s all I did for setup. I then selected  Debug / Start Debugging / Start
Debugging and received my single issue of Error 1.
Any help appreciated.




--
View this message in context: 
http://dev-list.musescore.org/Qt-Creator-CmakeFiles-lrelease-Error-1-in-first-compilation-attempt-tp7579826.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to