|
|
|
Jurnell Cockhren
|
Hey all,
I'm new to the list. Can anyone provide some incite when it comes to compilation of mscore for an intel Mac (leopard)? Thanks ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
Thomas Bonte
|
Hi Jurnell,
The official post concerning the mac prototype can be found at http://www.musescore.org/en/blog/2008/12/04/mac-os-prototype-version The development discussion can be found at http://n2.nabble.com/build-for-mac-os-x-tt1499960.html#none It's quite a long discussion and it might be hard to find out what the current state is but it might be good to read it all. All I know is that we got stuck we a font issue in QT. And since QT 4.5.0 might not solve the issue, we might need to adjust MuseScore regarding font handling. A job which has not been started yet. I hope you find your way because MuseScore for Mac is a very important step for MuseScore.
|
|
Joachim Ganseman
|
Hello,
A short resume on how I get it up and running (with the font problem) on Mac OSX. The latest checkout version with which I did this was version 1600. - download and install cmake, the .dmg file will do - download and install Qt , there is a .dmg file of version 4.5.0 rc1 (the latest beta) which will do. If you have lots of time on your hands, you can also build from source. - download the musescore trunk by commandline. Go to your favourite development directory and type svn co https://mscore.svn.sourceforge.net/svnroot/mscore/trunk mscore Apply the following patches to the source files: - in file mscore/mscore/select.cpp: change the included file "values.h" into "limits.h" - in file mscore/mscore/utils.cpp : change the #ifdef on line 358 into the following: "#if defined (__MINGW32__) || defined (__APPLE__)" - in file mscore/mscore/cmakelists.txt: comment away, with a #, the lines containing "resfile.o", "pa.cpp" and "pm.cpp" - these seem to be windows specific. then enter the main directory and execute the following commands from the commandline: ./gen_qt_projectfile . >> mscore.pro cmake -G Xcode this takes some time. An XCode project is now generated, open it, press "build and go" - give it a few minutes and MuseScore should pop right up. As for the font problems, I've done some trial and error again yesterday, but to no avail. I've downloaded a nightly snapshot of Qt (dated february 24) from the webpage ftp://ftp.trolltech.com/qt/snapshots/ ; and I've tried builds and installs with the following options: 1. ./configure -release -cocoa -framework -> goal was to build a cocoa only version. But the same problem appears, the noteheads etc are still drawn like rectangles, but this time a differently shaped symbol - nevertheless, it's strange to see that font handling in Cocoa and Carbon does seem to go different, both of them equally wrong. 2. ./configure -release -framework -arch x86 -> goal was to assure that a only a 32-bit version was built, not a 64-bit one. But the same problem appears. 3. Adding -sdk 10.4 to the previous commandline, in order to link against a previous version of the Mac OSX SDK. No effect. My standard configuration for compiling Qt on mac is by the way: ./configure -debug-and-release -static -shared -framework -universal -> this builds universal binaries in both debug and release versions, frameworks and static as well as dynamic libraries. Compilation of Qt on mac takes about 4 hours so there was not much time for more experimenting with build options in this way, if I don't know actually what I'm doing. When looking at the Qt source files of, for example, src/gui/text/qfont_mac.cpp, there's a part of that file around line 90 that says: /*! Returns an ATSUFontID */ quint32 QFont::macFontID() const // ### need 64-bit version { #ifdef QT_MAC_USE_COCOA return 0; #elif 1 ... There seems to be functionality in the current Qt beta that still needs to be implemented. In files like qfontdatabase_mac.cpp, hundreds of lines of code are wrapped in ifdefs like "#if defined(QT_MAC_USE_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 ". Probably the core of the problem is somewhere in there, but the code itself is not really well documented and Apple's developers website for fonts does not succeed in making things clearer for me ( http://developer.apple.com/documentation/Carbon/reference/ATS/Reference/reference.html ). I guess this will be something that the Qt devs themselves will need to solve. Checking the Qt Bug Tracker for the bugs that are scheduled to be solved by version 4.5.0 final ( http://www.qtsoftware.com/developer/task-tracker/index_html?method=advsearch&searchstr=&bugs=on&sugs=off&product=1&functionalarea=&versionfound=&versionfixed=128&priority=-1&status=-1&resolution=-1&sortdir=desc&sort=priority ), sorting by bug status, there are still about 30 open bugs meant to be solved - the other 920 that were in there already seem to be solved. So actually they are almost there for the final release, and should they be able to fix 1 bug each day, they even might make the schedule (4.5.0 final release is scheduled in march). Strange to note that quite a few of the remaining open bugs are about font issues... Joachim 2009/2/22 Thomas Bonte <[hidden email]>: > > Hi Jurnell, > > The official post concerning the mac prototype can be found at > http://www.musescore.org/en/blog/2008/12/04/mac-os-prototype-version > > The development discussion can be found at > http://n2.nabble.com/build-for-mac-os-x-tt1499960.html#none > It's quite a long discussion and it might be hard to find out what the > current state is but it might be good to read it all. All I know is that we > got stuck we a font issue in QT. And since QT 4.5.0 might not solve the > issue, we might need to adjust MuseScore regarding font handling. A job > which has not been started yet. > > I hope you find your way because MuseScore for Mac is a very important step > for MuseScore. > > > Jurnell Cockhren wrote: >> >> Hey all, >> >> I'm new to the list. Can anyone provide some incite when it comes to >> compilation of mscore for an intel Mac (leopard)? >> >> Thanks >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> >> > > -- > View this message in context: http://n2.nabble.com/Mac-compilation.-tp2367642p2367731.html > Sent from the MuseScore Developer mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |