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

Additonal Files to Open in Examples Manifest

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.8.0
    • None
    • Documentation
    • None
    • cc997e664ab6cd9e6551ec8228d1585d2a46a3d2

      The XML manifests for demos, examples and tutorials should contain the relevant file that Qt Creator should open the main filein its text editor. For that, a <fileToOpen> tag can describe the file to open (e.g. main.cpp, main.qml, project.cpp). If more more than one file is interesting, specifying this tag multiple times will cause creator to open all specified files. This probably needs a new qdoc command.

       
      <?xml version="1.0" encoding="utf-8"?>
      <instructionals module="Qt">
      <demos>
      <demo imageUrl="%REPLACEME%/images/qml-samegame-demo.png" difficulty="" docUrl="%REPLACEME%/demos-declarative-samegame.html" projectPath="declarative/samegame/samegame.qmlproject" name="SameGame">
      <description><![CDATA[This demo shows how to write a 'Same Game' game in QML, using Javascript for all the game logic.]]></description>
      <tags>demo,declarative,samegame,qml,qt quick</tags>
      <fileToOpen>main.cpp</fileToOpen>
      <fileToOpen>main.qml</fileToOpen>
      </demo>
      </demos>
      </instructionals>
      

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

            gbk Martin Smith (Qt)
            dmolkent Daniel Molkentin (Inactive Nokia Account!) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes