Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem with Qt5 installation in Mac Snow Leopard
QtWS25 Last Chance

Problem with Qt5 installation in Mac Snow Leopard

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.2k Views
  • 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.
  • M Offline
    M Offline
    mossqt
    wrote on last edited by
    #1

    I have downloaded the source code and tried to build Qt from scratch. Both the versions failed to installed (5.0.2 & 4.8.4). I have a mac snowleopard (v 10.6.8, 64 bit). Recently I have updated gcc using macports and redirected gcc to gcc4.7 (using: sudo port select --set gcc mp-gcc47). Not sure if this broke something in Xcode. I have Xcode version 3.2.2. Can anyone help me and point out what the problem is. Here's is the error message for 5.0.2:

    ==============================================

    Creating qmake...
    g++ -c -o project.o -pipe -mmacosx-version-min=10.6 -DQMAKE_OPENSOURCE_EDITION -g -gdwarf-2 -fconstant-cfstrings -g -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/library -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/generators -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/generators/unix -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/generators/win32 -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/generators/mac -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/generators/integrity -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/include -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/include/QtCore -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/include/QtCore/5.0.2 -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/include/QtCore/5.0.2/QtCore -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib/global -DHAVE_QCONFIG_CPP -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/mkspecs/macx-g++ -I/Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/tools/shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DPROEVALUATOR_DEBUG -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM /Users/promita/Downloads/qt-everywhere-opensource-src-5.0.2/qtbase/qmake/project.cpp
    g++: error: unrecognized command line option '-fconstant-cfstrings'
    gmake: *** [project.o] Error 1
    *** qtbase/configure exited with non-zero status.
    58-b0-35-82-75-32:qt-everywhere-opensource-src-5.0

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mossqt
      wrote on last edited by
      #2

      Update: It also does not compile with gcc 4.2 (Xcode version). I will appreciate any lead in this. Thanks.

      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