
coronasensei at gmail
May 22, 2012, 10:45 PM
Post #3 of 7
(453 views)
Permalink
|
|
Re: osx-packager-qtsdk.pl (was Re: [mythtv-commits] packaging/master commit: 1af486e9a by Jean-Yves Avenard (jyavenard))
[In reply to]
|
|
On 6/03/12 2:54 AM, Jean-Yves Avenard wrote: > Hi > > On Tuesday, 6 March 2012, Craig Treleaven wrote: > > > > Looks really interesting. Sorry to ask such a basic question, but > could you point me to the right QT download? The standalone SDK > installer is 1.2 GB which is a big chunk of my crappy download > cap. The libraries installer seem to be at: > > > Thé 1.2GB is the SDK, you don't have to use it > > http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x > > Cocoa: Mac binary package for Mac OS X 10.5 - 10.6 (64-bit) > http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.8.0.dmg (178 > MB, includes build and interface tools) > > > You can use that one. But note that the 4.8.0 package is 64 bits only. > I used the 4.7.4 package instead. While it doesn't support lion > officially, it works fine. > Just lots of warnings in the log.. > > > Is this the right one? The notes in the new osx-packager-qtsdk.pl > <http://osx-packager-qtsdk.pl> indicate that there should be both > 32 bit and 64 bit versions--but I only see 64? > > > The packager will test the qt you've installed and error out if you > are trying to compile 32 bits against 64 libs or vice versa.. > > Thanks again for all the work dragging the Mac client forward! > > I have spent in excess of 100 hours on that crap believe it or not :( > > Do not use Xcode 4.2, it will crash during the build. Use 4.3 or lion, > or 4.1 on 10.6 (3.x will work too) > > Otherwise, built 32/64 packages are available there: > http://avenard.org/files/mac/ > > I will amend the readme file with the new procedure.. I still need to > work on the 0.24 build too > Hi, I've just compiled a new copy of 0.25 master to see if it fixes a sleep issue I'm having on my macbook. Running 10.7.4, xcode 4.3.2. Current git of the build script osx-packager-qtsdk.pl (as far as I can tell). Installed qt-mac-opensource-4.7.4.dmg Used: # ./osx-packager-qtsdk.pl -verbose -pluginskip -qtbin /usr/bin -qtplugins /Developer/Applications/Qt/plugins I had one small problem with the script in that pkg-config is not getting installed in .osx-packager/build/bin. This caused it to fail during the configure of mythtv. I looked in pkg-config src folder and pkg-config had been built by the packager, but had not installed into the bin folder. I deleted just .osx-built in pkg-config folder and started osx-packager again and yep, it's installed now. Did a clean all by deleting build folder, and delete all .osx-built and .osx-config and tried again, same thing - first run through no pkg-config bin, delete just the one .osx-built and rerun and it's fine. After that I got a successful build! I wont get a chance to try it until I get home (where my backend is), but the application does launch successfully. Last time I tried building for osx (before this new script) my efforts died badly trying to get qt to compile. I gave up. I for one am a big fan of being able to install the binary qt libraries for this! Cheers, Andrew
|