Building 64-bit/32-bit Debug&Release Universal Build of Qt 4.6.0 on Mac OS X 10.6 (Snow Leopard)
Posted on : 08-12-2009 | By : Brandon W. King | In : Compiling Code, Computers/IT, Mac OS X, Software Development/Engineering
Tags: 64-bit, mac os x, Qt, Qt 4.6, snow leopard
0
See my directions on checking out Qt 4.6.0 from the git repository if you do not already have the source code.
Launch a Terminal and cd to the source directory.
Run configure w/ 64-bit & 32-bit + debug & release using cocoa and frameworks:
$ ./configure -arch “x86 x86_64” -debug-and-release -opensource -framework -cocoa
Run make:
make -j <number_of_processor_cores>
OR
make
Go away for a long time (many hours); watching a tea-pot boil many times over will be less painful than watching this process.
Install:
sudo make install
You should find the installed build in /usr/local/Trolltech/Qt-4.6.0/. I hope this is helpful.