miurahr / aqtinstall

aqt: Another (unofficial) Qt CLI Installer on multi-platforms
https://aqtinstall.readthedocs.io/en/latest/
MIT License
913 stars 84 forks source link

Lots of QDoc Warning Messages show up when building qtcreator-docs with Qt installed by aqtinstall #772

Open hwhsu1231 opened 6 months ago

hwhsu1231 commented 6 months ago

Describe the bug

Related to: https://bugreports.qt.io/browse/QTCREATORBUG-30570

Recently, I reported an issue on QtCreator Issue Tracker. After following the instructions of the assignee, I successfully removed most of "QDoc Warning Messages" when build QtCreator Documentation. However, after that, I tried to use Qt installed by aqtinstall to build QtCreator Documentation. But those "QDoc Warning Messages" came back again.

For example:

Click to expand the QDoc Warning Messages ```bash hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake --build build --target html_docs [1/1] Build HTML documentation from qtcreator/qtcreator.qdocconf QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtwidgets" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtcmake" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtcore" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtqml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtquick" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qmake" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtdesigner" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtdoc" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtgui" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qthelp" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtquicktimeline" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtlinguist" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtpositioning" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtscxml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtsensors" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qttestlib" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtuitools" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtxml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtvirtualkeyboard" (qdoc) Could not find the module header in include paths for module "qtcreator" (include paths: QList("-I/usr/include/c++/11", "-I/usr/include/x86_64-linux-gnu/c++/11", "-I/usr/include/c++/11/backward", "-I/usr/lib/gcc/x86_64-linux-gnu/11/include", "-I/usr/local/include", "-I/usr/include/x86_64-linux-gnu", "-I/usr/include") ) Artificial module header built from header dirs in qdocconf file /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/androiddev.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/androiddev.qdoc:4: (qdoc) warning: Can't link to 'Getting Started with Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android - Building User Projects' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'The androiddeployqt Tool' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Android Package Templates' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'androiddeployqt' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Android Manifest File Configuration' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'QtAndroidPrivate::requestPermission()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Core' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Positioning' ... ```

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install aqt using this command

    pip install aqtinstall
  2. Prepare QtCreator Sources:

    curl -L https://download.qt.io/official_releases/qtcreator/12.0/12.0.2/qt-creator-opensource-src-12.0.2.tar.xz -o qt-creator-opensource-src-12.0.2.tar.xz
    tar -xf qt-creator-opensource-src-12.0.2.tar.xz
    mv qt-creator-opensource-src-12.0.2 qtcreator-12.0.2
    cd qtcreator-12.0.2
  3. Run aqt with this command:

    aqt install-qt linux desktop 6.6.3 gcc_64 --module all 
  4. Build QtCreator Documentation:

    mkdir build
    cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH=$(pwd)/6.6.3/gcc_64 -B build -S .
    cmake --build build --target html_docs 

Expected behavior

Don't show lots of QDoc Warning Messages.

Desktop (please complete the following information):

Additional context

Below is the full log of "Steps To Reproduce":

log-build-qtcreator-12.0.2-docs-with-qt-6.6.3-aqt.txt

miurahr commented 6 months ago

Thank you for reporting the issue. You try to explain when aqtinstall download source packages from https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/ and extract packages successfully, but there are missing files which named " file" ?

If packages on web site has the file but extraction failed to extract it, it might be a bug in extraction. You can check log whether extraction are failed. If so, you can try to use p7zip tool alternatively instead of python's 7zip library py7zr.

If packages on web site don't have the files which you are interested. Because aqtinstall is a basically package downloader and extractor and it doesn't produce any files as feature, it assumes no bug. When you need any files for your project that is not in the packages, it is your task to prepare.

When you know a way to produce the files you are interested, and you consider the feature to produce the files, it would be a new feature request, so please tell us with detailed procedure to produce files.

miurahr commented 6 months ago

@hwhsu1231 Please confirm that the package https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_663/qt.qt6.663.gcc_64/6.6.3-0-202403191846qtbase-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z , which aqtinstall download and extract when your specified command line, does not have a file named 'qt-module.index`.

rectalogic commented 6 months ago

