Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.3, 6.2.3, 6.3.0 Beta3
-
Ubuntu 20.04 LTS
g++ 9.3.0
cmake 3.16.3, 3.19.2
ninja 1.10.0
Manjaro Linux
g++ 10.2.0
cmake 3.20.1
ninja 1.10.2
-
0412da38b3 (qt/qttools/dev) f14544ab92 (qt/qttools/6.3) 6bb4af7437 (qt/qttools/6.2) 6bb4af7437 (qt/tqtc-qttools/6.2) f14544ab92 (qt/tqtc-qttools/6.3) f14544ab92 (qt/qttools/6.3.1)
Description
- Configure Qt to build statically:
~/dev/src/qt-6.0.3/configure -release -static -prefix $PWD/qtbase -skip webengine -opensource -confirm-license -nomake examples -nomake tests
- Build it:
cmake --build . --parallel
- Build the documentation:
ninja -j1 docs
It will fails with the error message:
[106/140] cd /home/qtrob/dev/g++-10.2....nowebengine-rs/qtbase/./doc/qtcore.qch FAILED: qtbase/src/corelib/CMakeFiles/qch_top_level_docs_Core cd /home/qtrob/dev/g++-10.2.0/qt-6.0.3-nowebengine-rs/qtbase/src/corelib && /home/qtrob/dev/g++-10.2.0/qt-6.0.3-nowebengine-rs/qtbase/bin/qhelpgenerator /home/qtrob/dev/g++-10.2.0/qt-6.0.3-nowebengine-rs/qtbase/./doc/qtcore/qtcore.qhp -o /home/qtrob/dev/g++-10.2.0/qt-6.0.3-nowebengine-rs/qtbase/./doc/qtcore.qch Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.plugin: Could not find the Qt platform plugin "minimal" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: xcb, xcb, xcb, xcb, xcb, xcb, xcb, xcb, xcb, xcb. ninja: build stopped: subcommand failed.
All of the above succeeds when I remove "-static" from the call to configure.
Attachments
Issue Links
- resulted in
-
QTBUG-104490 qhelpgenerator can't find QSqlDatabase drivers in static builds
- Closed