no nightly builds for windows

• May 23, 2013 - 07:00

Once again there are no nighly builds for windows since almost a week, latest is MuseScoreNightly-2013-05-18-1909-cd7698d.7z
As per http://musescore.org/en/developers-handbook/references/development-infr… these should automatically build every hour, if there are new commits. They were plenty in these past days...


Comments

It should be solved. The build process was not sure which branch to merge. I added an IRC notification for successful build and so I should be able to know faster if the build process is stopped.

In reply to by [DELETED] 5

MuseScoreNightly-2013-12-10-1509-d01ef14.7z is incomplete, just 28MB vs. the 44MB of the previous versions and it crashes with an error reg. a missing windows plugin

Edit: fixed with the next nightly

In reply to by schepers

I have no problem building with Qt 5.2.0 (yes, I finally got my own build environment set up! And now I know for sure that I need a new computer, the build took more than 2 hours!).
Did you put include\sndfile.h into C:\Qt\Tools\mingw48_32\i686-w64-mingw32\include, as the developers' handbook states?
Oops, forget about it, I though I built with 5.2.0, but now see that it actually was 5.1.1. I'll try again later...

Also it seems nighly builds are back, I see MuseScoreNightly-2014-01-16-1923-d65c722.7z

In reply to by Jojo-Schmitz

I had numerous issues trying to build with 5.2.0. Most went away after multiple build attempts but it did have one consistent error at the end. When compiling mscore.exe I would get an error about "qt5v8", I don't remember the exact text.

EDIT: Installed Qt5.2.0 at home and built. The error is below. Indeed, I can't find "qt5v8.dll" in the Qt5.2.0 directory but it is in Qt5.1.0.

Linking CXX executable mscore.exe
d:/qt520/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686
-w64-mingw32/bin/ld.exe: cannot find -lQt5V8
collect2.exe: error: ld returned 1 exit status
mscore\CMakeFiles\mscore.dir\build.make:8241: recipe for target 'mscore/mscore.e
xe' failed
mingw32-make[3]: *** [mscore/mscore.exe] Error 1
mingw32-make[3]: Leaving directory 'D:/MSTRUNK/build.release'
CMakeFiles\Makefile2:264: recipe for target 'mscore/CMakeFiles/mscore.dir/all' f
ailed
mingw32-make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
mingw32-make[2]: Leaving directory 'D:/MSTRUNK/build.release'
makefile:135: recipe for target 'all' failed
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory 'D:/MSTRUNK/build.release'
makefile.mingw:27: recipe for target 'release' failed
mingw32-make: *** [release] Error 2

In reply to by Jojo-Schmitz

The dependency to Qt5V8 should be deleted in build/mingw32.mingw.cmake in order for the compilation with Qt5.2.0 to succeed.
See also:
http://dev-list.musescore.org/Qt-5-2-and-MuseScore-td7578529.html

Now precompiled header are disabled by default for Windows build (and that's why the compilation takes a really long time).
Moreover, the Qt5Positioning.dll seems to be needed during installation.
Therefore:
- in mscore/CMakeLists.txt the line ${CROSSQT}/bin/Qt5V8.dll should be deleted and replaced by ${CROSSQT}/bin/Qt5Positioning.dll
- in build/mingw32.mingw.cmake the line Qt5V8 should be deleted
- in build/mingw32.mingw.cmake the path to MinGW and Qt should be adjusted accordingly to the installation of Qt5.2.0 (i.e. the CROSS and CROSSQT variables).
And in principle, after these changes, the compilation and install should work.

Ciao,
ABL

In reply to by ABL

MAC and Linux builds are apparently using Qt 5.2, so no real reason for Windows not to switch to it too, I guess.
I'll try to have a go at it later (working on something else currently and my PC needs some 2 hours for a clean build :-( ), and if I get it to work would submit a PR.
Unless someone else wants to...

In reply to by schepers

{syntaxhighlighter brush:c}
diff --git a/build/mingw32.mingw.cmake b/build/mingw32.mingw.cmake
index 311bcb6..9f18073 100644
--- a/build/mingw32.mingw.cmake
+++ b/build/mingw32.mingw.cmake
@@ -5,7 +5,7 @@
set (CMAKE_SYSTEM_NAME "Windows")

set (CROSS C:/Qt/Tools/mingw48_32)
-set (CROSSQT C:/Qt/5.1.1/mingw48_32)
+set (CROSSQT C:/Qt/5.2.0/mingw48_32)

set (CMAKE_C_COMPILER ${CROSS}/bin/gcc.exe)
set (CMAKE_CXX_COMPILER ${CROSS}/bin/g++.exe)
@@ -47,7 +47,6 @@ set (QT_mingw_LIBRARIES
Qt5Network
Qt5WebKitWidgets
Qt5WebKit
- Qt5V8
Qt5XmlPatterns
Qt5PrintSupport
Qt5Quick
diff --git a/mscore/CMakeLists.txt b/mscore/CMakeLists.txt
index 1cf29d3..2c7c64d 100644
--- a/mscore/CMakeLists.txt
+++ b/mscore/CMakeLists.txt
@@ -393,7 +393,7 @@ if (MINGW)
${CROSSQT}/bin/Qt5Quick.dll
${CROSSQT}/bin/Qt5Script.dll
${CROSSQT}/bin/Qt5Sql.dll
- ${CROSSQT}/bin/Qt5V8.dll
+ ${CROSSQT}/bin/Qt5Positioning.dll
${CROSSQT}/bin/Qt5PrintSupport.dll
${CROSSQT}/bin/Qt5OpenGL.dll
${CROSSQT}/bin/Qt5Sensors.dll
{/syntaxhighlighter}

In reply to by Jojo-Schmitz

I think it should be ok.
I can't directly make a pull directly from my Qt5.2.0 because I didn't setup properly the git folder for this "experimental" build (I just used the pull instruction from musescore/MuseScore).
If you want, I can start a new branch in the folder were I keep the "official" version (from where I make the pull request) and make a pull request, but probably not until tomorrow afternoon.

In reply to by schepers

But... I have installed Windows 8.1 32-bit... I have an installation DVD with Win8 64-bit - but my system partition has 20 GB... Win8 64-bit needs more than 20 gigs... and I have installed programs, files on this partition... ...I have a problem... :| Thanks for your good intentions, schepers.

In reply to by Gootector

I understand the feeling, but Qt has been instrumental in MuseScore development and grow. The printing of MuseScore is ok no? Qt is also the foundation of many other open source software from desktop environment (KDE) to creative suite (Krita). So, I have learn to like it :)

Do you still have an unanswered question? Please log in first to post your question.