PDA

View Full Version : compiling qt in 64b on mac



eric_vi
23rd January 2010, 03:20
i am trying to figure out how to set up my .pro so i can compile 4.6 in 64b on mac x.6 , i added x86_64 to CONFIG but when i try to compile i get an error message stating that qt is still 32b and i need to check the build....

i have no clue wht it means ... thank you for your help

squidge
23rd January 2010, 09:22
You need to rebuild Qt in 64-bit before you can compile your app in 64-bit.

eric_vi
23rd January 2010, 14:42
thank you for your answer...

i have two other questions,

1/ if i rebuild with the 64b flag, will it automatically replace my current qt in the right directory or will should i indicate a location, in this case where it is?

2/ will i be able to elect to compile my project in 32b or in 64b without having to rebuild qt each time?