Reputation: 83
We need to support to mp4 file in QtwebengineView. So we are trying to build qtwebengine of Qt 5.9.1 on msvc2015 x64, with proprietary codecs, by using following command at cmd with working directory is qtwebengine in source.
"D:\qt-everywhere-opensource-src-5.9.1\qtbase\bin\qmake.exe WEBENGINE_CONFIG+=use_proprietary_codecs"
we are facing below error.
WinRT is not supported.
QtWebEngine will not be built
We tried to follow following link: How to compile Qt webengine (5.11) on Windows with proprietary codecs But that didn't work either.
How can we build qtwebengine of qt 5.9.1 with proprietary codecs?
Upvotes: 3
Views: 2498
Reputation: 505
I just successfully build QtWebEngine 5.9.6
My build environment:
You can refer to my build process.
Before we start building, let's install the tools:
Download the source code for qt
git clone https://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.9.6
perl init-repository --module-subset=qtwebengine,qtwebview
Let's start the formal build
cd qtwebengine
qmake.exe WEBENGINE_CONFIG+=use_proprietary_codecs
jom.exe
Then there's the long build process...
The final file will be generated in the qt5/qtwebengine/bin directory after the build is completed
Upvotes: 1