Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Cannot find gn when configuring QtWebEngine
Forum Updated to NodeBB v4.3 + New Features

Cannot find gn when configuring QtWebEngine

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 554 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.
  • _ Offline
    _ Offline
    _qt-qt_
    wrote on last edited by
    #1

    Hello. I'm building a qtwebengine from source to enable proprietary codecs.
    When I configured the previous versions, gn was always found and there was no problem when building it.
    But in 6.7.3 version, gn is not found though there is gn.exe file in the Qt directory and build failed. Is the build failing because gn cannot be found?

    D:\Source\qtwebengine_6_7_3v\build>qt-configure-module.bat .. -webengine-proprietary-codecs
    -- Windows 10 SDK version: 10.0.26100.0
    'C:\Qt\6.7.3\msvc2019_64\bin\qt-cmake-private.bat' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DINPUT_webengine_proprietary_codecs=yes' 'D:/Source/qtwebengine_6_7_3v'
    -- The C compiler identification is MSVC 19.29.30156.0
    -- The CXX compiler identification is MSVC 19.29.30156.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - not found
    -- Found Threads: TRUE
    -- Performing Test HAVE_STDATOMIC
    -- Performing Test HAVE_STDATOMIC - Failed
    -- Performing Test HAVE_STDATOMIC_WITH_LIB
    -- Performing Test HAVE_STDATOMIC_WITH_LIB - Failed
    -- Found WrapAtomic: TRUE
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    -- Windows 10 SDK version: 10.0.26100.0
    
    -- Configuration summary shown below. It has also been written to D:/Source/qtwebengine_6_7_3v/build/config.summary
    -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
    
    -- Configure summary:
    
    WebEngine Repository Build Options:
      Build Ninja ............................ no
      Build Gn ............................... no
      Jumbo Build ............................ yes
      Developer build ........................ no
      Build QtWebEngine Modules:
        Build QtWebEngineCore ................ yes
        Build QtWebEngineWidgets ............. yes
        Build QtWebEngineQuick ............... yes
      Build QtPdf Modules:
        Build QtPdfWidgets ................... yes
        Build QtPdfQuick ..................... yes
    Qt WebEngineCore:
      Embedded build ......................... no
      Full debug information ................. no
      Sanitizer support ...................... no
      Pepper Plugins ......................... yes
      Printing and PDF ....................... yes
      Proprietary Codecs ..................... yes
      Spellchecker ........................... yes
      Native Spellchecker .................... no
      WebRTC ................................. yes
      PipeWire over GIO ...................... no
      Geolocation ............................ yes
      WebChannel support ..................... yes
      Kerberos Authentication ................ yes
      Extensions ............................. yes
      Vulkan support ......................... yes
      Use v8 context snapshot ................ yes
      Build WebEngineDriver .................. yes
    Qt WebEngineQuick:
      UI Delegates ........................... yes
    Qt PDF:
      Support V8 ............................. no
      Support XFA ............................ no
      Support XFA-BMP ........................ no
      Support XFA-GIF ........................ no
      Support XFA-PNG ........................ no
      Support XFA-TIFF ....................... no
      Bitcode support ........................ no
      Use static runtime ..................... no
    
    
    -- Configuring done (22.5s)
    -- Generating done (2.1s)
    -- Build files have been written to: D:/Source/qtwebengine_6_7_3v/build
    
    
    jsulmJ 1 Reply Last reply
    0
    • _ _qt-qt_

      Hello. I'm building a qtwebengine from source to enable proprietary codecs.
      When I configured the previous versions, gn was always found and there was no problem when building it.
      But in 6.7.3 version, gn is not found though there is gn.exe file in the Qt directory and build failed. Is the build failing because gn cannot be found?

      D:\Source\qtwebengine_6_7_3v\build>qt-configure-module.bat .. -webengine-proprietary-codecs
      -- Windows 10 SDK version: 10.0.26100.0
      'C:\Qt\6.7.3\msvc2019_64\bin\qt-cmake-private.bat' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DINPUT_webengine_proprietary_codecs=yes' 'D:/Source/qtwebengine_6_7_3v'
      -- The C compiler identification is MSVC 19.29.30156.0
      -- The CXX compiler identification is MSVC 19.29.30156.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - not found
      -- Found Threads: TRUE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Failed
      -- Performing Test HAVE_STDATOMIC_WITH_LIB
      -- Performing Test HAVE_STDATOMIC_WITH_LIB - Failed
      -- Found WrapAtomic: TRUE
      -- Building for multiple configurations: RelWithDebInfo;Debug.
      -- Main configuration is: RelWithDebInfo.
      -- Windows 10 SDK version: 10.0.26100.0
      
      -- Configuration summary shown below. It has also been written to D:/Source/qtwebengine_6_7_3v/build/config.summary
      -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
      
      -- Configure summary:
      
      WebEngine Repository Build Options:
        Build Ninja ............................ no
        Build Gn ............................... no
        Jumbo Build ............................ yes
        Developer build ........................ no
        Build QtWebEngine Modules:
          Build QtWebEngineCore ................ yes
          Build QtWebEngineWidgets ............. yes
          Build QtWebEngineQuick ............... yes
        Build QtPdf Modules:
          Build QtPdfWidgets ................... yes
          Build QtPdfQuick ..................... yes
      Qt WebEngineCore:
        Embedded build ......................... no
        Full debug information ................. no
        Sanitizer support ...................... no
        Pepper Plugins ......................... yes
        Printing and PDF ....................... yes
        Proprietary Codecs ..................... yes
        Spellchecker ........................... yes
        Native Spellchecker .................... no
        WebRTC ................................. yes
        PipeWire over GIO ...................... no
        Geolocation ............................ yes
        WebChannel support ..................... yes
        Kerberos Authentication ................ yes
        Extensions ............................. yes
        Vulkan support ......................... yes
        Use v8 context snapshot ................ yes
        Build WebEngineDriver .................. yes
      Qt WebEngineQuick:
        UI Delegates ........................... yes
      Qt PDF:
        Support V8 ............................. no
        Support XFA ............................ no
        Support XFA-BMP ........................ no
        Support XFA-GIF ........................ no
        Support XFA-PNG ........................ no
        Support XFA-TIFF ....................... no
        Bitcode support ........................ no
        Use static runtime ..................... no
      
      
      -- Configuring done (22.5s)
      -- Generating done (2.1s)
      -- Build files have been written to: D:/Source/qtwebengine_6_7_3v/build
      
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @_qt-qt_ Please either run configure with -v parameter or do what it suggests: Configure with --log-level=STATUS
      Then you will get more details, else nobody can tell why it is not detected.

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

      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