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

qdoc hangs when generating QML documentation

XMLWordPrintable

    • 2874cbaa8 (dev), 4f2412eb1 (6.8), d5b63167b (dev), 2d8b12dac (dev)
    • DaVinci 107, DaVinci 108, DaVinci 111, DaVinci 112, DaVinci 113, DaVinci 118, DaVinci 119

      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)

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

            david.boddie David Boddie
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: