- Get configure's help:
It will show you:
In other words, release builds are meant to be the default when configuring Qt.
- Configure and build Qt.
clang will not use flags "-DNDEBUG -O2". The resulting libQt6Core.so.6.0.0 will have 50MB. This does not seem to be a release build. When specifying "-release" explicitly, libQt6Core.so.6.0.0 will have less than 7MB.
I think release builds should still be the default. If the change was intentional, at least configure's help text should be updated.
|For Gerrit Dashboard: QTBUG-89476|
|327004,2||oss-fuzz: Explicitly build for release||dev||qt/qtqa||Status: MERGED||+2||0|
|327610,4||CMake: Use Release build type by default||dev||qt/qtbase||Status: MERGED||+2||0|
|327682,2||CMake: Use Release build type by default||6.0||qt/qtbase||Status: MERGED||+2||0|