-
Task
-
Resolution: Done
-
P1: Critical
-
None
-
None
-
cc997e664ab6cd9e6551ec8228d1585d2a46a3d2, 7ca3a7e431e53250446c1b3f95db344e6b183f89, bb4eea4f9d7dc66c87374dea3cdd5fcfd1b68bad
We need 2 manifest files, one for demos and one for examples. the projectPath is relative from <QTDIR>/demos and <QTDIR>/examples respectively. difficulty should be empty. The description should be within ![CDATA[<description>]]. there should only be one docUrl and imageUrl per demo/example (mandated by XML standard).
imageURL should be %REPLACEME%/images/<name in \image>
docURL should be %REPLACEME%/<HTML filename>
demos-manifest.xml:
<?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> </demo> </demos> </instructionals>
examples-manifest.xml:
<?xml version="1.0" encoding="utf-8"?> <instructionals module="Qt"> <examples> <example imageUrl="%REPLACEME%/images/animatedtiles-example.png" difficulty="" docUrl="%REPLACEME%/animation-animatedtiles.html" projectPath="animation/animatedtiles/animatedtiles.pro" name="Animated Tiles"> <description><![CDATA[The Animated Tiles example animates items in a graphics scene.]]></description> <tags>example,animatedtiles,animation</tags> </example> </examples> </instructionals>