Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-3120

qmldump does not build with clang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4: Low
    • None
    • Qt Creator 2.1.0
    • Quick / QML Support
    • None

    Description

      Something goes wrong when Creator tries to build qmldump with a clang Qt:

      Error running '/usr/bin/make' in /Users/fabien/Qt/build-staging-2/qtc-qmldump/: The process returned exit code 2: 
      clang++ -c -pipe -Xarch_x86_64 -mmacosx-version-min=10.5 -g -gdwarf-2 -arch x86_64 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_SHARED -I/Users/fabien/Qt/oslo-staging-2/mkspecs/unsupported/macx-clang -I. -I../lib/QtCore.framework/Versions/4/Headers -I../include/QtCore -I../lib/QtGui.framework/Versions/4/Headers -I../include/QtGui -I../lib/QtDeclarative.framework/Versions/4/Headers -I../include/QtDeclarative -I../include -I.moc/debug-shared -F/Users/fabien/Qt/build-staging-2/lib -o .obj/debug-shared/main.o main.cpp 
      clang: error: invalid Xarch argument: '-Xarch_x86_64 -mmacosx-version-min=10.5' 
      make: *** [.obj/debug-shared/main.o] Error 1
      

      When running qmake manually, -Xarch_x86_64 -mmacosx-version-min=10.5 does not get added to the clang command line.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mabenell Marco Benelli
            ckamm Christian Kamm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes