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

qtbase build failed on macOS - 'X11/Xlib.h' file not found for qglxconvenience_p.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0 Alpha
    • 5.11
    • Build System
    • None
    • macOS 10.13
    • macOS
    • 8686f3a347ade668e9ea3130c971babe6623ede6

    Description

      qtbase dev, 33be3fe92bc12395e8f46c9c04e40f5e51655524
      a shadow build on macOS 10.13

      ../qt5-3/qtbase/configure -developer-build -confirm-license -opensource -nomake examples -nomake tests -verbose
      make -j9
      make -j1
      ...
      /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug all
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -fPIC -std=c++1z -fapplication-extension  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.10 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Werror=unguarded-availability -Werror=unguarded-availability-new -Werror=unsupported-availability-guard -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GLX_SUPPORT_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 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -I/Users/liangqi/qt/qt5-3/qtbase/src/platformsupport/glxconvenience -I. -I../../../include -I../../../include/QtGlxSupport -I../../../include/QtGlxSupport/5.11.0 -I../../../include/QtGlxSupport/5.11.0/QtGlxSupport -I../../../include/QtGui/5.11.0 -I../../../include/QtGui/5.11.0/QtGui -I../../../include/QtCore/5.11.0 -I../../../include/QtCore/5.11.0/QtCore -I../../../include/QtGui -I../../../include/QtCore -I.moc/debug -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/liangqi/qt/qt5-3/qtbase/mkspecs/macx-clang -F/Users/liangqi/qt/qt5-3-build/lib -o .obj/debug/qglxconvenience.o /Users/liangqi/qt/qt5-3/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp
      In file included from /Users/liangqi/qt/qt5-3/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp:45:
      /Users/liangqi/qt/qt5-3/qtbase/src/platformsupport/glxconvenience/qglxconvenience_p.h:57:10: fatal error: 'X11/Xlib.h' file not found
      #include <X11/Xlib.h>
               ^~~~~~~~~~~~
      1 error generated.
      make[4]: *** [.obj/debug/qglxconvenience.o] Error 1
      make[3]: *** [debug-all] Error 2
      make[2]: *** [sub-glxconvenience-make_first] Error 2
      make[1]: *** [sub-platformsupport-make_first] Error 2
      make: *** [sub-src-make_first] Error 2
      ...
      

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes