Re: [qmc2-devel] New QT 4.8 paths cause MacOS build issues
Brought to you by:
prianthefist,
renereucher
|
From: David E. <ev...@gm...> - 2012-05-07 16:16:15
|
So it turns out the 'makefile.qmake' file the build is expecting is actually getting generated as 'Makefile.qmake.xcodeproj'. Dave On Mon, May 7, 2012 at 12:12 PM, David Ely <ev...@gm...> wrote: > I just did a quick test on my Lion system (I normally use Snow Leopard > Server as my build environment) and it doesn't get very far. > > --- > $ make EMU=SDLMAME > Configuring build of QMC2 v0.36 > qmake -makefile -o Makefile.qmake VERSION=0.36 QMC2_MINGW=0 > TARGET=qmc2-sdlmame CONFIG+=warn_off CONFIG+=release QT+=opengl > QT+=phonon 'DEFINES+=QMC2_VERSION=0.36 QMC2_SVN_REV=3771 > BUILD_OS_NAME=Darwin BUILD_OS_RELEASE=11.3.0 BUILD_MACHINE=x86_64 > PREFIX=/usr/local DATADIR="/Library/Application:Support" > SYSCONFDIR="/Library/Application:Support" QMC2_JOYSTICK=1 > QMC2_OPENGL=0 QMC2_ARCADE_OPENGL=1 QMC2_PHONON=1 QMC2_FADER_SPEED=500 > QMC2_XWININFO=xwininfo QMC2_SDLMAME QMC2_MAC_UNIVERSAL=0 > QMC2_VARIANT_LAUNCHER QMC2_BROWSER_PLUGINS_ENABLED > QMC2_BROWSER_JAVA_ENABLED QMC2_BROWSER_JAVASCRIPT_ENABLED > QMC2_WC_COMPRESSION_ENABLED QMC2_YOUTUBE_ENABLED QMC2_ALTERNATE_FSM' > qmc2.pro > Updating build of QMC2 v0.36 > make[1]: Makefile.qmake: No such file or directory > make[1]: *** No rule to make target `Makefile.qmake'. Stop. > make: *** [qmc2-bin] Error 2 > --- > > This is with QT 4.8.1. > > > > Dave > > On Mon, May 7, 2012 at 12:04 PM, R. Reucher <ren...@ba...> wrote: >> On Monday 07 May 2012 16:50:42 R. Reucher wrote: >> >>> On Monday 07 May 2012 09:24:33 R. Reucher wrote: >> >>> > Hmmm, Nokia only published a 64-bit binary package of Qt 4.8.1 for Mac >>> > OS >> >>> > X, but I need it in 32-bits... I'm now trying to build it myself, but >> >>> > this will take quite some time on my Mac OS X dev-system :(... >> >>> > >> >>> > @David: do you probably have a suitable Qt 4.8.1 build for me I could >>> > use >> >>> > instead? >> >>> >> >>> Nevermind, it meanwhile built cleanly :). >> >>> >> >>> You can basically build it in two steps with the current Makefile (NOT >> >>> using xcodebuild!): >> >>> >> >>> make configure >> >>> make [EMU=...] >> >>> >> >>> "make install" still doesn't work, I'm working on the Makefile... >> >>> >> >>> I'm actually trying to get rid of xcodebuild completely in case of Qt >>> 4.8+, >> >>> which would then also fix the issue with XCode 4 (which will then no >>> longer >> >>> be used). >> >>> >> >>> Let's see :). >> >> I think I have a clean workaround for this now in SVN r3771: when Qt 4.8+ is >> used, the build is now basically done in the exact same way as on >> Linux/UNIX. >> >> >> So when *Qt 4.8.0 or above* is used, you can now just do something like this >> to fully build QMC2: >> >> >> $ make [-j5] EMU=SDLMAME >> >> $ sudo make install EMU=SDLMAME >> >> $ sudo make distclean EMU=SDLMAME >> >> $ make [-j5] EMU=SDLMESS >> >> $ sudo make install EMU=SDLMESS >> >> $ sudo make distclean EMU=SDLMESS >> >> >> The "make install" step calls 'macdeploqt' which creates some files, so >> "sudo make distclean" is required here (unless you're building *as* root). >> >> >> I hope I didn't break anything, but it seems to be much clean(er) now! >> >> >> BTW, this should also work out-of-the-box on Lion since XCode tools are >> actually no longer used -- but again, this requires Qt 4.8+! For Qt 4.7, the >> behavior *should* (untested) be the same as before. >> >> >> Have fun, René >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> qmc2-devel mailing list >> qmc...@li... >> https://lists.sourceforge.net/lists/listinfo/qmc2-devel >> |