Well I understand the first issue. I first ran the executable in the
build directory. That used defaults for the sound fonts directory path,
which is the build directory and the home directory. It then saved
these as my preferences, so when I changed the working directory, it
overrode that with my preferences, which had the build directory. I
changed my preferences and all is well now.
The second one is still a puzzle. The translation filename is set to
QString lp = mscoreGlobalShare + "locale/" + QString("mscore_") +
localeName;
and that is passed to QTranslator::load, which according to the
documentation,
"Loads /filename/ + /suffix/ (".qm" if the /suffix/ is not specified),
which may be an absolute file name or relative to /directory/. "
So it doesn't find the .ts files, and it appears that the
MuseScore/share/locale/CMakeLists.txt file was correct to use .qm, but
all of the files have the wrong extensions. But no matter how I change
the filenames, I'm not able to change Language in preferences. I always
get failure messages.
Mike
On 9/3/2013 8:35 PM, The Monkowski Family wrote:
In addition to being new to MuseScore, I'm also new to Qt Creator, but
I finally figured out how to set the make target to "install", the Run
Executable to
C:\Users\Mike\Documents\GitHub\MuseScore\win32install\bin\mscore.exe,
and the Run Working Directory to
C:\Users\Mike\Documents\GitHub\MuseScore\win32install, but it still
looks relative to the build directory,
C:/Users/Mike/Documents/GitHub/MuseScore/build.qtc/sound to find
FluidR3_GM2-2.sf3. Fortunately, it also looks in
C:/Users/Mike/Documents/MuseScoreDevelopment/Soundfonts so I copied it
there and that worked.
During the make install, I got the message
CMake Error at share/locale/cmake_install.cmake:31 (FILE):
file INSTALL cannot find
"C:/Users/Mike/Documents/GitHub/MuseScore/share/locale/mscore_af.qm".
Call Stack (most recent call first):
share/cmake_install.cmake:38 (INCLUDE)
cmake_install.cmake:40 (INCLUDE)
The MuseScore/share/locale/CMakeLists.txt file has a list of .qm
files, but the directory is full of .ts files with the same name. I
changed the CMakeLists.txt file to use .ts file types and it was
happy, but I don't know if that was the right fix.
Mike
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer