Results 1 to 1 of 1

Thread: Anyone succeeded in making a static build of Qt 4.6.x (Carbon) on Mac OS X?

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

    Default Anyone succeeded in making a static build of Qt 4.6.x (Carbon) on Mac OS X?

    Qt 4.6 fails to compile as a static build (Carbon, 32-bit) under Mac.

    Someone reported this issue at:
    http://bugreports.qt.nokia.com/browse/QTBUG-7496
    http://bugreports.qt.nokia.com/browse/QTBUG-6771

    But the QT team doesn't seem to interest to solve this problem for Mac at all.

    ./configure -release -static -platform macx-g++ -no-framework; make

    You will see errors like this:

    ld: duplicate symbol _sqlite3_status in /Users/simon/461/lib/libQtWebKit.a(sqlite3.o) and /Users/simon/461/plugins/sqldrivers/libqsqlite.a(sqlite3.o)
    collect2: ld returned 1 exit status
    make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1
    make[3]: *** [sub-assistant-make_default-ordered] Error 2
    make[2]: *** [sub-tools-make_default-ordered] Error 2
    make[1]: *** [sub-assistant-make_default-ordered] Error 2
    make: *** [sub-tools-make_default-ordered] Error 2

    How do you fix the duplicate symbol error in order to successfully build?

    Thanks.
    Last edited by Mike2010; 2nd March 2010 at 20:40.

Similar Threads

  1. Replies: 6
    Last Post: 10th March 2011, 16:42
  2. Replies: 1
    Last Post: 13th January 2010, 23:35
  3. Moving from QT 4.5 shared build to QT 4.5.2 static build
    By extrakun in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2009, 09:49
  4. Can i build a static exe?
    By coder1985 in forum Qt Programming
    Replies: 3
    Last Post: 11th June 2008, 16:18
  5. Problems with static build
    By KaptainKarl in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd August 2007, 10:46

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.