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

What is the syntax for adding elements to a project.qmlproject file?

    XMLWordPrintable

Details

    • User Story
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • None
    • Documentation
    • None
    • I'm looking for the "Close" button, so bear with me .

    Description

      I am trying to learn qml via the "other projects / qt quick ui project"

      I looked at the xxx.qmlproject file. It seems it has a default value for
      only the current directory for each type of resource.

      I want to add an existing image directory so that I don't have to copy images
      from the existing location.

      when I do a search on qmlproject the only qt.io entries I find are images
      of the current (default) starting values. (see attached). and nothing else
      I see the reference to the current url. And it references tutorials that
      are suppose to provide additional information.

      I looked at "Tutorials" under Qt Creator. None of them seem to apply..
      (I wonder if some of the tutorials have bee retired?)

      I can try and guess what the qmlproject syntax should be. That may take days.
      It would be nice if some documentation explained the syntax so that
      locations other than the current directory can be accessed.

      Also how do I reference those images in the qml data files? (i.e.) Does the
      resource system used in other qt quick (e.g. empty) .pro projects apply?
      Will I have to modify all of the qml files that I develop in a .qmlproject
      need to be modified when moving to a .pro type project?

      I like qmlproject type projects for UI design. I read that there is a lot
      of push back on using this type of project. I see it as a tool for quick
      development, without the need to recompile Most of my .pro projects
      all have the same ccp and qrc type files, unchanged. Why run a compiler while just
      making changes to a qml file?

      Attachments

        Issue Links

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

          Activity

            People

              leenam Leena Miettinen
              lawrence.emke Lawrence Emke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes