Page 1 of 1

Basic template and/or software?

Posted: Fri Aug 24, 2018 10:11 am
by Gleno0hh
Is there a basic template to create an app and if so, or not, is there any software to use?

I have tried to strip an app and edit it, but toon wont show the app. If i edit the temperature app, it does show my changes, however, a reboot after every edit is a bit time consuming...

I am trying to build a addon for my home automation...

Re: Basic template and/or software?

Posted: Fri Aug 24, 2018 12:05 pm
by marcelr
Not really, you can use the simpler apps from the toonstore as a guideline.
We do, however, have guidelines for submission to the toonstore (imposed mostly by the packaging software). You can find them here:
viewtopic.php?f=100&t=11235#p83091

Re: Basic template and/or software?

Posted: Fri Aug 24, 2018 12:39 pm
by Toonz
Gleno0hh wrote:...however, a reboot after every edit is a bit time consuming...
That is how Qt works. All apps sources are loaded during the start of the gui.
After making changes to the sources you need to restart the gui.

No need to reboot the whole Toon, just 'killall qt-gui' from the command line will restart the gui.
And yes, it takes time to restart.....

Re: Basic template and/or software?

Posted: Sat Aug 25, 2018 10:58 am
by Gleno0hh
Thanks for your answers. I have actually found software to atleast design a app, only have to copy the code so this means i dont have to test on the toon anymore.

Re: Basic template and/or software?

Posted: Sat Aug 25, 2018 4:18 pm
by TheHogNL
Gleno0hh wrote:Thanks for your answers. I have actually found software to atleast design a app, only have to copy the code so this means i dont have to test on the toon anymore.
You can indeed use Qt Creator for example to build an app however it is not 1-on-1 compatible to run on the Toon. The toon has some own function/procedures which you need to use.
However using Qt Creator can help you understand it more.

When I created EasyEnergy app I asked the same question and thought "hell where do I ever start". However, restarting the qt-gui only takes 3-4 minutes and it forces you to make good code before debugging :)