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. Codecs QWebEngine Cpp/Qt
Forum Updated to NodeBB v4.3 + New Features

Codecs QWebEngine Cpp/Qt

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 1 Posters 501 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.
  • P Offline
    P Offline
    Paullux
    wrote on 14 Mar 2022, 14:34 last edited by
    #1

    Hello,

    I have developed an app to have the france.tv website in a desktop application

    I use Qt Open Source 5.15.2 & CMake

    The Link to my source code is here : https://github.com/Paullux/FranceTV

    The thing is that under linux the videos are launched without problems but on windows impossible to read them and I have in the player a message NO RENDERER FOUND Error 5000
    Perhaps ffmpeg problem, proprietary codec or other, I do not know why, nor how to solve the problem

    The error message is :

    I:\FranceTV\cmake-build-release\FranceTV.exe
    js: Refused to set unsafe header "User-Agent"
    js: Didomi - Only restriction type 'disallow' is valid for special features
    js: Didomi - Only restriction type 'disallow' is valid for special features
    js: Uncaught (in promise) TypeError: Failed to fetch
    js: Didomi - Only restriction type 'disallow' is valid for special features
    js: Didomi - Only restriction type 'disallow' is valid for special features
    js: Uncaught (in promise) TypeError: Failed to fetch
    js: Didomi - Only restriction type 'disallow' is valid for special features
    js: Didomi - Only restriction type 'disallow' is valid for special features
    js: Refused to set unsafe header "User-Agent"
    js: Refused to set unsafe header "User-Agent"
    js: Uncaught (in promise) Error
    js: Uncaught (in promise) TypeError: Failed to fetch
    js: [Magneto] [05:22:22:50:64]: AUTO_PLAY_POLICY_ERROR [object DOMException]
    js: [Magneto] [05:22:22:50:71]: MagnetoError [object Object]
    js: Uncaught TypeError: Invalid event target
    

    I need help

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Paullux
      wrote on 19 Mar 2022, 09:11 last edited by Paullux
      #2

      Hello,

      When I try to recompile QtWebEngine with the proprietary codecs

      I have an error :

      C:\Qt\5.15.2\Src\qtwebengine>"C:\Qt\5.15.2\msvc2019_64\bin\qmake.exe" -- -webengine-proprietary-codecs
      
      Running configuration tests...
      Done running configuration tests.
      
      Configure summary:
      
      Qt WebEngine Build Tools:
        Use System Ninja ....................... no
        Use System Gn .......................... no
        Jumbo Build Merge Limit ................ no
        Developer build ........................ no
        Sanitizer .............................. no
      
      Note: The following modules are not being compiled in this configuration:
          webenginecore
          webengine
          webenginewidgets
          pdf
          pdfwidgets
      
      WARNING: QtWebEngine requires a Windows SDK version 10.0.18362 or newer.
      
      WARNING: QtPdf requires a Windows SDK version 10.0.18362 or newer.
      
      WARNING: QtWebEngine will not be built.
      
      WARNING: QtPdf will not be built.
      
      Qt is now configured for building. Just run 'nmake'.
      Once everything is built, you must run 'nmake install'.
      Qt will be installed into 'C:\Qt\5.15.2\msvc2019_64'.
      
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      

      so i add a bat file :
      qt5vars.bat to have the path of compilation

      @echo off
      
      REM Set up \Microsoft Visual Studio 2019, where <arch> is \c amd64, \c x86, etc.
      CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_x86 10.0.18362
      
      REM Edit this location to point to the source code of Qt
      SET _ROOT=C:\Qt\Qt5.15.2\Src
      SET _PYTHON=C:\Python27
      
      SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%_ROOT%;%_PYTHON%;%PATH%
      
      SET _ROOT=
      SET _PYTHON=
      
      REM Keeps the command line open when this script is run.
      cmd /k
      

      I installed all dependancies but it's dont detect Windows SDK

      1 Reply Last reply
      1

      1/2

      14 Mar 2022, 14:34

      • Login

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