PDA

View Full Version : Qt 4.7 / Mac deployment broken?



SamppaM
8th November 2010, 02:42
I have some serious problems with Mac deployment. I am building the application on Snow Leopard and it seems that the application does not run on Leopard.

If I try to deploy the application directly (project build configuration - release and then macdeployqt) without any modifications, the application cannot even launch, because Leopard claims that the application is not supported on that platform. If I try to add the statement "CONFIG+=x86" to the project file, the application can be launched, but it crashes.

I did not have this kind of problems with Qt 4.6. Do you if something has been changed?

Added after 1 8 minutes:

I realized that the application seems to be working just fine on 64-bits machines, but the application crashes on 32-bits machines. Do you know how it is possible to build 32-bits binaries? I could not find any kind of option and it seems that Qt 4.7 automatically installs the 64-bits version.

leetar
26th November 2010, 15:04
Qt 4.7 uses Cocoa by default instead of Carbon .