You ran aqt install-qt linux desktop 6.6.3 gcc_64 --module all but this does not install the qdoc index files it is warning about (e.g. QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtcore")

You can install the qdoc index files using e.g.:

> aqt install-doc linux 6.6.3 --outputdir /tmp/Qt`
[...]
> find /tmp/Qt/Docs/Qt-6.6.3 -name '*.index'
/tmp/Qt/Docs/Qt-6.6.3/qmake/qmake.index
/tmp/Qt/Docs/Qt-6.6.3/qdoc/qdoc.index
/tmp/Qt/Docs/Qt-6.6.3/qtqmlmodels/qtqmlmodels.index
/tmp/Qt/Docs/Qt-6.6.3/qtprintsupport/qtprintsupport.index
/tmp/Qt/Docs/Qt-6.6.3/qtopengl/qtopengl.index
/tmp/Qt/Docs/Qt-6.6.3/qtquickcontrols/qtquickcontrols.index
/tmp/Qt/Docs/Qt-6.6.3/qtqml/qtqml.index
/tmp/Qt/Docs/Qt-6.6.3/qtcore/qtcore.index
[...]

Then when you run qdoc to build your docs, pass -indexdir /tmp/Qt/Docs/Qt-6.6.3

hwhsu1231 commented 5 months ago

Hello, @rectalogic,

Based on your response, the main point is to specify the -indexdir for qdoc so it can find the .index files, right?

After reading through the QtCreator source code, I discovered that the code related to -indexdir and qdoc includes the following parts:

Following your advice, I also downloaded the binaries and documentation for Qt-6.6.3 using aqt install-qt/install-doc:

aqt install-qt linux desktop 6.6.3 gcc_64 --module all --outputdir $(pwd)/tmp/Qt
aqt install-doc linux 6.6.3 --outputdir $(pwd)/tmp/Qt

Screenshot_20240406_163515

And during the command line configuration, I tried passing -indexdir $(pwd)/tmp/Qt/Docs/Qt-6.6.3 to qdoc by specifying -DQT_INSTALL_DOCS=$(pwd)/tmp/Qt/Docs/Qt-6.6.3 as a cache:

cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH=$(pwd)/tmp/Qt/6.6.3/gcc_64 -DQT_INSTALL_DOCS=$(pwd)/tmp/Qt/Docs/Qt-6.6.3 -B build -S .
cmake --build build --target html_docs

However, it still didn't solve the issue.

Click to expand the full log ```bash hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ ls -l total 48200 -rw-rw-r-- 1 hwhsu1231 hwhsu1231 421970 4月 6 08:20 aqtinstall.log drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 2月 6 19:18 bin drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 2月 6 19:18 cmake -rw-rw-r-- 1 hwhsu1231 hwhsu1231 5944 2月 6 19:18 CMakeLists.txt -rw-rw-r-- 1 hwhsu1231 hwhsu1231 677 2月 6 19:18 CMakePresets.json drwxrwxr-x 3 hwhsu1231 hwhsu1231 4096 2月 6 19:18 coin drwxrwxr-x 7 hwhsu1231 hwhsu1231 4096 2月 6 19:18 dist drwxrwxr-x 7 hwhsu1231 hwhsu1231 4096 2月 6 19:18 doc -rw-rw-r-- 1 hwhsu1231 hwhsu1231 1088 2月 6 19:18 HACKING -rw-rw-r-- 2 hwhsu1231 hwhsu1231 36363 2月 6 19:18 LICENSE.GPL3-EXCEPT drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 2月 6 19:18 packaging drwxrwxr-x 4 hwhsu1231 hwhsu1231 4096 2月 6 19:18 qbs -rw-rw-r-- 1 hwhsu1231 hwhsu1231 48768836 3月 30 23:29 qt-creator-opensource-src-10.0.2.tar.xz -rw-rw-r-- 1 hwhsu1231 hwhsu1231 1239 2月 6 19:18 qtcreator.qbs -rw-rw-r-- 1 hwhsu1231 hwhsu1231 42686 2月 6 19:18 README.md drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 2月 6 19:18 scripts drwxrwxr-x 5 hwhsu1231 hwhsu1231 4096 2月 6 19:18 share drwxrwxr-x 8 hwhsu1231 hwhsu1231 4096 2月 6 19:18 src drwxrwxr-x 15 hwhsu1231 hwhsu1231 4096 2月 6 19:18 tests drwxrwxr-x 3 hwhsu1231 hwhsu1231 4096 4月 6 08:07 tmp hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ tree -L 3 -d tmp tmp └── Qt ├── 6.6.3 │   └── gcc_64 └── Docs └── Qt-6.6.3 5 directories hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH=$(pwd)/tmp/Qt/6.6.3/gcc_64 -DQT_INSTALL_DOCS=$(pwd)/tmp/Qt/Docs/Qt-6.6.3 -B build -S . CMake Warning (dev) at /snap/cmake/1379/share/cmake-3.29/Modules/GNUInstallDirs.cmake:253 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): cmake/QtCreatorAPIInternal.cmake:75 (include) cmake/QtCreatorAPI.cmake:8 (include) CMakeLists.txt:17 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.13") -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED - Success qml/notes_qt6.vert -> notes_qt6.vert.qsb exposed as :/qt/qml/QtCreator/Tracing/notes_qt6.vert.qsb qml/notes_qt6.frag -> notes_qt6.frag.qsb exposed as :/qt/qml/QtCreator/Tracing/notes_qt6.frag.qsb qml/timelineitems_qt6.vert -> timelineitems_qt6.vert.qsb exposed as :/qt/qml/QtCreator/Tracing/timelineitems_qt6.vert.qsb qml/timelineitems_qt6.frag -> timelineitems_qt6.frag.qsb exposed as :/qt/qml/QtCreator/Tracing/timelineitems_qt6.frag.qsb qml/bindingloops_qt6.frag -> bindingloops_qt6.frag.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.frag.qsb qml/bindingloops_qt6.vert -> bindingloops_qt6.vert.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.vert.qsb -- Found elfutils: /usr/include -- Found Zstd: /usr/lib/x86_64-linux-gnu/libzstd.so -- Could NOT find LibRustcDemangle (missing: LIBRUSTC_DEMANGLE_LIBRARIES) -- Could NOT find LibDDemangle (missing: LIBD_DEMANGLE_LIBRARIES) -- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter -- The following packages have been found: * Qt6CoreTools (required version >= 6.6.3) * Qt6Concurrent (required version >= 6.2.0) * OpenGL * XKB (required version >= 0.5.0), XKB API common to servers and clients., * Vulkan * Qt6GuiTools (required version >= 6.6.3) * Qt6DBusTools (required version >= 6.6.3) * Qt6Gui (required version >= 6.2.0) * Qt6Network (required version >= 6.2.0) * Qt6WidgetsTools (required version >= 6.6.3) * Qt6PrintSupport (required version >= 6.2.0) * Qt6QmlTools (required version >= 6.6.3) * Qt6Qml (required version >= 6.2.0) * Qt6Sql (required version >= 6.2.0) * Qt6Xml (required version >= 6.2.0) * Qt6Core5Compat (required version >= 6.2.0) * WrapVulkanHeaders * Qt6Quick * Qt6QuickWidgets * Qt6Designer * Qt6DesignerComponentsPrivate * Qt6Help * Qt6SerialPort * Qt6Svg * Qt6ToolsTools (required version >= 6.6.3) * Qt6Tools * Qt6LinguistTools * Threads * FFI * Terminfo * ZLIB * PkgConfig * LibXml2 * LLVM * Clang * Qt6Test * Qt6SvgWidgets * Qt6WebEngineCoreTools (required version >= 6.6.3) * Qt6WebEngineWidgets * yaml-cpp, using internal src/libs/3rdparty/yaml-cpp * Qt6QmlDomPrivate * Qt6Quick3DTools (required version >= 6.6.3) * Qt6ShaderToolsTools (required version >= 6.6.3) * Qt6ShaderTools (required version >= 6.6.3) * Qt6Quick3D * Qt6Quick3DAssetImport * Qt6Quick3DParticles * Qt6Quick3DAssetUtils * Qt6 * elfutils, a collection of utilities and libraries to read, create and modify ELF binary files, * Zstd * Python3 -- The following packages have not been found: * Qt6QmlCompilerPlusPrivate * litehtml * Qt6QmlCompilerPrivate * LibRustcDemangle, Demangling for Rust symbols, written in Rust., Demangling of Rust symbols * LibDDemangle, Demangling for D symbols, written in D., Demangling of D symbols -- The following features have been enabled: * Build documentation * Build QmlDesigner and related code (only if Qt is 6.4.3 or newer) * Library 3rd_cplusplus * Library KSyntaxHighlighting * Library libvterm * Library AdvancedDockingSystem, with CONDITION TARGET Qt::QuickWidgets * Library Aggregation * Library CPlusPlus * Library ExtensionSystem * Library GLSL * Library LanguageServerProtocol * Library LanguageUtils * Library Modeling * Library QmlDebug * Library QmlEditorWidgets * Library QmlJS * Library Utils * Library Spinner * Library Tasking * Library TerminalLib * Library Tracing, with CONDITION TARGET Qt6::ShaderTools AND TARGET Qt::Quick * Library SqliteInternal * Library Sqlite * Library QmlPuppetCommunication * Library designerintegrationv2 * Library ProParser * Library shared_help * Plugin Core * Plugin TextEditor * Plugin SerialTerminal, with CONDITION TARGET Qt::SerialPort * Plugin HelloWorld * Plugin ImageViewer * Plugin Marketplace * Plugin ScreenRecorder * Plugin UpdateInfo * Plugin Welcome * Plugin BinEditor * Executable cpaster * Plugin CodePaster * Plugin DiffEditor * Plugin EmacsKeys * Plugin Macros * Plugin ProjectExplorer * Plugin SilverSearcher * Plugin Axivion * Plugin CppEditor * Plugin Haskell * Plugin Help, with CONDITION TARGET Qt::Help * QtWebEngine help viewer, with CONDITION BUILD_HELPVIEWERBACKEND_QTWEBENGINE AND TARGET Qt::WebEngineWidgets * litehtml help viewer, with CONDITION TARGET qlitehtml * Plugin ResourceEditor * Plugin Nim * Plugin Conan * Plugin Vcpkg * Plugin ClassView * Plugin GLSLEditor * Plugin ModelEditor * Plugin QtSupport * Plugin Todo * Plugin VcsBase * Plugin Bazaar * Plugin Beautifier * Plugin ClangFormat, with CONDITION TARGET clangFormat AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND ( QTC_CLANG_BUILDMODE_MATCH OR CLANGTOOLING_LINK_CLANG_DYLIB ) * Plugin ClearCase * Plugin CVS * Plugin Designer, with CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer * Plugin Docker * Plugin FakeVim * Plugin Fossil * Plugin GenericProjectManager * Plugin Git * Plugin Mercurial * Plugin MesonProjectManager * Plugin Perforce * Plugin QmakeProjectManager * Plugin QmlJSTools * Plugin ScxmlEditor * Plugin Subversion * Plugin CompilationDatabaseProjectManager * Plugin LanguageClient * Plugin QmlDesignerBase, with CONDITION TARGET Qt::QuickWidgets * Plugin CMakeProjectManager * Plugin Debugger * Plugin Coco * Plugin GitLab * Plugin QmlProjectManager, with CONDITION TARGET Qt::QuickWidgets * Library QmlProjectManagerLib, with CONDITION Qt6_VERSION VERSION_GREATER_EQUAL 6.4.3 * Plugin Android * Plugin AutoTest * Plugin AutotoolsProjectManager * Plugin BareMetal * Plugin ClangCodeModel * Library yaml-cpp * Plugin ClangTools, with CONDITION TARGET yaml-cpp * Plugin Cppcheck * Plugin IncrediBuild * Plugin Ios * Plugin Python * Plugin QmlJSEditor * Plugin QmlPreview, with CONDITION TARGET QmlProjectManager * Plugin QmlProfiler, with CONDITION TARGET Tracing AND TARGET Qt6::ShaderTools * Plugin RemoteLinux * Plugin Valgrind * Plugin PerfProfiler, with CONDITION TARGET Tracing * Plugin QbsProjectManager * Plugin CtfVisualizer, with CONDITION TARGET Tracing * Plugin Squish * Plugin Boot2Qt * Library QmlDesignerUtils * Library QmlDesignerCore, with CONDITION TARGET QmlDesignerBase AND TARGET Qt6::QmlPrivate AND TARGET Qt6::QmlDomPrivate AND TARGET Qt6::QmlCompilerPrivate * Plugin QmlDesigner, with CONDITION TARGET QmlDesignerCore AND TARGET Qt::QuickWidgets AND TARGET Qt::Svg * Plugin assetexporterplugin, with CONDITION TARGET QmlDesigner * Plugin componentsplugin, with CONDITION TARGET QmlDesigner * Plugin qmlpreviewplugin, with CONDITION TARGET QmlDesigner * Plugin qtquickplugin, with CONDITION TARGET QmlDesigner * Plugin StudioWelcome, with CONDITION TARGET Qt::QuickWidgets AND TARGET QmlDesigner * Plugin Insight, with CONDITION TARGET QtCreator::QmlDesigner * Plugin Qnx * Plugin WebAssembly * Plugin McuSupport * Plugin SafeRenderer * Plugin Copilot * Plugin Terminal * Plugin CompilerExplorer * Executable qtcreator * Executable cplusplus-keywordgen * Executable buildoutputparser * Executable cplusplus-ast2png * Executable cplusplus-frontend * Executable cplusplus-mkvisitor * Executable cplusplus-update-frontend * Executable qtcreator_processlauncher * Executable qml2puppet, with CONDITION TARGET Qt::Quick * Qt Quick 3D support, with CONDITION TARGET Qt::Quick3D * Qt Quick 3D asset import, with CONDITION TARGET Qt::Quick3DAssetImport * Qt Quick 3D particles, with CONDITION TARGET Qt::Quick3DParticles * Qt Quick 3D asset utils, with CONDITION TARGET Qt::Quick3DAssetUtils * Executable qtc-askpass * Executable qtcreator_crash_handler, with CONDITION UNIX AND NOT APPLE AND ( CMAKE_BUILD_TYPE STREQUAL Debug ) * Executable qtpromaker * Library sdktoolLib * Executable sdktool * Executable valgrind-fake * Library perfparser_lib * Executable perfparser * Executable perf2text * Executable qtcreator_process_stub -- The following features have been disabled: * Build online documentation * Build tests * Build with sanitize, SANITIZE_FLAGS='' * Build with Crashpad * Library Nanotrace * Build Qbs * Native WebKit help viewer, with CONDITION FWWebKit AND FWAppKit * Treat warnings as errors in QmlDesigner * ProjectStorage * Plugin EffectMakerNew, with CONDITION TARGET QmlDesigner AND TARGET Qt::ShaderTools * multilanguage-support in qml2puppet, with CONDITION TARGET QtCreator::multilanguage-support * Include developer documentation -- Configuring done (4.0s) -- Generating done (2.2s) -- Build files have been written to: /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/build hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake --build build --target html_docs [1/1] Build HTML documentation from qtcreator/qtcreator.qdocconf QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtwidgets" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtcmake" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtcore" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtqml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtquick" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qmake" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtdesigner" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtdoc" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtgui" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qthelp" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtquicktimeline" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtlinguist" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtpositioning" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtscxml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtsensors" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qttestlib" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtuitools" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtxml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtvirtualkeyboard" (qdoc) Could not find the module header in include paths for module "qtcreator" (include paths: QList("-I/usr/include/c++/11", "-I/usr/include/x86_64-linux-gnu/c++/11", "-I/usr/include/c++/11/backward", "-I/usr/lib/gcc/x86_64-linux-gnu/11/include", "-I/usr/local/include", "-I/usr/include/x86_64-linux-gnu", "-I/usr/include") ) Artificial module header built from header dirs in qdocconf file /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/androiddev.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/androiddev.qdoc:4: (qdoc) warning: Can't link to 'Getting Started with Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android - Building User Projects' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'The androiddeployqt Tool' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Android Package Templates' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'androiddeployqt' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Android Manifest File Configuration' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'QtAndroidPrivate::requestPermission()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Core' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Positioning' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/cmake/creator-projects-cmake-building.qdoc:4: (qdoc) warning: Can't link to 'CMake Variable Reference' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc:302: (qdoc) warning: Can't link to 'qt_add_executable' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc:302: (qdoc) warning: Can't link to 'qt_add_library' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc:302: (qdoc) warning: Can't link to 'qt_add_qml_module' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc:330: (qdoc) warning: Can't link to 'qt_add_library' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc:330: (qdoc) warning: Can't link to 'Structuring projects' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/debugger/qtquick-debugger-example.qdoc:10: (qdoc) warning: Can't link to 'QML Advanced Tutorial' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/debugger/qtquick-debugging.qdoc:10: (qdoc) warning: Can't link to 'CONFIG' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/editors/creator-code-syntax.qdoc:4: (qdoc) warning: Can't link to 'Component' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/editors/creator-code-syntax.qdoc:4: (qdoc) warning: Can't link to 'Component' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/editors/creator-code-syntax.qdoc:4: (qdoc) warning: Can't link to 'Import Statements' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/editors/creator-code-syntax.qdoc:4: (qdoc) warning: Can't link to 'qmlformat' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-external-tools.qdoc:125: (qdoc) warning: Can't link to 'Qt Linguist Manual' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-help.qdoc:240: (qdoc) warning: Can't link to 'The Qt Help Framework' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-how-to-set-high-dpi-scaling.qdoc:4: (qdoc) warning: Can't link to 'High DPI' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-how-to-set-high-dpi-scaling.qdoc:4: (qdoc) warning: Can't link to 'Qt::HighDpiScaleFactorRoundingPolicy' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc:10: (qdoc) warning: Can't link to 'Resource Files' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-only/creator-autotest.qdoc:4: (qdoc) warning: Can't link to 'Qt Test' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-only/creator-autotest.qdoc:4: (qdoc) warning: Can't link to 'Creating a Test' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-only/creator-autotest.qdoc:4: (qdoc) warning: Can't link to 'Creating a Benchmark' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-only/creator-cli.qdoc:10: (qdoc) warning: Can't link to 'QApplication' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-only/creator-cli.qdoc:10: (qdoc) warning: Can't link to 'Qt Style Sheets' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-only/qtcreator-faq.qdoc:4: (qdoc) warning: Can't link to 'Qt for Windows - Graphics Acceleration' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/ios/creator-ios-dev.qdoc:4: (qdoc) warning: Can't link to 'QMAKE_IOS_DEPLOYMENT_TARGET' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/ios/creator-ios-dev.qdoc:4: (qdoc) warning: Can't link to 'Expressing Supported iOS Versions' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/linux-mobile/creator-deployment-embedded-linux.qdoc:10: (qdoc) warning: Can't link to 'Variables#installs' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/linux-mobile/creator-embedded-platforms.qdoc:4: (qdoc) warning: Can't link to 'Qt for QNX' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/linux-mobile/creator-embedded-platforms.qdoc:4: (qdoc) warning: Can't link to 'Qt for QNX' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-only/creator-glossary.qdoc:10: (qdoc) warning: Can't link to 'Component' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-only/creator-mobile-platforms.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-only/creator-mobile-platforms.qdoc:4: (qdoc) warning: Can't link to 'Qt for iOS' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-only/creator-overview.qdoc:10: (qdoc) warning: Can't link to 'Qt Quick' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-only/creator-overview.qdoc:10: (qdoc) warning: Can't link to 'Publishing to Google Play' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-only/creator-tutorials.qdoc:4: (qdoc) warning: Can't link to 'User Interfaces' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-tech-support.qdoc:10: (qdoc) warning: Can't link to 'Qt Quick Examples and Tutorials' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-tech-support.qdoc:10: (qdoc) warning: Can't link to 'Qt Examples and Tutorials' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-build-settings-qmake.qdoc:4: (qdoc) warning: Can't link to 'Adding Platform Specific Source Files' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-build-settings-qmake.qdoc:4: (qdoc) warning: Can't link to 'Ahead-of-Time Compilation' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-files-creating.qdoc:135: (qdoc) warning: Can't link to 'The Qt Resource System' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-files-creating.qdoc:135: (qdoc) warning: Can't link to 'QLocale' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-files-creating.qdoc:201: (qdoc) warning: Can't link to 'Qt GUI' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-how-to-select-build-systems.qdoc:4: (qdoc) warning: Can't link to 'qmake Manual' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-how-to-select-build-systems.qdoc:4: (qdoc) warning: Can't link to 'Qbs Manual' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-creating.qdoc:250: (qdoc) warning: Can't link to 'TEMPLATE' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-creating.qdoc:250: (qdoc) warning: Can't link to 'Variables#subdirs' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-kits.qdoc:10: (qdoc) warning: Can't link to 'Emulator' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-kits.qdoc:67: (qdoc) warning: Can't link to 'Emulator' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc:10: (qdoc) warning: Can't link to 'PRE_TARGETDEPS' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc:10: (qdoc) warning: Can't link to 'Declaring Other Libraries' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-only/creator-projects-settings-run.qdoc:10: (qdoc) warning: Can't link to 'TEMPLATE' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/projects/creator-projects-running.qdoc:10: (qdoc) warning: Can't link to 'Qt for QNX' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-python-development.qdoc:4: (qdoc) warning: Can't link to 'Qt Core' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-python-development.qdoc:4: (qdoc) warning: Can't link to 'Qt GUI' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-python-development.qdoc:4: (qdoc) warning: Can't link to 'Qt Widgets' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'Text' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'Button' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'ColumnLayout' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qnx/creator-developing-qnx.qdoc:5: (qdoc) warning: Can't link to 'Qt for QNX' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Sensors' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt for Android' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Image' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Accelerometer' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'SmoothedAnimation' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Getting started with CMake' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-development.qdoc:10: (qdoc) warning: Can't link to 'Qt QML' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-development.qdoc:10: (qdoc) warning: Can't link to 'Qt Quick' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-development.qdoc:10: (qdoc) warning: Can't link to 'All QML Types' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Quick' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'User Interfaces' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Quick States' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Animation and Transitions in Qt Quick' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Quick Examples and Tutorials' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Window' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Item' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Rectangle' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Image' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'MouseArea' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'qmake' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Qt Virtual Keyboard' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Installing Qt' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Qt Virtual Keyboard' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'The Qt Resource System' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'QQuickView' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'Qt Quick Timeline' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'qmake' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'The Qt Resource System' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-modules-with-plugins.qdoc:10: (qdoc) warning: Can't link to 'Defining a QML Module' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-modules-with-plugins.qdoc:10: (qdoc) warning: Can't link to 'Creating C++ Plugins for QML' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-modules-with-plugins.qdoc:10: (qdoc) warning: Can't link to 'Module Definition qmldir Files' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-modules-with-plugins.qdoc:10: (qdoc) warning: Can't link to 'Defining QML Types from C++' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-modules-with-plugins.qdoc:10: (qdoc) warning: Can't link to 'Type Description Files' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-profiler.qdoc:10: (qdoc) warning: Can't link to 'Visualizing Overdraw' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-profiler.qdoc:10: (qdoc) warning: Can't link to 'Qt Quick Scene Graph' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-profiler.qdoc:10: (qdoc) warning: Can't link to 'Qt Quick Scene Graph Default Renderer' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-toolbars.qdoc:10: (qdoc) warning: Can't link to 'Border Image' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-toolbars.qdoc:10: (qdoc) warning: Can't link to 'Image' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-toolbars.qdoc:10: (qdoc) warning: Can't link to 'Text' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'QQuickItem' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Item' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::darker()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::hsla()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::hsva()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::lighter()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::rgba()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::tint()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::formatDate()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::formatDateTime()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::formatTime()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::matrix4x4()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::point()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::quaternion()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::rect()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::size()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::vector2d()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::vector3d()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::vector4d()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::qsTr()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::qsTranslate()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::qsTranslateNoOp()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::qsTrId()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::qsTrIdNoOp()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc:10: (qdoc) warning: Can't link to 'Qt::qsTrNoOp()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/webassembly/creator-webassembly.qdoc:4: (qdoc) warning: Can't link to 'Qt for WebAssembly' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Text Finder' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Designer Manual' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'QTextEdit::setPlainText()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'QTextEdit::find()' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-overview.qdoc:10: (qdoc) warning: Can't link to 'Qt Designer Manual' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-plugins.qdoc:10: (qdoc) warning: Can't link to 'How to Create Qt Plugins' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/widgets/qtdesigner-plugins.qdoc:10: (qdoc) warning: Can't link to 'Using Custom Widgets with Qt Designer' hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ ```

Do you have any idea what happened to this?

rectalogic commented 5 months ago

The cmake script is querying qmake to find QT_INSTALL_DOCS https://github.com/qt-creator/qt-creator/blob/a0bd498b3125f6f633e45a71d431b256c0536a76/cmake/QtCreatorDocumentation.cmake#L21

So simplest fix is to install the index files where it expects them. Run qmake -query QT_INSTALL_DOCS and install your index files where it expects them

hwhsu1231 commented 5 months ago

So simplest fix is to install the index files where it expects them. Run qmake -query QT_INSTALL_DOCS and install your index files where it expects them

Hello, @rectalogic

After running the qmake -query QT_INSTALL_DOCS command, I have some new discovers.

To summarize, the reason why using Qt online installer to install Qt-6.6.3 for QtCreator documentation building does not encounter any issues is because:

Its qt.conf has modified the location of QT_INSTALL_DOCS.

Below are my tests on qmake in Qt installed via installer and aqtinstall:

hwhsu1231@vb-kubuntu:~/Qt/6.6.3/gcc_64/bin$ ./qmake --version
QMake version 3.1
Using Qt version 6.6.3 in /home/hwhsu1231/Qt/6.6.3/gcc_64/lib
hwhsu1231@vb-kubuntu:~/Qt/6.6.3/gcc_64/bin$ ./qmake -query QT_INSTALL_DOCS
/home/hwhsu1231/Qt/Docs/Qt-6.6.3
hwhsu1231@vb-kubuntu:~/Qt/6.6.3/gcc_64/bin$ cat qt.conf
[Paths]
Documentation=../../Docs/Qt-6.6.3
Examples=../../Examples/Qt-6.6.3
Prefix=..
hwhsu1231@vb-kubuntu:~/Qt/6.6.3/gcc_64/bin$
hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2/tmp/Qt/6.6.3/gcc_64/bin$ ./qmake --version
QMake version 3.1
Using Qt version 6.6.3 in /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/tmp/Qt/6.6.3/gcc_64/lib
hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2/tmp/Qt/6.6.3/gcc_64/bin$ ./qmake -query QT_INSTALL_DOCS
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/tmp/Qt/6.6.3/gcc_64/doc
hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2/tmp/Qt/6.6.3/gcc_64/bin$ cat qt.conf
[Paths]
Prefix=..
hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2/tmp/Qt/6.6.3/gcc_64/bin$

