Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.6.2
-
None
Description
Operating System: Windows 10 (x64 Bit) 22H2 8GB RAM
Build environment: Microsoft Visual Studio 2022 with desktop development for c++, Qt 6.6.2
Configure Command: "C:\Qt\Src\configure.bat" -prefix "C:\Qt\Binary" -release -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtcoap -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgraphs -skip qtgrpc -skip qthttpserver -skip qtimageformats -skip qtinsighttracker -skip qtlanguageserver -skip qtlocation -skip qtlottie -skip qtmqtt -skip qtmultimedia -skip qtnetworkauth -skip qtopcua -skip qtpositioning -skip qtquick3d -skip qtquick3dphysics -skip qtquickeffectmaker -skip qtquicktimeline -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebsockets -skip qtwebview -webengine-proprietary-codecs -no-webengine-jumbo-build
Build Command: cmake --build "C:\Qt\Build"
I tried to build qtwebengine from source multiple times and the end result is the same. It keeps failing with the error: "compiler is out of heap space". I look at the task manager while building and the memory consumption goes above 100GB which seems to be a lot higher than normal. I really need to build qtwebengine because I need to enable proprietary codecs to be able to play mp4 videos. Qtwebengine by default disables proprietary codecs due to licensing. But if I need to use proprietary codecs I have to build it from source with the "-webengine-proprietary-codecs" option. But as stated before the build fails and I don't know how else to fix it. How much memory does QT really need to be built, 100GB of memory seems to be excessive.
https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs