Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved]How to build Qt 5.3.2 from source on OS X 10.9?

[Solved]How to build Qt 5.3.2 from source on OS X 10.9?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    frfm
    wrote on last edited by
    #1

    I am trying build Qt 5.3.2 from source on OS X 10.9, but I get this error:

    @
    /opt/qt-everywhere-opensource-src-5.3.2/qtbase/lib/libQt5Widgets.a(qmacnativewidget_mac.o)
    ld: 1 duplicate symbol for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[4]: *** [embeddedqwindow.app/Contents/MacOS/embeddedqwindow] Error 1
    make[3]: *** [sub-embeddedqwindow-make_first] Error 2
    make[2]: *** [sub-macextras-make_first] Error 2
    make[1]: *** [sub-examples-make_first] Error 2
    make: *** [module-qtmacextras-make_first] Error 2
    @

    Anybody can help-me?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sandy.martel
      wrote on last edited by
      #2

      @export PATH=/usr/bin:/bin:/usr/sbin:/sbin
      ./configure -debug-and-release -prefix /usr/local/Qt-5.3.2 -nomake examples -sdk macosx10.9 -no-c++11
      make
      make install
      make generate_docs
      make qch_docs
      make install_qch_docs@

      tested with Qt5.3.2, Mac OS X 10.9 & Xcode 5. Note, if you omit the '-no-c++11' you won't be able to deploy on Mac OS X 10.6.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        frfm
        wrote on last edited by
        #3

        Thanks so much sandy.martel.
        It`s works fine for me.

        Thanks again. You saved me.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved