I tried today to compile the qt5 branch under windows and it's working!
Here are some remarks and remaining issues.
I used Qt 5.0.2 from Qt-project and the mingw toolchain provided with it.
1/ Qt Single app is not compatible with Qt5. I updated it.
2/ Several class names, or constants are defined in windows headers and
these headers are included by Qt headers. I cannot find a good way to
workaround this issue, so help is welcome.
I currently commented out a line in one of the system header (for Chord)
and change variable names in MuseScore source code...
* Chord is defined in wingdi.h as a function and wingdi.h is included
*
D:\GIT\MuseScore-qt5\build.release\mstyle\../../mstyle/frameshadow.h:38:7:
error: conflicting declaration 'Unknown'
In file included from
c:\qt\qt5.0.2\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winscard.h:11:0,
from
c:\qt\qt5.0.2\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windows.h:97,
from
C:/Qt/Qt5.0.2/5.0.2/mingw47_32/include/QtCore/qt_windows.h:66,
from
C:/Qt/Qt5.0.2/5.0.2/mingw47_32/include/QtCore/qwineventnotifier.h:48,
from
C:/Qt/Qt5.0.2/5.0.2/mingw47_32/include/QtCore/QtCore:76,
from C:/Qt/Qt5.0.2/5.0.2/mingw47_32/include/QtGui/QtGui:4,
from all.h:32:
c:\qt\qt5.0.2\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winioctl.h:492:3:
error: 'Unknown' has a previous declaration as '_MEDIA_TYPE Unknown'
* aeolus/model.cpp int Model::read_instr()
GCC not happy with the enum DONE and ERROR already used somewhere probably
enum { CONT, DONE1, ERROR1,
* in freeverb "SIZE" is defined elsewhere.
* in diff
enum Operation {
DELETE, INSERT, EQUAL
};
3/ arpeggio.h, two virtual function declarations missing
drop()
acceptDrop()
4/ QT_NO_DEBUG is used for mscore compilation but not for all.h in Release
mode. So the precompiled header is not used.
5/ Menus are darker
https://www.dropbox.com/s/5vvrhjt6zklyqbj/shot_130509_144342.png
lasconic
2013/2/19 Werner Schweer <[email protected]>
> For windows the CMake files are not adapted as i cannot test this.
> If you manage to hack them it should also work on windows.
>
> /Werner
>
> On 19.02.2013 08:05, Maurizio M. Gavioli wrote:
> > Werner Schweer wrote
> >> Thank you for testing. The linker rpath was set wrong. I could not find
> >> out
> >> the "official" way to determine the qt5 library install path and used an
> >> "hardwired"
> >> path into my local environment. I replaced it with i believe is an
> >> intern cmake variable
> >> from the qt5 cmake scripts. It works at least for qt5.0.1.
> > It works! For qt 5.0.0 too (I haven't updated yet): the source compiled
> and
> > linked; the app run and displayed correctly a 'real' score (not a simple
> > test score).
> >
> > So, it seems the transition is complete. Do you want me to test it under
> > Windows too or you already know it is not going to work?
> >
> > Maurizio
> >
> >
> >
> > --
> > View this message in context:
> http://dev-list.musescore.org/MuseScore-and-Qt5-tp7577788p7577834.html
> > Sent from the MuseScore Developer mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_feb
> > _______________________________________________
> > Mscore-developer mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mscore-developer
> >
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer