Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.3, 6.0.3, 6.1.3, 6.2
-
None
Description
This was discovered while trying to build QtNetworkAuth targeting WebAssembly ( a static build)
https://codereview.qt-project.org/c/qt/qt5/+/336695/25
But can be easily reproduced by configuring a host Qt with -shared and -no-feature-thread (which implies -no-feature-http).
If one gets past the compilation errors, you get multiple link errors.
The source files either need to be adapted to properly handle QT_NO_HTTP or the module should skip building anything if the feature is disabled.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-93243 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
345958,3 | wasm: Work around compilation failures when FEATURE_http=OFF | dev | qt/qtnetworkauth | Status: MERGED | +2 | 0 |
345983,5 | CMake: Skip building QtNetworkAuth if QT_FEATURE_http is OFF | dev | qt/qtnetworkauth | Status: MERGED | +2 | 0 |