As we can see:

Therefore, another solution is to modify the qt.conf file in the Qt-6.6.3 version installed by aqtinstall, by adding the following:

Documentation=../../Docs/Qt-6.6.3

However, although making this modification indeed removes many QDoc Warning messages, some still remain:

hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake --build build --target html_docs
[1/1] Build HTML documentation from qtcreator/qtcreator.qdocconf
QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtquicktimeline"
QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtpositioning"
QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtscxml"
QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtsensors"
QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtvirtualkeyboard"
(qdoc) Could not find the module header in include paths for module "qtcreator"   (include paths:  QList("-I/usr/include/c++/11", "-I/usr/include/x86_64-linux-gnu/c++/11", "-I/usr/include/c++/11/backward", "-I/usr/lib/gcc/x86_64-linux-gnu/11/include", "-I/usr/local/include", "-I/usr/include/x86_64-linux-gnu", "-I/usr/include") )
       Artificial module header built from header dirs in qdocconf file
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Positioning'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc:10: (qdoc) warning: Can't link to 'Resource Files'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-tech-support.qdoc:10: (qdoc) warning: Can't link to 'Qt Examples and Tutorials'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'Button'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Sensors'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Accelerometer'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Qt Virtual Keyboard'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Qt Virtual Keyboard'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'Qt Quick Timeline'
hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ 

Do you have any idea what happened to this?

Click to expand the full log ```bash hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ tree -L 3 tmp/ tmp/ └── Qt ├── 6.6.3 │   └── gcc_64 └── Docs └── Qt-6.6.3 5 directories, 0 files hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cat tmp/Qt/6.6.3/gcc_64/bin/qt.conf [Paths] Documentation=../../Docs/Qt-6.6.3 Examples=../../Examples/Qt-6.6.3 Prefix=.. hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ mkdir -p build hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH=$(pwd)/tmp/Qt/6.6.3/gcc_64 -B build -S . CMake Warning (dev) at /snap/cmake/1379/share/cmake-3.29/Modules/GNUInstallDirs.cmake:253 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): cmake/QtCreatorAPIInternal.cmake:75 (include) cmake/QtCreatorAPI.cmake:8 (include) CMakeLists.txt:17 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.13") -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED - Success qml/notes_qt6.vert -> notes_qt6.vert.qsb exposed as :/qt/qml/QtCreator/Tracing/notes_qt6.vert.qsb qml/notes_qt6.frag -> notes_qt6.frag.qsb exposed as :/qt/qml/QtCreator/Tracing/notes_qt6.frag.qsb qml/timelineitems_qt6.vert -> timelineitems_qt6.vert.qsb exposed as :/qt/qml/QtCreator/Tracing/timelineitems_qt6.vert.qsb qml/timelineitems_qt6.frag -> timelineitems_qt6.frag.qsb exposed as :/qt/qml/QtCreator/Tracing/timelineitems_qt6.frag.qsb qml/bindingloops_qt6.frag -> bindingloops_qt6.frag.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.frag.qsb qml/bindingloops_qt6.vert -> bindingloops_qt6.vert.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.vert.qsb -- Found elfutils: /usr/include -- Found Zstd: /usr/lib/x86_64-linux-gnu/libzstd.so -- Could NOT find LibRustcDemangle (missing: LIBRUSTC_DEMANGLE_LIBRARIES) -- Could NOT find LibDDemangle (missing: LIBD_DEMANGLE_LIBRARIES) -- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter -- The following packages have been found: * Qt6CoreTools (required version >= 6.6.3) * Qt6Concurrent (required version >= 6.2.0) * OpenGL * XKB (required version >= 0.5.0), XKB API common to servers and clients., * Vulkan * Qt6GuiTools (required version >= 6.6.3) * Qt6DBusTools (required version >= 6.6.3) * Qt6Gui (required version >= 6.2.0) * Qt6Network (required version >= 6.2.0) * Qt6WidgetsTools (required version >= 6.6.3) * Qt6PrintSupport (required version >= 6.2.0) * Qt6QmlTools (required version >= 6.6.3) * Qt6Qml (required version >= 6.2.0) * Qt6Sql (required version >= 6.2.0) * Qt6Xml (required version >= 6.2.0) * Qt6Core5Compat (required version >= 6.2.0) * WrapVulkanHeaders * Qt6Quick * Qt6QuickWidgets * Qt6Designer * Qt6DesignerComponentsPrivate * Qt6Help * Qt6SerialPort * Qt6Svg * Qt6ToolsTools (required version >= 6.6.3) * Qt6Tools * Qt6LinguistTools * Threads * FFI * Terminfo * ZLIB * PkgConfig * LibXml2 * LLVM * Clang * Qt6Test * Qt6SvgWidgets * Qt6WebEngineCoreTools (required version >= 6.6.3) * Qt6WebEngineWidgets * yaml-cpp, using internal src/libs/3rdparty/yaml-cpp * Qt6QmlDomPrivate * Qt6Quick3DTools (required version >= 6.6.3) * Qt6ShaderToolsTools (required version >= 6.6.3) * Qt6ShaderTools (required version >= 6.6.3) * Qt6Quick3D * Qt6Quick3DAssetImport * Qt6Quick3DParticles * Qt6Quick3DAssetUtils * Qt6 * elfutils, a collection of utilities and libraries to read, create and modify ELF binary files, * Zstd * Python3 -- The following packages have not been found: * Qt6QmlCompilerPlusPrivate * litehtml * Qt6QmlCompilerPrivate * LibRustcDemangle, Demangling for Rust symbols, written in Rust., Demangling of Rust symbols * LibDDemangle, Demangling for D symbols, written in D., Demangling of D symbols -- The following features have been enabled: * Build documentation * Build QmlDesigner and related code (only if Qt is 6.4.3 or newer) * Library 3rd_cplusplus * Library KSyntaxHighlighting * Library libvterm * Library AdvancedDockingSystem, with CONDITION TARGET Qt::QuickWidgets * Library Aggregation * Library CPlusPlus * Library ExtensionSystem * Library GLSL * Library LanguageServerProtocol * Library LanguageUtils * Library Modeling * Library QmlDebug * Library QmlEditorWidgets * Library QmlJS * Library Utils * Library Spinner * Library Tasking * Library TerminalLib * Library Tracing, with CONDITION TARGET Qt6::ShaderTools AND TARGET Qt::Quick * Library SqliteInternal * Library Sqlite * Library QmlPuppetCommunication * Library designerintegrationv2 * Library ProParser * Library shared_help * Plugin Core * Plugin TextEditor * Plugin SerialTerminal, with CONDITION TARGET Qt::SerialPort * Plugin HelloWorld * Plugin ImageViewer * Plugin Marketplace * Plugin ScreenRecorder * Plugin UpdateInfo * Plugin Welcome * Plugin BinEditor * Executable cpaster * Plugin CodePaster * Plugin DiffEditor * Plugin EmacsKeys * Plugin Macros * Plugin ProjectExplorer * Plugin SilverSearcher * Plugin Axivion * Plugin CppEditor * Plugin Haskell * Plugin Help, with CONDITION TARGET Qt::Help * QtWebEngine help viewer, with CONDITION BUILD_HELPVIEWERBACKEND_QTWEBENGINE AND TARGET Qt::WebEngineWidgets * litehtml help viewer, with CONDITION TARGET qlitehtml * Plugin ResourceEditor * Plugin Nim * Plugin Conan * Plugin Vcpkg * Plugin ClassView * Plugin GLSLEditor * Plugin ModelEditor * Plugin QtSupport * Plugin Todo * Plugin VcsBase * Plugin Bazaar * Plugin Beautifier * Plugin ClangFormat, with CONDITION TARGET clangFormat AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND ( QTC_CLANG_BUILDMODE_MATCH OR CLANGTOOLING_LINK_CLANG_DYLIB ) * Plugin ClearCase * Plugin CVS * Plugin Designer, with CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer * Plugin Docker * Plugin FakeVim * Plugin Fossil * Plugin GenericProjectManager * Plugin Git * Plugin Mercurial * Plugin MesonProjectManager * Plugin Perforce * Plugin QmakeProjectManager * Plugin QmlJSTools * Plugin ScxmlEditor * Plugin Subversion * Plugin CompilationDatabaseProjectManager * Plugin LanguageClient * Plugin QmlDesignerBase, with CONDITION TARGET Qt::QuickWidgets * Plugin CMakeProjectManager * Plugin Debugger * Plugin Coco * Plugin GitLab * Plugin QmlProjectManager, with CONDITION TARGET Qt::QuickWidgets * Library QmlProjectManagerLib, with CONDITION Qt6_VERSION VERSION_GREATER_EQUAL 6.4.3 * Plugin Android * Plugin AutoTest * Plugin AutotoolsProjectManager * Plugin BareMetal * Plugin ClangCodeModel * Library yaml-cpp * Plugin ClangTools, with CONDITION TARGET yaml-cpp * Plugin Cppcheck * Plugin IncrediBuild * Plugin Ios * Plugin Python * Plugin QmlJSEditor * Plugin QmlPreview, with CONDITION TARGET QmlProjectManager * Plugin QmlProfiler, with CONDITION TARGET Tracing AND TARGET Qt6::ShaderTools * Plugin RemoteLinux * Plugin Valgrind * Plugin PerfProfiler, with CONDITION TARGET Tracing * Plugin QbsProjectManager * Plugin CtfVisualizer, with CONDITION TARGET Tracing * Plugin Squish * Plugin Boot2Qt * Library QmlDesignerUtils * Library QmlDesignerCore, with CONDITION TARGET QmlDesignerBase AND TARGET Qt6::QmlPrivate AND TARGET Qt6::QmlDomPrivate AND TARGET Qt6::QmlCompilerPrivate * Plugin QmlDesigner, with CONDITION TARGET QmlDesignerCore AND TARGET Qt::QuickWidgets AND TARGET Qt::Svg * Plugin assetexporterplugin, with CONDITION TARGET QmlDesigner * Plugin componentsplugin, with CONDITION TARGET QmlDesigner * Plugin qmlpreviewplugin, with CONDITION TARGET QmlDesigner * Plugin qtquickplugin, with CONDITION TARGET QmlDesigner * Plugin StudioWelcome, with CONDITION TARGET Qt::QuickWidgets AND TARGET QmlDesigner * Plugin Insight, with CONDITION TARGET QtCreator::QmlDesigner * Plugin Qnx * Plugin WebAssembly * Plugin McuSupport * Plugin SafeRenderer * Plugin Copilot * Plugin Terminal * Plugin CompilerExplorer * Executable qtcreator * Executable cplusplus-keywordgen * Executable buildoutputparser * Executable cplusplus-ast2png * Executable cplusplus-frontend * Executable cplusplus-mkvisitor * Executable cplusplus-update-frontend * Executable qtcreator_processlauncher * Executable qml2puppet, with CONDITION TARGET Qt::Quick * Qt Quick 3D support, with CONDITION TARGET Qt::Quick3D * Qt Quick 3D asset import, with CONDITION TARGET Qt::Quick3DAssetImport * Qt Quick 3D particles, with CONDITION TARGET Qt::Quick3DParticles * Qt Quick 3D asset utils, with CONDITION TARGET Qt::Quick3DAssetUtils * Executable qtc-askpass * Executable qtcreator_crash_handler, with CONDITION UNIX AND NOT APPLE AND ( CMAKE_BUILD_TYPE STREQUAL Debug ) * Executable qtpromaker * Library sdktoolLib * Executable sdktool * Executable valgrind-fake * Library perfparser_lib * Executable perfparser * Executable perf2text * Executable qtcreator_process_stub -- The following features have been disabled: * Build online documentation * Build tests * Build with sanitize, SANITIZE_FLAGS='' * Build with Crashpad * Library Nanotrace * Build Qbs * Native WebKit help viewer, with CONDITION FWWebKit AND FWAppKit * Treat warnings as errors in QmlDesigner * ProjectStorage * Plugin EffectMakerNew, with CONDITION TARGET QmlDesigner AND TARGET Qt::ShaderTools * multilanguage-support in qml2puppet, with CONDITION TARGET QtCreator::multilanguage-support * Include developer documentation -- Configuring done (3.7s) -- Generating done (1.6s) -- Build files have been written to: /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/build hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake --build build --target html_docs [1/1] Build HTML documentation from qtcreator/qtcreator.qdocconf QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtquicktimeline" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtpositioning" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtscxml" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtsensors" QDoc: warning: "qtcreator" Cannot locate index file for dependency "qtvirtualkeyboard" (qdoc) Could not find the module header in include paths for module "qtcreator" (include paths: QList("-I/usr/include/c++/11", "-I/usr/include/x86_64-linux-gnu/c++/11", "-I/usr/include/c++/11/backward", "-I/usr/lib/gcc/x86_64-linux-gnu/11/include", "-I/usr/local/include", "-I/usr/include/x86_64-linux-gnu", "-I/usr/include") ) Artificial module header built from header dirs in qdocconf file /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/android/deploying-android.qdoc:4: (qdoc) warning: Can't link to 'Qt Positioning' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc:10: (qdoc) warning: Can't link to 'Resource Files' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-tech-support.qdoc:10: (qdoc) warning: Can't link to 'Qt Examples and Tutorials' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'Button' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Qt Sensors' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/creator-mobile-app-tutorial.qdoc:4: (qdoc) warning: Can't link to 'Accelerometer' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Qt Virtual Keyboard' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/creator-only/qtquick-creating.qdoc:10: (qdoc) warning: Can't link to 'Qt Virtual Keyboard' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc:4: (qdoc) warning: Can't link to 'Qt Quick Timeline' hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ ```
rectalogic commented 5 months ago

