Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12636

Supporting ModuleFiles nodes in QmlProjectItem

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • QDS 4.6.0
    • None
    • MCU support
    • None
    • 3
    • 98c765d6f (qds/dev)
    • QUL Sprint 2024/2.2, QUL Sprint 2024/2.3, QUL Sprint 2024/2.4

    Description

      There's a simple implementation of supporting multiple qmlproject files in QmlProjectManager. But this integration is missing the context information about the sub-qmlproject files which can lead to unexpected issues or unwanted side effects.

      Better implementation would be adding proper converters, tests and public getters/setters in QmlProjectItem by parsing and interpreting ModuleFiles nodes.

      Here's an example of this node;

      ModuleFiles {
              files: [
                  "imports/KMCStyle/KMCStyle.qmlproject",
                  "imports/subproject2/subproj2.qmlproject"
              ]
              // Uncomment for adding Qul modules
              MCU.qulModules: [
                  // "Qul::Controls",
                  // "Qul::ControlsTemplates",
                  // "Qul::Shapes",
                  // "Qul::Timeline"
              ]
          } 

      Acceptance criteria:

      • Convert qmlproject to their json format
      • Get list of qmlprojects using a functions
      • Auto tests

      Attachments

        Issue Links

          For Gerrit Dashboard: QDS-12636
          # Subject Branch Project Status CR V

          Activity

            People

              sikrovel Sivert Krøvel
              hancerliqt Burak Hancerli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes