Results 1 to 1 of 1

Thread: Installing Qt 4.7.1 on Mac OS X statically

  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Installing Qt 4.7.1 on Mac OS X statically

    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
    Last edited by wysota; 28th December 2010 at 09:50.

Similar Threads

  1. Qt statically with Qwt
    By edney in forum Qwt
    Replies: 1
    Last Post: 4th June 2010, 22:39
  2. How can i build an app statically?
    By srohit24 in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2010, 09:38
  3. building qt statically
    By eleanor in forum Installation and Deployment
    Replies: 7
    Last Post: 9th May 2009, 09:03
  4. Statically Linking... everything
    By bpetty in forum Newbie
    Replies: 5
    Last Post: 26th October 2006, 17:43
  5. Qt is compiled statically, now what ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 30th May 2006, 12:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.