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

qdoc hangs when generating QML documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.9
    • Build tools: qdoc
    • Fedora 41
    • 2874cbaa8 (dev), 4f2412eb1 (6.8)
    • DaVinci 107, DaVinci 108, DaVinci 111, DaVinci 112, DaVinci 113

    Description

      Consider the following project

      ApplicationWindow.qml

      import QtQuick
      import org.kde.foo as Foo
      
      /*!
        \qmltype ApplicationWindow
        \inqmlmodule org.kde.foo
        \brief A window that provides some basic features needed for all apps
      */
      Foo.AbstractApplicationWindow {
          id: root
      } 

      AbstractApplicationWindow.qml

      import QtQuick
      import QtQuick.Controls as QQC2
      import org.kde.foo as Foo
      
      /*!
        \qmltype AbstractApplicationWindow
        \inqmlmodule org.kde.foo
        A window that provides some basic features needed for all apps
       */
      QQC2.ApplicationWindow {}
       

      foo.qdoc

      /*!
          \qmlmodule org.kde.foo
          \title Foo QML Types
          \brief Stuff
      */ 

      foo.qdocconf

      project = Foo
      description = Stuff
      headerdirs = .
      sourcedirs = .
      depends = qtcore qtquick qtquickcontrols 

      During the generation phase qdoc gets stuck indefinitely and allocates several gigabytes of memory.

      Tested with latest dev (qttools 601cebd76810037353a8b96374ca32bfc94e651e)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              paulwicking Paul Wicking
              nicolasfella Nicolas Fella
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes