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

Building from sources fails with qt-ci/src/corelib/global/qconfig.h: No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.11.0
    • 5.11.0 Beta 1
    • Build System
    • Windows, Linux, macOS
    • 3a32ad7859cf77f4d630fcc7b7429cc17a9c8449

    Description

      Steps to reproduce:

      1. Download Qt 5.11 beta source package
      2. Unpack and run configureĀ  (tested with namespace, shadow, static and insource build -> all fail)
      3. build
      • Expected result:

      Build fails without errors.

      • Actual result:

      Build fails with:

      gcc -pipe -O3 -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQFLOAT16_INCLUDE_FAST -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_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_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include -I../3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.11.0 -I../../include/QtCore/5.11.0/QtCore -I.moc -I.tracegen -I../3rdparty/pcre2/src -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../mkspecs/linux-g++ -x c-header -c global/qt_pch.h -o .pch/Qt5Core.gch/c
      In file included from global/qglobal.h:66:0,
      from global/qt_pch.h:56:
      ../../include/QtCore/qconfig.h:1:76: fatal error: ../../../../../../../../../../qt-ci/src/corelib/global/qconfig.h: No such file or directory
      compilation terminated.
      Makefile:1664: recipe for target '.pch/Qt5Core.gch/c++' failed
      make[3]: *** [.pch/Qt5Core.gch/c++] Error 1
      make[3]: Leaving directory '/home/user/qt_src/qt-everywhere-src-5.11.0/qtbase/src/corelib'
      Makefile:198: recipe for target 'sub-corelib-make_first' failed
      make[2]: *** [sub-corelib-make_first] Error 2
      make[2]: Leaving directory '/home/user/qt_src/qt-everywhere-src-5.11.0/qtbase/src'
      Makefile:48: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/home/user/qt_src/qt-everywhere-src-5.11.0/qtbase'
      Makefile:78: recipe for target 'module-qtbase-make_first' failed
      make: *** [module-qtbase-make_first] Error 2

      The path:

      ../../../../../../../../../../qt-ci/src/corelib/global/qconfig.h:

      doesn't look correct. I don't have such a path in my environment. Is this a packaging issue or where does it pick that path from?

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes