On 2008-12-29 10:13:08 +0100, vincent <[email protected]> said: > Hi there, > > in the course of preparing a suitable Portfile to integrate Qt 4.5.0 > bt1 into Macports, I ran into a build error. The cause is simple: some > objc primitives used by Cocoa are not allowed in MacOS X 10.4 and the > compiler produces an error if the flag -mmacosx-version-min is not set > to 10.5, which happens to be the case if I compile for both x86_64 and > i386 at the same time (the latter sets the option to 10.4) > > If the corresponding template in mkspecs/common/mac-g++.conf is > updated, the build runs fine. > > The solution seems to be the use of a single -mmacos-version-min set > to the max of all values (10.3 for ppc, 10.4 for i386 and 10.5 for 64 > bit builds).
Hmm... the cocoa port doesn't work on 10.4 so it should not work at all. How exactly are you building Qt and what version of Mac OS X are you building on. Also, we should be setting things correctly for 10.5, but we still are having some issues for 10.4. If you can send us your changes that would be useful. > > Something else: when lauching (for testing purposes) Designer, I > briefly enter X11 before Designer UI sets up. It is thereafter safe to > quit X11, even while running Designer, which proves that the > application does not rely on X11, but I wonder why this glitch. We don't have Designer launch X11 here. I'm not sure why it's happening on your machine. > > Thanks a lot, happy new year in the far north. Thanks for the feedback, -- Trenton _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
