PDA

View Full Version : Installing Qt 4.7.1 on Mac OS X statically



aarti
28th December 2010, 08:44
Hello All,
I have to develop an application in Qt on Mac OSX. I am new to Mac and Qt.
I am having Mac OS X10.6 and I tried installing Qt4.7.1 commercial on this.
Now I found to make my application run on any version/architecture of Mac I have to build Qt statically. I used following steps to intall Qt statically:
1. configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg -universal -static -release
2. make sub-src
3. make install

now it gives the following error on this:
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccqZocPy.out (No such file or directory)
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1
make[3]: *** [sub-assistant-install_subtargets-ordered] Error 2
make[2]: *** [sub-tools-install_subtargets-ordered] Error 2
make[1]: *** [sub-assistant-install_subtargets-ordered] Error 2
make: *** [sub-tools-install_subtargets-ordered] Error 2

Please help as I have to build Qt statically so that application developed in this can run on any version of Mac.

Thanks
Aarti