To summarize, the reason why using Qt online installer to install Qt-6.6.3 for QtCreator documentation building does not encounter any issues is because:

Its qt.conf has modified the location of QT_INSTALL_DOCS.

Interesting. @miurahr it seems like aqtinstall should handle this too? i.e. install-doc and install-example should modify an existing installations qt.conf to add the paths to where it installed those components?

$ cat ~/Qt/6.6.3/gcc_64/bin/qt.conf
[Paths]
Documentation=../../Docs/Qt-6.6.3
Examples=../../Examples/Qt-6.6.3
Prefix=..

Or maybe inform the user of what they must manually add to that file?

However, although making this modification indeed removes many QDoc Warning messages, some still remain:

It looks like you need to install some additional modules docs:

$ python -m aqt list-doc -m linux 6.6.3
qt3d qt5compat qtactiveqt qtbluetooth qtcharts qtdatavis3d qtgraphs qtgrpc qthttpserver qtimageformats qtlocation qtlottie qtmultimedia qtnetworkauth qtnfc qtpdf qtpositioning qtquick3d qtquick3dphysics qtquickeffectmaker qtquicktimeline qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtshadertools qtspeech qtvirtualkeyboard qtwebchannel qtwebengine qtwebsockets qtwebview

So use python -m aqt install-doc linux 6.6.3 -m qtquicktimeline qtpositioning qtscxml qtsensors qtvirtualkeyboard

hwhsu1231 commented 5 months ago

Hello, @rectalogic.

So use python -m aqt install-doc linux 6.6.3 -m qtquicktimeline qtpositioning qtscxml qtsensors qtvirtualkeyboard

After following your instructions to install those additional modules, and then rebuild the documentation:

aqt install-doc linux 6.6.3 --outputdir $(pwd)/tmp/Qt -m qtquicktimeline qtpositioning qtscxml qtsensors qtvirtualkeyboard
cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH=$(pwd)/tmp/Qt/6.6.3/gcc_64 -B build -S .
cmake --build build --target html_docs

it indeed removed some warnning messages, but still remained some:

hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake --build build --target html_docs
[1/1] Build HTML documentation from qtcreator/qtcreator.qdocconf
(qdoc) Could not find the module header in include paths for module "qtcreator"   (include paths:  QList("-I/usr/include/c++/11", "-I/usr/include/x86_64-linux-gnu/c++/11", "-I/usr/include/c++/11/backward", "-I/usr/lib/gcc/x86_64-linux-gnu/11/include", "-I/usr/local/include", "-I/usr/include/x86_64-linux-gnu", "-I/usr/include") )
       Artificial module header built from header dirs in qdocconf file
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc:10: (qdoc) warning: Can't link to 'Resource Files'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-tech-support.qdoc:10: (qdoc) warning: Can't link to 'Qt Examples and Tutorials'
/home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'Button'
hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$
Click to expand the full log ```bash hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ aqt install-doc linux 6.6.3 --outputdir $(pwd)/tmp/Qt -m qtquicktimeline qtpositioning qtscxml qtsensors qtvirtualkeyboard INFO : aqtinstall(aqt) v3.1.12 on Python 3.10.12 [CPython GCC 11.4.0] WARNING : Specified Qt version "6.6.3" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best. INFO : Downloading qtdistancefieldgenerator... INFO : Downloading qtcore... INFO : Downloading qt5... INFO : Downloading qtassistant... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtdistancefieldgenerator-documentation.tar.xz in 5.13857018 INFO : Finished installation of qt5-documentation.tar.xz in 5.21935447 INFO : Finished installation of qtassistant-documentation.tar.xz in 5.55475016 INFO : Downloading qtdoc... INFO : Downloading qdoc... INFO : Downloading qtconcurrent... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qdoc-documentation.tar.xz in 4.62624351 INFO : Finished installation of qtconcurrent-documentation.tar.xz in 4.55094180 INFO : Downloading qmake... INFO : Downloading qtcmake... INFO : Finished installation of qtcore-documentation.tar.xz in 11.67275159 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtdbus... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtcmake-documentation.tar.xz in 4.53118848 INFO : Finished installation of qmake-documentation.tar.xz in 5.06621595 INFO : Finished installation of qtdoc-documentation.tar.xz in 10.33677376 INFO : Downloading qthelp... INFO : Downloading qtnetwork... INFO : Finished installation of qtdbus-documentation.tar.xz in 5.30075845 INFO : Downloading qtgui... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtdesigner... INFO : Finished installation of qthelp-documentation.tar.xz in 4.72915268 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtnetwork-documentation.tar.xz in 5.37470589 INFO : Downloading qtlabsplatform... INFO : Downloading qtopengl... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtdesigner-documentation.tar.xz in 5.88698809 INFO : Downloading qtprintsupport... INFO : Finished installation of qtgui-documentation.tar.xz in 8.72622260 INFO : Finished installation of qtlabsplatform-documentation.tar.xz in 4.84501215 INFO : Finished installation of qtopengl-documentation.tar.xz in 4.87869497 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtlinguist... INFO : Downloading qtqmlmodels... INFO : Downloading qtplatformintegration... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtprintsupport-documentation.tar.xz in 4.50409624 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtqmlmodels-documentation.tar.xz in 4.45071882 INFO : Downloading qtqml... INFO : Finished installation of qtlinguist-documentation.tar.xz in 5.25302118 INFO : Finished installation of qtplatformintegration-documentation.tar.xz in 4.46781288 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtqmltest... INFO : Downloading qtqmlxmllistmodel... INFO : Downloading qtquickdialogs... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtqml-documentation.tar.xz in 5.18374543 INFO : Finished installation of qtqmltest-documentation.tar.xz in 4.45681595 INFO : Finished installation of qtqmlxmllistmodel-documentation.tar.xz in 4.25809333 INFO : Downloading qtqmlcore... INFO : Finished installation of qtquickdialogs-documentation.tar.xz in 4.47010491 INFO : Downloading qtqmlworkerscript... INFO : Downloading qtquick... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtsql... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtqmlcore-documentation.tar.xz in 4.46116747 INFO : Finished installation of qtqmlworkerscript-documentation.tar.xz in 4.44300946 INFO : Downloading qttestlib... INFO : Downloading qtwidgets... INFO : Finished installation of qtsql-documentation.tar.xz in 5.45776836 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtsvg... INFO : Finished installation of qttestlib-documentation.tar.xz in 4.64071957 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtuitools... INFO : Finished installation of qtsvg-documentation.tar.xz in 4.36941093 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtquicktimeline... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtuitools-documentation.tar.xz in 5.47423873 INFO : Finished installation of qtquick-documentation.tar.xz in 13.86531223 INFO : Downloading qtwaylandcompositor... INFO : Finished installation of qtquicktimeline-documentation.tar.xz in 4.53874172 INFO : Downloading qtquickcontrols... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtscxml... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtwidgets-documentation.tar.xz in 15.40630732 INFO : Finished installation of qtscxml-documentation.tar.xz in 5.01476473 INFO : Finished installation of qtwaylandcompositor-documentation.tar.xz in 6.89760980 INFO : Downloading qtxml... INFO : Finished installation of qtquickcontrols-documentation.tar.xz in 7.00777846 INFO : Downloading qtstatemachine... INFO : Downloading qtsensors... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtxml-documentation.tar.xz in 4.88228194 INFO : Finished installation of qtstatemachine-documentation.tar.xz in 4.79116820 INFO : Downloading qtpositioning... INFO : Finished installation of qtsensors-documentation.tar.xz in 5.46074933 INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Downloading qtvirtualkeyboard... INFO : Redirected: mirrors.sjtug.sjtu.edu.cn INFO : Finished installation of qtpositioning-documentation.tar.xz in 5.11690870 INFO : Finished installation of qtvirtualkeyboard-documentation.tar.xz in 5.84718730 INFO : Finished installation INFO : Time elapsed: 68.89900641 second hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON -DCMAKE_PREFIX_PATH=$(pwd)/tmp/Qt/6.6.3/gcc_64 -B build -S . CMake Warning (dev) at /snap/cmake/1379/share/cmake-3.29/Modules/GNUInstallDirs.cmake:253 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): cmake/QtCreatorAPIInternal.cmake:75 (include) cmake/QtCreatorAPI.cmake:8 (include) CMakeLists.txt:17 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.13") -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED - Success qml/notes_qt6.vert -> notes_qt6.vert.qsb exposed as :/qt/qml/QtCreator/Tracing/notes_qt6.vert.qsb qml/notes_qt6.frag -> notes_qt6.frag.qsb exposed as :/qt/qml/QtCreator/Tracing/notes_qt6.frag.qsb qml/timelineitems_qt6.vert -> timelineitems_qt6.vert.qsb exposed as :/qt/qml/QtCreator/Tracing/timelineitems_qt6.vert.qsb qml/timelineitems_qt6.frag -> timelineitems_qt6.frag.qsb exposed as :/qt/qml/QtCreator/Tracing/timelineitems_qt6.frag.qsb qml/bindingloops_qt6.frag -> bindingloops_qt6.frag.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.frag.qsb qml/bindingloops_qt6.vert -> bindingloops_qt6.vert.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.vert.qsb -- Found elfutils: /usr/include -- Found Zstd: /usr/lib/x86_64-linux-gnu/libzstd.so -- Could NOT find LibRustcDemangle (missing: LIBRUSTC_DEMANGLE_LIBRARIES) -- Could NOT find LibDDemangle (missing: LIBD_DEMANGLE_LIBRARIES) -- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter -- The following packages have been found: * Qt6CoreTools (required version >= 6.6.3) * Qt6Concurrent (required version >= 6.2.0) * OpenGL * XKB (required version >= 0.5.0), XKB API common to servers and clients., * Vulkan * Qt6GuiTools (required version >= 6.6.3) * Qt6DBusTools (required version >= 6.6.3) * Qt6Gui (required version >= 6.2.0) * Qt6Network (required version >= 6.2.0) * Qt6WidgetsTools (required version >= 6.6.3) * Qt6PrintSupport (required version >= 6.2.0) * Qt6QmlTools (required version >= 6.6.3) * Qt6Qml (required version >= 6.2.0) * Qt6Sql (required version >= 6.2.0) * Qt6Xml (required version >= 6.2.0) * Qt6Core5Compat (required version >= 6.2.0) * WrapVulkanHeaders * Qt6Quick * Qt6QuickWidgets * Qt6Designer * Qt6DesignerComponentsPrivate * Qt6Help * Qt6SerialPort * Qt6Svg * Qt6ToolsTools (required version >= 6.6.3) * Qt6Tools * Qt6LinguistTools * Threads * FFI * Terminfo * ZLIB * PkgConfig * LibXml2 * LLVM * Clang * Qt6Test * Qt6SvgWidgets * Qt6WebEngineCoreTools (required version >= 6.6.3) * Qt6WebEngineWidgets * yaml-cpp, using internal src/libs/3rdparty/yaml-cpp * Qt6QmlDomPrivate * Qt6Quick3DTools (required version >= 6.6.3) * Qt6ShaderToolsTools (required version >= 6.6.3) * Qt6ShaderTools (required version >= 6.6.3) * Qt6Quick3D * Qt6Quick3DAssetImport * Qt6Quick3DParticles * Qt6Quick3DAssetUtils * Qt6 * elfutils, a collection of utilities and libraries to read, create and modify ELF binary files, * Zstd * Python3 -- The following packages have not been found: * Qt6QmlCompilerPlusPrivate * litehtml * Qt6QmlCompilerPrivate * LibRustcDemangle, Demangling for Rust symbols, written in Rust., Demangling of Rust symbols * LibDDemangle, Demangling for D symbols, written in D., Demangling of D symbols -- The following features have been enabled: * Build documentation * Build QmlDesigner and related code (only if Qt is 6.4.3 or newer) * Library 3rd_cplusplus * Library KSyntaxHighlighting * Library libvterm * Library AdvancedDockingSystem, with CONDITION TARGET Qt::QuickWidgets * Library Aggregation * Library CPlusPlus * Library ExtensionSystem * Library GLSL * Library LanguageServerProtocol * Library LanguageUtils * Library Modeling * Library QmlDebug * Library QmlEditorWidgets * Library QmlJS * Library Utils * Library Spinner * Library Tasking * Library TerminalLib * Library Tracing, with CONDITION TARGET Qt6::ShaderTools AND TARGET Qt::Quick * Library SqliteInternal * Library Sqlite * Library QmlPuppetCommunication * Library designerintegrationv2 * Library ProParser * Library shared_help * Plugin Core * Plugin TextEditor * Plugin SerialTerminal, with CONDITION TARGET Qt::SerialPort * Plugin HelloWorld * Plugin ImageViewer * Plugin Marketplace * Plugin ScreenRecorder * Plugin UpdateInfo * Plugin Welcome * Plugin BinEditor * Executable cpaster * Plugin CodePaster * Plugin DiffEditor * Plugin EmacsKeys * Plugin Macros * Plugin ProjectExplorer * Plugin SilverSearcher * Plugin Axivion * Plugin CppEditor * Plugin Haskell * Plugin Help, with CONDITION TARGET Qt::Help * QtWebEngine help viewer, with CONDITION BUILD_HELPVIEWERBACKEND_QTWEBENGINE AND TARGET Qt::WebEngineWidgets * litehtml help viewer, with CONDITION TARGET qlitehtml * Plugin ResourceEditor * Plugin Nim * Plugin Conan * Plugin Vcpkg * Plugin ClassView * Plugin GLSLEditor * Plugin ModelEditor * Plugin QtSupport * Plugin Todo * Plugin VcsBase * Plugin Bazaar * Plugin Beautifier * Plugin ClangFormat, with CONDITION TARGET clangFormat AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND ( QTC_CLANG_BUILDMODE_MATCH OR CLANGTOOLING_LINK_CLANG_DYLIB ) * Plugin ClearCase * Plugin CVS * Plugin Designer, with CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer * Plugin Docker * Plugin FakeVim * Plugin Fossil * Plugin GenericProjectManager * Plugin Git * Plugin Mercurial * Plugin MesonProjectManager * Plugin Perforce * Plugin QmakeProjectManager * Plugin QmlJSTools * Plugin ScxmlEditor * Plugin Subversion * Plugin CompilationDatabaseProjectManager * Plugin LanguageClient * Plugin QmlDesignerBase, with CONDITION TARGET Qt::QuickWidgets * Plugin CMakeProjectManager * Plugin Debugger * Plugin Coco * Plugin GitLab * Plugin QmlProjectManager, with CONDITION TARGET Qt::QuickWidgets * Library QmlProjectManagerLib, with CONDITION Qt6_VERSION VERSION_GREATER_EQUAL 6.4.3 * Plugin Android * Plugin AutoTest * Plugin AutotoolsProjectManager * Plugin BareMetal * Plugin ClangCodeModel * Library yaml-cpp * Plugin ClangTools, with CONDITION TARGET yaml-cpp * Plugin Cppcheck * Plugin IncrediBuild * Plugin Ios * Plugin Python * Plugin QmlJSEditor * Plugin QmlPreview, with CONDITION TARGET QmlProjectManager * Plugin QmlProfiler, with CONDITION TARGET Tracing AND TARGET Qt6::ShaderTools * Plugin RemoteLinux * Plugin Valgrind * Plugin PerfProfiler, with CONDITION TARGET Tracing * Plugin QbsProjectManager * Plugin CtfVisualizer, with CONDITION TARGET Tracing * Plugin Squish * Plugin Boot2Qt * Library QmlDesignerUtils * Library QmlDesignerCore, with CONDITION TARGET QmlDesignerBase AND TARGET Qt6::QmlPrivate AND TARGET Qt6::QmlDomPrivate AND TARGET Qt6::QmlCompilerPrivate * Plugin QmlDesigner, with CONDITION TARGET QmlDesignerCore AND TARGET Qt::QuickWidgets AND TARGET Qt::Svg * Plugin assetexporterplugin, with CONDITION TARGET QmlDesigner * Plugin componentsplugin, with CONDITION TARGET QmlDesigner * Plugin qmlpreviewplugin, with CONDITION TARGET QmlDesigner * Plugin qtquickplugin, with CONDITION TARGET QmlDesigner * Plugin StudioWelcome, with CONDITION TARGET Qt::QuickWidgets AND TARGET QmlDesigner * Plugin Insight, with CONDITION TARGET QtCreator::QmlDesigner * Plugin Qnx * Plugin WebAssembly * Plugin McuSupport * Plugin SafeRenderer * Plugin Copilot * Plugin Terminal * Plugin CompilerExplorer * Executable qtcreator * Executable cplusplus-keywordgen * Executable buildoutputparser * Executable cplusplus-ast2png * Executable cplusplus-frontend * Executable cplusplus-mkvisitor * Executable cplusplus-update-frontend * Executable qtcreator_processlauncher * Executable qml2puppet, with CONDITION TARGET Qt::Quick * Qt Quick 3D support, with CONDITION TARGET Qt::Quick3D * Qt Quick 3D asset import, with CONDITION TARGET Qt::Quick3DAssetImport * Qt Quick 3D particles, with CONDITION TARGET Qt::Quick3DParticles * Qt Quick 3D asset utils, with CONDITION TARGET Qt::Quick3DAssetUtils * Executable qtc-askpass * Executable qtcreator_crash_handler, with CONDITION UNIX AND NOT APPLE AND ( CMAKE_BUILD_TYPE STREQUAL Debug ) * Executable qtpromaker * Library sdktoolLib * Executable sdktool * Executable valgrind-fake * Library perfparser_lib * Executable perfparser * Executable perf2text * Executable qtcreator_process_stub -- The following features have been disabled: * Build online documentation * Build tests * Build with sanitize, SANITIZE_FLAGS='' * Build with Crashpad * Library Nanotrace * Build Qbs * Native WebKit help viewer, with CONDITION FWWebKit AND FWAppKit * Treat warnings as errors in QmlDesigner * ProjectStorage * Plugin EffectMakerNew, with CONDITION TARGET QmlDesigner AND TARGET Qt::ShaderTools * multilanguage-support in qml2puppet, with CONDITION TARGET QtCreator::multilanguage-support * Include developer documentation -- Configuring done (4.3s) -- Generating done (2.4s) -- Build files have been written to: /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/build hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ cmake --build build --target html_docs [1/1] Build HTML documentation from qtcreator/qtcreator.qdocconf (qdoc) Could not find the module header in include paths for module "qtcreator" (include paths: QList("-I/usr/include/c++/11", "-I/usr/include/x86_64-linux-gnu/c++/11", "-I/usr/include/c++/11/backward", "-I/usr/lib/gcc/x86_64-linux-gnu/11/include", "-I/usr/local/include", "-I/usr/include/x86_64-linux-gnu", "-I/usr/include") ) Artificial module header built from header dirs in qdocconf file /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc:10: (qdoc) warning: Can't link to 'Resource Files' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/overview/creator-tech-support.qdoc:10: (qdoc) warning: Can't link to 'Qt Examples and Tutorials' /home/hwhsu1231/Repo/testing/qtcreator-12.0.2/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc:4: (qdoc) warning: Can't link to 'Button' hwhsu1231@vb-kubuntu:~/Repo/testing/qtcreator-12.0.2$ ```
rectalogic commented 5 months ago

Aren't those remaining warnings due to a Qt bug you were warned about in https://bugreports.qt.io/browse/QTCREATORBUG-30570?focusedId=784394&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-784394 ? That comment says fixed in 13.0 but you are still using 12.0.2 https://download.qt.io/official_releases/qtcreator/13.0/13.0.0/qt-creator-opensource-src-13.0.0.tar.xz

miurahr commented 5 months ago

To summarize, the reason why using Qt online installer to install Qt-6.6.3 for QtCreator documentation building does not encounter any issues is because:

Its qt.conf has modified the location of QT_INSTALL_DOCS.

Interesting. @miurahr it seems like aqtinstall should handle this too? i.e. install-doc and install-example should modify an existing installations qt.conf to add the paths to where it installed those components?

$ cat ~/Qt/6.6.3/gcc_64/bin/qt.conf
[Paths]
Documentation=../../Docs/Qt-6.6.3
Examples=../../Examples/Qt-6.6.3
Prefix=..

Interesting.

miurahr commented 3 months ago

I don't have a knowledge how to build document with QtCreator, and also don't have an idea what is correct way. If anyone find a way to fix the issue, I would like to include a way to aqtinstall. As usual, Pull-Request is welcome.