Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.9
-
None
Description
building assistant fails when litehtml is installed on ubuntu-24.04:
FAILED: qttools/src/assistant/qlitehtml/src/CMakeFiles/qlitehtml.dir/container_qpainter.cpp.o
/usr/bin/ccache /usr/bin/clang++-18 -DQLITEHTML_STATIC_LIBRARY -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_JAVA_STYLE_ITERATORS -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -I/home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qttools/src/assistant/qlitehtml/src/qlitehtml_autogen/include -I/home/tim/dev/qt6-dev/qttools/src/assistant/qlitehtml/src -I/home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/include -I/home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/include/QtWidgets -I/home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/include/QtCore -I/home/tim/dev/qt6-dev/qtbase/mkspecs/linux-clang -I/home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/include/QtGui -g -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fcolor-diagnostics -w -fPIC -MD -MT qttools/src/assistant/qlitehtml/src/CMakeFiles/qlitehtml.dir/container_qpainter.cpp.o -MF qttools/src/assistant/qlitehtml/src/CMakeFiles/qlitehtml.dir/container_qpainter.cpp.o.d -o qttools/src/assistant/qlitehtml/src/CMakeFiles/qlitehtml.dir/container_qpainter.cpp.o -c /home/tim/dev/qt6-dev/qttools/src/assistant/qlitehtml/src/container_qpainter.cpp
In file included from /home/tim/dev/qt6-dev/qttools/src/assistant/qlitehtml/src/container_qpainter.cpp:5:
/home/tim/dev/qt6-dev/qttools/src/assistant/qlitehtml/src/container_qpainter_p.h:8:10: fatal error: 'litehtml.h' file not found
8 | #include <litehtml.h>
| ^~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
reason is that litehtml.h is not installed into /usr/include/, but in /usr/include/litehtml/
- there doesn't seem to be a way to opt-out the system-wide installed litehtml
- qlitehtml has a newer version that provides QLITEHTML_USE_SYSTEM_LITEHTML, but (but updating i get a bunch of other compile errors)
Attachments
Issue Links
- links to