Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138527

Replace direct links to https://doc.qt.io/qt-6/

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.10
    • Documentation
    • None
    • 16d9ed713 (dev), 2b01feed6 (6.10), 00ab4f922 (6.10), c9ef53621 (6.9), 3b96b5e76 (6.9), 9d3eb753c (tqtc/lts-6.8), dde3c794b (tqtc/lts-6.5), 90d61c10c (dev), f6acde062 (6.10), 4588306a0 (6.9), 24234b8d9 (tqtc/lts-6.8), 340161b8b (tqtc/lts-6.5)

      We have nowadays a few places where Qt documentation uses external links

      $ cd qtdoc && git grep "doc.qt.io/qt-6/"
      ...
      doc/src/howtos/installer-cli.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/howtos/installer-cli.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/howtos/installer-cli.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/howtos/installer-cli.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-add-ons} {add-on module libraries}
      doc/src/howtos/installer-cli.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/howtos/installer-cli.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-add-ons} {add-on module libraries}
      doc/src/howtos/installer-cli.qdoc:                   \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/howtos/installer-cli.qdoc:                   \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-add-ons} {add-on module libraries}
      doc/src/platforms/debian-packages.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/platforms/debian-packages.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/platforms/debian-packages.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/platforms/debian-packages.qdoc:             \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-add-ons} {add-on module libraries}
      doc/src/platforms/debian-packages.qdoc:                   \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-essentials} {essential module libraries}
      doc/src/platforms/debian-packages.qdoc:                   \li \l {https://doc.qt.io/qt-6/qtmodules.html#qt-add-ons} {add-on module libraries}
      doc/src/platforms/vxworks.qdoc:    \li Add Qt CMake related code to the CMakeLists.txt following \l {https://doc.qt.io/qt-6/cmake-get-started.html#building-a-c-gui-applicationCMakeLists.txt} {Getting started with CMake}.
      doc/src/platforms/wasm.qdoc:\l{https://doc.qt.io/qt-6/resources.html}{Qt Resource System}
      doc/src/platforms/wasm.qdoc:\l{https://doc.qt.io/qt-6/qfontdatabase.html#addApplicationFontFromData}{QFontDatabase::addApplicationFontFromData}.
      doc/src/platforms/windows.qdoc:        (unless you enabled a \l {https://doc.qt.io/qt-6/configure-options.html#developer-builds}
      examples/demos/android/splashscreen/manifest/doc/src/qt-splashscreen-in-android.qdoc:    \li \l {https://doc.qt.io/qt-6/android-manifest-file-configuration.html#qt-specific-meta-data}{android.app.splash_screen_drawable}
      examples/demos/android/splashscreen/manifest/doc/src/qt-splashscreen-in-android.qdoc:    \li \l {https://doc.qt.io/qt-6/android-manifest-file-configuration.html#qt-specific-meta-data}{android.app.splash_screen_sticky}
      

      These should be replaced by internal links to either titles/sections, or (preferably) \target's:

      • Dangling links then become a qdoc warning instead of a 404
      • The links also work in Qt Assistant / Qt Creator help mode
      • The link point to the same version of the Qt documentation

        For Gerrit Dashboard: QTBUG-138527
        # Subject Branch Project Status CR V