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

Generate a complete module when invoking qt6_add_qml_module with applications

    XMLWordPrintable

Details

    • All
    • 0c99c17761c89290d88e97367742122db5c9a46f (qt/qtdeclarative/dev) d85171a41355b0e26355627db140fbee3fc541b2 (qt/qtdeclarative/6.2)

    Description

      With the current CMake Patch we only generate a qmldir file. In order for this to be parsed as a normal module in qmllint we at least need the following:

      • Putting both the $TARGETNAME.qmltypes and qmldir file from the build dir into $BUILDDIR/import/$TARGET_URI
      • Adding "-I $BUILDDIR/import" to $TARGETNAME_qmllint's parameters
      • Removing all the qml files currently listed in qmldir (only if we don't care about keeping it intact)

      If we want to keep the qmldir intact for use within qml modules we will also need to copy all required qml files to this directory.

      Attachments

        Issue Links

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

          Activity

            People

              crscott Craig Scott
              max.goldstein Maximilian Goldstein
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: