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

[Mac OS X 10.7] The examples fails to build with the offline installer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.1
    • 5.4.1
    • None
    • Mac OS X 10.7, Xcode 4.6.3
    • macOS

    Description

      The examples fail to build with qt-opensource-mac-x64-clang-5.4.1_2015-02-04_02-03-42-94.dmg offline installer with Xcode 4.6.3

      ~/Qt5.4.1_os_b94/Examples/Qt-5.4/widgets/widgets/lineedits$ make
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -Wall -W -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtWidgets.framework/Versions/5/Headers -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtGui.framework/Versions/5/Headers -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/mkspecs/macx-clang -F/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib -o main.o main.cpp
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -Wall -W -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtWidgets.framework/Versions/5/Headers -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtGui.framework/Versions/5/Headers -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/mkspecs/macx-clang -F/Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib -o window.o window.cpp
      In file included from window.cpp:41:
      In file included from /Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtWidgets.framework/Versions/5/Headers/QtWidgets:3:
      In file included from /Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtWidgets.framework/Headers/QtWidgetsDepends:3:
      In file included from /Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtCore.framework/Headers/QtCore:13:
      /Users/digia/Qt5.4.1_os_b94/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers/qendian.h:312:12: error: use of undeclared identifier '__builtin_bswap16'
          return __builtin_bswap16(source);
                 ^
      1 error generated.
      make: *** [window.o] Error 1
      

      Most probably it is due to this commit:
      https://qt.gitorious.org/qt/qtbase/commit/ec9bc843d8a5c18459f3669c6e22acac2077df67

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes