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

Can not build Qt from sources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.1.0 Beta3
    • 6.1.0 Beta3
    • Build System, Qt3D
    • Ubuntu20.04 x64
      CentOS8.3
      macOS10.14
      macOS10.15
      macOS11.0
    • Linux/X11, macOS
    • 2bbd5f2ac63e0cf4a49ee4061d15941e01ea564d (qt/qt3d/6.1) 2f9130de38a951a86303eb3c8419b99f66dfb45a (qt/qt3d/dev)

    Description

      Qt6.1.0 beta3 source archive extracted. Have cmake and ninja in path and set
      LLVM_INSTALL_DIR=/opt/libclang/
      export CMAKE_GENERATOR=Ninja

      Run
      cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR=/opt/openssl-1.1.1g -DCMAKE_BUILD_TYPE=Release -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DBUILD_TESTING=OFF /home/johanna/Qt/src-6.1.0-beta3 -DCMAKE_INSTALL_PREFIX:PATH=/home/johanna/Qt/src-6.1.0-beta3/qtbase

      Fails with:

      CMake Error:
        Running
         '/home/johanna/Qt/Tools/Tools/Ninja/ninja' '-C' '/home/johanna/Qt/src-6.1.0-beta3' '-t' 'recompact'
        failed with:
         ninja: error: build.ninja:59377: multiple rules generate qtbase/qml/Qt3D/Core/plugins.qmltypes [-w dupbuild=err]
      

      Attachments

        1. 610-beta3_configure.txt
          96 kB
        2. build.ninja.tar.xz
          478 kB
        3. config.summary
          15 kB

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes