by Toonz » Mon Jun 24, 2019 2:18 pm
Hi,
there has been some changes since version 4.22.7 in the way Toon is starting apps.
From 4.22.7 Toon started using so called 'qml resource files' in which all qml resources are located.
We have modified the resource files in a way that also custom apps will be loaded if a number of conditions are met.
The file globalq.qml is not used for that anymore.
Our resource files will load custom apps if and only if:
- the app folder name does not contain the "-" character
- the app folder has only lowercase characters (is actually a requirement for inclusion in the ToonStore later on)
- the app folder contains a file named <FolderApp.qml>, starting with an uppercase character, example ../apps/toonstore/ToonstoreApp.qml
When meeting these requirements the resourcefile will try to start the app, results of that can be tracked in the log files (either console.log or redirect to a file).
N.B. Note that also the way images are processed has changed. Images must be included in the drawables.rcc resource file or our own resourcefile.
Best way forward when starting app development is too use one of the existing builtin images.
We can add your custom images to the resourcefiles later on....
Hope this helps.
Kind regardz,
Toonz
member of the Toon Software Collective