Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Facing issue in installing QT
Forum Updated to NodeBB v4.3 + New Features

Facing issue in installing QT

Scheduled Pinned Locked Moved Unsolved Qt 6
9 Posts 2 Posters 270 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NavdeepKaur
    wrote last edited by
    #1

    hi Team,
    I’m attempting to compile Qt 6.9.1 on ROCKY Linux 8. The compilation and installation processes complete without any errors. However, the QtWebEngine module is not being installed — its libraries are missing from the lib directory. Below is the command I used to compile the source:

    1. Set env
      • setenv LD_LIBRARY_PATH /calypto/tools/install/gcc-10.3.0-rocky8/lib64
      • setenv PATH /calypto/tools/install/rocky8/gperf-3.1/bin:/calypto/tools/bin:$PATH
      • setenv NODEJS /calypto/tools/bin/node
    2. /usr/bin/cmake ../ -G Ninja -DCMAKE_INSTALL_PREFIX=/calypto/tools/install/rocky8/qt-6.9.1 -DCMAKE_C_COMPILER=/calypto/tools/install/gcc-10.3.0-rocky8/bin/gcc -DCMAKE_CXX_COMPILER=/calypto/tools/install/gcc-10.3.0-rocky8/bin/g++ -DCMAKE_BUILD_TYPE=Release -DQT_FEATURE_opengles2=ON -DQT_FEATURE_x11_xss=OFF -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DQT_FEATURE_webengine=ON -DQT_FEATURE_webengine_core=ON -DQT_FEATURE_webengine_widgets=ON -DQT_FEATURE_webgl=ON -DQT_FEATURE_webchannel=ON -DQT_FEATURE_network=ON -DFEATURE_system_xcb_xinput=OFF -DBUILD_SHARED_LIBS=ON -DFEATURE_opengl=ON -DFEATURE_opengl_desktop=ON -DPython3_EXECUTABLE=/calypto/tools/install/python-3.8.1-rh7/bin/python3
    3. cmake --build . --parallel
    4. cmake --install .
    jsulmJ 1 Reply Last reply
    0
    • N NavdeepKaur

      hi Team,
      I’m attempting to compile Qt 6.9.1 on ROCKY Linux 8. The compilation and installation processes complete without any errors. However, the QtWebEngine module is not being installed — its libraries are missing from the lib directory. Below is the command I used to compile the source:

      1. Set env
        • setenv LD_LIBRARY_PATH /calypto/tools/install/gcc-10.3.0-rocky8/lib64
        • setenv PATH /calypto/tools/install/rocky8/gperf-3.1/bin:/calypto/tools/bin:$PATH
        • setenv NODEJS /calypto/tools/bin/node
      2. /usr/bin/cmake ../ -G Ninja -DCMAKE_INSTALL_PREFIX=/calypto/tools/install/rocky8/qt-6.9.1 -DCMAKE_C_COMPILER=/calypto/tools/install/gcc-10.3.0-rocky8/bin/gcc -DCMAKE_CXX_COMPILER=/calypto/tools/install/gcc-10.3.0-rocky8/bin/g++ -DCMAKE_BUILD_TYPE=Release -DQT_FEATURE_opengles2=ON -DQT_FEATURE_x11_xss=OFF -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DQT_FEATURE_webengine=ON -DQT_FEATURE_webengine_core=ON -DQT_FEATURE_webengine_widgets=ON -DQT_FEATURE_webgl=ON -DQT_FEATURE_webchannel=ON -DQT_FEATURE_network=ON -DFEATURE_system_xcb_xinput=OFF -DBUILD_SHARED_LIBS=ON -DFEATURE_opengl=ON -DFEATURE_opengl_desktop=ON -DPython3_EXECUTABLE=/calypto/tools/install/python-3.8.1-rh7/bin/python3
      3. cmake --build . --parallel
      4. cmake --install .
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @NavdeepKaur So, what was the cmake output? Was QtWebEngine enabled?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NavdeepKaur
        wrote last edited by
        #3

        hi @jsulm here is my cmake logs
        -- The CXX compiler identification is GNU 10.3.0
        -- The C compiler identification is GNU 10.3.0
        -- Detecting CXX compiler ABI info
        -- Detecting CXX compiler ABI info - done
        -- Check for working CXX compiler: /calypto/tools/install/gcc-10.3.0-rocky8/bin/g++ - skipped
        -- Detecting CXX compile features
        -- Detecting CXX compile features - done
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        -- Check for working C compiler: /calypto/tools/install/gcc-10.3.0-rocky8/bin/gcc - skipped
        -- Detecting C compile features
        -- Detecting C compile features - done
        -- The ASM compiler identification is GNU
        -- Found assembler: /calypto/tools/install/gcc-10.3.0-rocky8/bin/gcc
        -- Checking dependencies of submodule 'qtbase'
        -- Checking dependencies of submodule 'qtimageformats'
        -- Checking dependencies of submodule 'qtlanguageserver'
        -- Checking dependencies of submodule 'qtshadertools'
        -- Checking dependencies of submodule 'qtsvg'
        -- Checking dependencies of submodule 'qtdeclarative'
        -- Checking dependencies of submodule 'qtquicktimeline'
        -- Checking dependencies of submodule 'qtquick3d'
        -- Checking dependencies of submodule 'qtmultimedia'
        -- Checking dependencies of submodule 'qt3d'
        -- Checking dependencies of submodule 'qt5compat'
        -- Checking dependencies of submodule 'qtactiveqt'
        -- Checking dependencies of submodule 'qtcharts'
        -- Checking dependencies of submodule 'qtcoap'
        -- Checking dependencies of submodule 'qtconnectivity'
        -- Checking dependencies of submodule 'qtdatavis3d'
        -- Checking dependencies of submodule 'qtgraphs'
        -- Checking dependencies of submodule 'qtwebsockets'
        -- Checking dependencies of submodule 'qthttpserver'
        -- Checking dependencies of submodule 'qtserialport'
        -- Checking dependencies of submodule 'qtpositioning'
        -- Checking dependencies of submodule 'qtlocation'
        -- Checking dependencies of submodule 'qttools'
        -- Checking dependencies of submodule 'qtwebchannel'
        -- Checking dependencies of submodule 'qtwebengine'
        -- Checking dependencies of submodule 'qtdoc'
        -- Checking dependencies of submodule 'qtgrpc'
        -- Checking dependencies of submodule 'qtlottie'
        -- Checking dependencies of submodule 'qtmqtt'
        -- Checking dependencies of submodule 'qtnetworkauth'
        -- Checking dependencies of submodule 'qtopcua'
        -- Checking dependencies of submodule 'qtquick3dphysics'
        -- Checking dependencies of submodule 'qtquickeffectmaker'
        -- Checking dependencies of submodule 'qtremoteobjects'
        -- Checking dependencies of submodule 'qtscxml'
        -- Checking dependencies of submodule 'qtsensors'
        -- Checking dependencies of submodule 'qtserialbus'
        -- Checking dependencies of submodule 'qtspeech'
        -- Checking dependencies of submodule 'qttranslations'
        -- Checking dependencies of submodule 'qtvirtualkeyboard'
        -- Checking dependencies of submodule 'qtwayland'
        -- Checking dependencies of submodule 'qtwebview'
        -- Configuring submodule 'qtbase'
        -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
        -- Configuring submodule 'qtimageformats'
        -- Check if compiler accepts -pthread
        -- Check if compiler accepts -pthread - yes
        -- Configuring submodule 'qtlanguageserver'
        -- Configuring submodule 'qtshadertools'
        -- Configuring submodule 'qtsvg'
        -- Configuring submodule 'qtdeclarative'
        -- Configuring submodule 'qtquicktimeline'
        -- Configuring submodule 'qtquick3d'
        -- Configuring submodule 'qtmultimedia'
        -- Configuring submodule 'qt3d'
        -- Configuring submodule 'qt5compat'
        CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:443 (message):
        INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
        Please port your module to use declarative type registration.
        Call Stack (most recent call first):
        qt5compat/src/imports/graphicaleffects5/CMakeLists.txt:36 (qt_internal_add_qml_module)
        This warning is for project developers. Use -Wno-dev to suppress it.

        -- Configuring submodule 'qtactiveqt'
        Condition "WIN32" is not met, enabling documentation build only.
        -- Configuring submodule 'qtcharts'
        -- Configuring submodule 'qtcoap'
        -- Configuring submodule 'qtconnectivity'
        -- Configuring submodule 'qtdatavis3d'
        CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3390 (message):
        Qt policy QTP0004 is not set: You need qmldir files for each extra
        directory that contains .qml files for your module. Check
        https://doc.qt.io/qt-6/qt-cmake-policy-qtp0004.html for policy details.
        Use the qt_policy command to set the policy and suppress this warning.

        Call Stack (most recent call first):
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3535 (__qt_internal_setup_policy)
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:916 (qt6_target_qml_sources)
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:312 (qt6_add_qml_module)
        qtdatavis3d/src/datavisualizationqml/CMakeLists.txt:27 (qt_internal_add_qml_module)
        This warning is for project developers. Use -Wno-dev to suppress it.

        -- Configuring submodule 'qtgraphs'
        -- Configuring submodule 'qtwebsockets'
        CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:443 (message):
        INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
        Please port your module to use declarative type registration.
        Call Stack (most recent call first):
        qtwebsockets/src/imports/qmlwebsockets/CMakeLists.txt:4 (qt_internal_add_qml_module)
        This warning is for project developers. Use -Wno-dev to suppress it.

        -- Configuring submodule 'qthttpserver'
        -- Configuring submodule 'qtserialport'
        -- Configuring submodule 'qtpositioning'
        -- Configuring submodule 'qtlocation'
        -- Configuring submodule 'qttools'
        -- Configuring submodule 'qtwebchannel'
        -- Configuring submodule 'qtwebengine'
        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'ninja' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'libpng' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'libtiff' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 're2' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'icu' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'opus' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'vpx' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'libavutil' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'libavcodec' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message):
        Version for check 'libavformat' defined but no configure check for it
        Call Stack (most recent call first):
        qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check)
        qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure)

        CMake Deprecation Warning at build/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3380 (message):
        Qt policy QTP0004 is set to OLD. Support for the old behavior will be
        removed in a future major version of Qt.
        Call Stack (most recent call first):
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3535 (__qt_internal_setup_policy)
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:916 (qt6_target_qml_sources)
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:312 (qt6_add_qml_module)
        qtwebengine/src/pdfquick/CMakeLists.txt:20 (qt_internal_add_qml_module)

        -- Configuring submodule 'qtdoc'
        -- Configuring submodule 'qtgrpc'
        -- Could NOT find protobuf (missing: protobuf_DIR)
        -- Could NOT find protobuf (missing: protobuf_DIR)
        CMake Warning at qtgrpc/cmake/FindWrapProtoc.cmake:79 (message):
        'protoc' executable is not found. Install protobuf using this instruction
        https://protobuf.dev/installation/ and make sure 'protoc' executable is in
        PATH.
        Call Stack (most recent call first):
        qtbase/cmake/QtFindPackageHelpers.cmake:141 (find_package)
        qtgrpc/src/protobuf/configure.cmake:25 (qt_find_package)
        qtbase/cmake/QtFeature.cmake:736 (include)
        qtgrpc/src/CMakeLists.txt:5 (qt_feature_evaluate_features)

        -- Could NOT find protobuf (missing: protobuf_DIR)
        -- Could NOT find protobuf (missing: protobuf_DIR)
        CMake Warning at qtgrpc/cmake/FindWrapProtoc.cmake:79 (message):
        'protoc' executable is not found. Install protobuf using this instruction
        https://protobuf.dev/installation/ and make sure 'protoc' executable is in
        PATH.
        Call Stack (most recent call first):
        qtbase/cmake/QtFindPackageHelpers.cmake:141 (find_package)
        qtgrpc/src/protobuf/configure.cmake:25 (qt_find_package)
        qtbase/cmake/QtModuleHelpers.cmake:681 (include)
        qtgrpc/src/protobuf/CMakeLists.txt:4 (qt_internal_add_module)

        -- Configuring submodule 'qtlottie'
        -- Configuring submodule 'qtmqtt'
        -- Configuring submodule 'qtnetworkauth'
        -- Configuring submodule 'qtopcua'
        -- Configuring submodule 'qtquick3dphysics'
        -- Configuring submodule 'qtquickeffectmaker'
        Nodes path: qml/QtQuickEffectMaker/defaultnodes
        -- Configuring submodule 'qtremoteobjects'
        -- Configuring submodule 'qtscxml'
        -- Configuring submodule 'qtsensors'
        -- Configuring submodule 'qtserialbus'
        -- Configuring submodule 'qtspeech'
        -- Configuring submodule 'qttranslations'
        -- Configuring submodule 'qtvirtualkeyboard'
        -- Configuring submodule 'qtwayland'
        CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3390 (message):
        Qt policy QTP0004 is not set: You need qmldir files for each extra
        directory that contains .qml files for your module. Check
        https://doc.qt.io/qt-6/qt-cmake-policy-qtp0004.html for policy details.
        Use the qt_policy command to set the policy and suppress this warning.

        Call Stack (most recent call first):
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3535 (__qt_internal_setup_policy)
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:916 (qt6_target_qml_sources)
        build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:312 (qt6_add_qml_module)
        qtwayland/src/compositor/CMakeLists.txt:234 (qt_internal_add_qml_module)
        This warning is for project developers. Use -Wno-dev to suppress it.

        -- Configuring submodule 'qtwebview'

        -- Configuration summary has been written to /calypto/dt/new_ver_qt/qt-everywhere-src-6.9.1/build/config.summary

        Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
        Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.

        WARNING: No backend for low level audio found.
        WARNING: No media backend found
        WARNING:
        QDoc will not be compiled, probably because clang's C and C++ libraries could not be located.
        This means that you cannot build the Qt documentation. You may need to set the CMake variables
        CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
        Other than clang's libraries, you may need to install another package, such as clang itself, to
        provide the ClangConfig.cmake file needed to detect your libraries. Once this file is in place,
        the configure script may be able to detect your system-installed libraries without further
        environment variables.

        NOTE: You WILL also need to set the FEATURE_clang CMake variable to ON to re-try finding the
        dependencies.

        On macOS, you can use Homebrew's llvm package.
        Run brew install llvm and then configure with

        configure LLVM_INSTALL_DIR=/opt/homebrew/opt/llvm FEATURE_clang=ON for macOS arm64
        or
        configure LLVM_INSTALL_DIR=/usr/local/opt/llvm FEATURE_clang_ON for macOS x86_64.

        On Linux, you can try installing the clang package from your distribution's package manager.
        On Debian / Ubuntu run sudo apt install libclang-dev.
        On Fedora / RHEL run sudo dnf install clang-devel.
        On ArchLinux run sudo pacman -S clang llvm.

        Alternatively, you can use the prebuilt binaries hosted by Qt.
        These let you link LLVM/Clang libraries statically, but only support Release builds on Windows.
        https://download.qt.io/development_releases/prebuilt/libclang/qt/

        After installing, reconfigure with

        /qt_src/configure FEATURE_clang=ON for a top-level build that includes the qttools repo
        or
        /qt_build/qt-configure-module /path/to/qttools FEATURE_clang=ON for a per-submodule build

        WARNING: The Clang-based lupdate parser will not be available. Suitable LLVM and Clang C++ libraries have not been found. You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
        WARNING: Qt WebEngine And Qt Pdf SBOM generation will be skipped due to missing dependencies. Required Python dependencies not found: spdx_tools.spdx.clitools.pyspdxtools

        WARNING: QtPdf has warnings. The following configure warnings were found:

        • No harfbuzz library at least 4.3.0 version or later. Using build-in one
          WARNING: QtWebEngine has warnings. The following configure warnings were found:
        • No harfbuzz library at least 4.3.0 version or later. Using build-in one
          WARNING: System GBM is disabled. The bundled minigbm supports Intel only, you might need to install libgbm to avoid rendering issues.

        --

        Qt is now configured for building. Just run 'cmake --build . --parallel'

        Once everything is built, you must run 'cmake --install .'
        Qt will be installed into '/calypto/tools/install/rocky8/qt-6.9.1'

        To configure and build other Qt modules, you can use the following convenience script:
        /calypto/tools/install/rocky8/qt-6.9.1/bin/qt-configure-module

        If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
        Alternatively, you can add the --fresh flag to your CMake flags.

        -- Configuring done (1287.1s)
        -- Generating done (53.0s)
        CMake Warning:
        Manually-specified variables were not used by the project:

        FEATURE_system_xcb_xinput
        QT_FEATURE_webchannel
        QT_FEATURE_webengine
        QT_FEATURE_webengine_core
        QT_FEATURE_webengine_widgets
        QT_FEATURE_webgl
        QT_FEATURE_x11_xss
        

        -- Build files have been written to: /calypto/dt/new_ver_qt/qt-everywhere-src-6.9.1/build

        1 Reply Last reply
        0
        • N Offline
          N Offline
          NavdeepKaur
          wrote last edited by
          #4

          hi @jsulm Would you be able to help me with this?

          jsulmJ 1 Reply Last reply
          0
          • N NavdeepKaur

            hi @jsulm Would you be able to help me with this?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote last edited by
            #5

            @NavdeepKaur You can try to build and install QtWebEngine explicetly (build and install that module after installing rest of Qt).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • N Offline
              N Offline
              NavdeepKaur
              wrote last edited by
              #6

              @jsulm did you found any error/warnings in my cmake logs?

              jsulmJ 1 Reply Last reply
              0
              • N NavdeepKaur

                @jsulm did you found any error/warnings in my cmake logs?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote last edited by
                #7

                @NavdeepKaur There are warnings regarding some libraries, but no errors. Was QtWebEngine built (but not installed)? And as I suggested before: try to install it explicitly.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  NavdeepKaur
                  wrote last edited by
                  #8

                  no, its failing at this step : CMake Error at <dir>/qt-everywhere-src-6.9.1/qtwebengine/cmake/QtGnGen.cmake:95 (message):

                  -- GN FAILED

                  ERROR at //build/config/linux/pkg_config.gni:104:17: Script returned
                  non-zero exit code.

                    pkgresult = exec_script(pkg_config_script, args, "json")
                                ^----------
                  

                  Current dir:
                  <dir>/qt-everywhere-src-6.9.1/build/qtwebengine/src/core/Release/x86_64/

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    NavdeepKaur
                    wrote last edited by
                    #9

                    now its failing due to:
                    FAILED: v8_context_snapshot_generator
                    "<>/python-3.8.1-rh7/bin/python3" "<>/qtwebengine/src/3rdparty/chromium/build/toolchain/gcc_link_wrapper.py" --output="./v8_context_snapshot_generator" -- <>/gcc-10.3.0-rocky8/bin/g++ -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -m64 -Wl,-O2 -Wl,--gc-sections -Wl,-z,defs -Wl,--as-needed -rdynamic -pie -Wl,--disable-new-dtags -L<>/rocky8/harfbuzz-11.3.3/lib64 -o "./v8_context_snapshot_generator" -Wl,--start-group @"./v8_context_snapshot_generator.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lresolv -ljpeg -lpng16 -lz -lxml2 -lxslt -lm -lexpat -lfreetype -lfontconfig -lharfbuzz-subset -lharfbuzz -ldbus-1 -ldrm -lasound -ludev -Wl,--start-group -Wl,--end-group

                    <>/qt/build/qtwebengine/src/core/Release/x86_64/obj/third_party/blink/renderer/modules/app_banner/libapp_banner.a: error adding symbols: Malformed archive
                    collect2: error: ld returned 1 exit status

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved