Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33783

Qt 5.2 alpha does not compile on Mac OS X 10.8 for iOS (cont.)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.2.0 Beta1
    • 5.2.0 Alpha
    • Build System
    • None
    • macOS

    Description

      After fixing the previous issue ( https://bugreports.qt-project.org/browse/QTBUG-33752 ), I now get the following error ( steps are the same )

      rm -f /Qt/Qt-5.2.alpha-iOS/qtbase/lib/libQt5QmlDevTools.a
      mv -f libQt5QmlDevTools.a /Qt/Qt-5.2.alpha-iOS/qtbase/lib/
      cd tools/ && ( test -e Makefile || /Qt/Qt-5.2.alpha-iOS/qtbase/bin/qmake /Qt/Qt-5.2.alpha-iOS/qtdeclarative/tools/tools.pro -o Makefile ) && make -f Makefile
      cd qmlscene/ && ( test -e Makefile || /Qt/Qt-5.2.alpha-iOS/qtbase/bin/qmake /Qt/Qt-5.2.alpha-iOS/qtdeclarative/tools/qmlscene/qmlscene.pro -o Makefile ) && make -f Makefile
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -fvisibility=hidden -fpascal-strings -fmessage-length=0 -Wno-trigraphs -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -Wno-sign-conversion -fexceptions -fasm-blocks -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wno-unused-function -Wno-unused-label -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wpointer-sign -Wno-newline-eof -Wdeprecated-declarations -Winvalid-offsetof -Wno-conversion -fvisibility-inlines-hidden -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Werror -Wno-error=#warnings -Wno-error=deprecated-declarations -arch i386 -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -mios-simulator-version-min=5.0 -Wall -W -fPIE -DDARWIN_NO_CARBON -DQT_NO_CORESERVICES -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_EDITION=QT_EDITION_DESKTOP -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_CORESERVICES -DQML_RUNTIME_TESTING -DQT_QML_DEBUG_NO_WARNING -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/Qt/Qt-5.2.alpha-iOS/qtbase/mkspecs/macx-ios-clang -I. -I/Qt/Qt-5.2.alpha-iOS/qtbase/mkspecs/macx-ios-clang/ios -I../../include -I../../include/QtQuick -I/Qt/Qt-5.2.alpha-iOS/qtbase/include -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtQuick -I../../include/QtQml -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtQml -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtWidgets -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtNetwork -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtGui -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtCore -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtCore/5.2.0 -I/Qt/Qt-5.2.alpha-iOS/qtbase/include/QtCore/5.2.0/QtCore -I.moc/release-static -o .obj/release-static/main.o main.cpp
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -arch i386 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -mios-simulator-version-min=5.0 -u _qt_registerPlatformPlugin -Wl,-no_new_main -nostartfiles -lcrt1_qt.o -o /Qt/Qt-5.2.alpha-iOS/qtbase/bin/qmlscene .obj/release-static/main.o -L/Qt/Qt-5.2.alpha-iOS/qtbase/plugins/platforms -lqios -framework Foundation -framework UIKit -framework QuartzCore -L/Qt/Qt-5.2.alpha-iOS/qtbase/lib -framework CoreFoundation -framework OpenGLES -framework CoreText -framework CoreGraphics -lQt5PlatformSupport -lQt5Quick -framework Security -framework SystemConfiguration -lQt5Qml -ldl -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lz -lm
      ld: library not found for -lcrt1_qt.o
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[3]: *** [/Qt/Qt-5.2.alpha-iOS/qtbase/bin/qmlscene] Error 1
      make[2]: *** [sub-qmlscene-make_first] Error 2
      make[1]: *** [sub-tools-make_first] Error 2
      make: *** [module-qtdeclarative-make_first] Error 2

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              madwinter Marcus Tillmanns
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes