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

Qt build fails with enable qtdeclarative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.1
    • Build System
    • None
    • gcc8
    • Linux/X11

    Description

      Hi,

      if I try to build qt from source I get following error in configure step:

      -- Configuring submodule 'qtbase'
      8378              -DCMAKE_C_FLAGS=  -m64
      8379              -DCMAKE_C_FLAGS_DEBUG=-g 
      8380              -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG 
      8381              -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
      8382              -DCMAKE_CXX_FLAGS=  -m64
      8383              -DCMAKE_CXX_FLAGS_DEBUG=-g 
      8384              -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG 
      8385              -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
      8386              -DCMAKE_OBJCOPY=/usr/bin/objcopy
      8387              -DCMAKE_EXE_LINKER_FLAGS=  
      8388              -DCMAKE_C_STANDARD=11
      8389              -DCMAKE_C_STANDARD_REQUIRED=ON
      8390              -DCMAKE_CXX_STANDARD=17
      8391              -DCMAKE_CXX_STANDARD_REQUIRED=ON
      8392              -DCMAKE_MODULE_PATH:STRING=/conan/.conan/data/qt/6.5.1/cassandra/stable/source/qt6/qtbase/cmake/platforms
      8393  CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:243 (message):
      8394    syncqt.cpp failed for module QtCore:
      8395  
      8396    The syncqt process exited with code Segmentation fault and without any
      8397    useful output.  This can happen if syncqt crashes due to the
      8398    incompatibilities with the standard C++ library located by either PATH or
      8399    LD_LIBRARY_PATH environment variables.  Please make sure that PATH or
      8400    LD_LIBRARY_PATH don't point to the standard libraries different from the
      8401    one you use for building Qt.
      8402  Call Stack (most recent call first):
      8403    qtbase/cmake/QtModuleHelpers.cmake:873 (qt_internal_target_sync_headers)
      8404    qtbase/cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
      8405    qtbase/src/corelib/CMakeLists.txt:DEFERRED
      8406  
      8407  
      8408  -- Configuring incomplete, errors occurred!

      Is this a known problem? This only happens with gcc8 and BUILD_qtdeclarative enabled.

      Attachments

        1. filesystem.diff
          25 kB
          Steffen Roeber
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            sroeber Steffen Roeber
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes