You can export designs from graphics software, such as Adobe Photoshop and GIMP, to QML files. Each scene is converted into a single QML file with an Image or a Text element for each layer and saved on the development PC. Top-level layer groups are converted into merged QML Image elements.
Note: GIMP does not support grouping, and therefore, each layer is exported as an item in GIMP.
The following rules apply to the conversions:
You can open the QML file in Qt Creator for editing. If you edit the file in Adobe Photoshop and export it to the same directory again, any changes you made in Qt Creator are overwritten. However, you can re-export graphical assets without recreating the QML code.
If you create vector graphics with other tools that have an Adobe Photoshop export option,such as Adobe Illustrator, you can export them first to Photoshop and then to QML.

The script has been tested to work on Adobe Photoshop CS 4 and 5, but it might also work on other versions.
Note: Read the README.txt file in the repository for latest information about the script.
The QML file is saved to the location that you specified. In Qt Creator, choose File > Open File or Project to open the QML file.
Note: Existing files are replaced without warning.

The script has been tested to work on GIMP 2. You can download GIMP 2 from GIMP Downloads.
To use the export script on Microsoft Windows, you also need to install the GIMP Python extension (Python, PyCairo, PyGobject, PyGTK). However, GIMP is not officially supported on Windows, so we cannot guarantee that this will work.
Note: Read the INSTALL.txt in the repository for latest information about the script.
On Linux, run the following command: chmod u+rx
The QML file is saved to the location that you specified. In Qt Creator, choose File > Open File or Project to open the QML file.
Note: Existing files are replaced without warning.
[Previous: Adding User Interaction Methods] [Next: Implementing Application Logic]