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

macOS: prefix build fails with -qtlibinfix

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      When qt is configured with -fully-process option qtbase build will fail with the following error:

      I tried 5.2.1 with -platform macx-clang-32 -qtlibinfix and end up getting same bug on Mac Mountain Lion. Qt 5.1.0 worked good with -qtlibinfix.

      ./configure -fully-process; make
      
      
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -pipe -g -gdwarf-2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_CONCURRENT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -I../../mkspecs/macx-clang -I. -I../../include -I../../include/QtConcurrent -I/Users/user/Development/qt5_/qtbase/include/QtConcurrent/5.2.0 -I/Users/user/Development/qt5_/qtbase/include/QtConcurrent/5.2.0/QtConcurrent -I/Users/user/Development/qt5_/qtbase/lib/QtCore.framework/Headers/5.2.0 -I/Users/user/Development/qt5_/qtbase/lib/QtCore.framework/Headers/5.2.0/QtCore -I.moc/debug -F/Users/user/Development/qt5_/qtbase/lib -x c++-header -c ../corelib/global/qt_pch.h -o .pch/debug/QtConcurrent_debug/c++.pch
      ../corelib/global/qt_pch.h:58:10: error: 'qglobal.h' file not found with <angled> include; use "quotes" instead
      #include <qglobal.h>
               ^~~~~~~~~~~
               "qglobal.h"
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              kileppal Kimmo Leppälä
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes