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

qt_add_add_qml_module runs into command line length limits on Windows

    XMLWordPrintable

Details

    • Windows
    • dfe35b2a4 (dev), 44a99a3c0 (6.7), 723fc1ade (6.6), 15568fcd8 (tqtc/lts-6.5)

    Description

      When using qt_add_qml_module() on Windows it will run into command line length issues when there's a large number of QML files added to a module, producing the very unhelpful error Cannot open options file specified with @.

      This was encountered on KDE's Kirigami project CI, see for example https://invent.kde.org/frameworks/kirigami/-/jobs/1184162#L542 . I did try to figure out what the amount of files was that would trigger this, and in the case of Kirigami it ended up breaking at 85 QML files. However, since the limit on Windows is a character amount limit, this might be different for different projects.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            awhiemstra Arjen Hiemstra
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews