Basic template and/or software?

Everything about software tools, new software development and toolchains. For developers, mostly.

Moderator: marcelr

Basic template and/or software?

Postby Gleno0hh » Fri Aug 24, 2018 9:11 am

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...
Gleno0hh
Starting Member
Starting Member
 
Posts: 10
Joined: August 2018

Re: Basic template and/or software?

Postby marcelr » Fri Aug 24, 2018 11:05 am

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:
https://www.domoticaforum.eu/viewtopic. ... 235#p83091
marcelr
Advanced Member
Advanced Member
 
Posts: 909
Joined: May 2012
Location: Ehv

Re: Basic template and/or software?

Postby Toonz » Fri Aug 24, 2018 11:39 am

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.....
Toonz
Advanced Member
Advanced Member
 
Posts: 686
Joined: December 2016

Re: Basic template and/or software?

Postby Gleno0hh » Sat Aug 25, 2018 9:58 am

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.
Gleno0hh
Starting Member
Starting Member
 
Posts: 10
Joined: August 2018

Re: Basic template and/or software?

Postby TheHogNL » Sat Aug 25, 2018 3:18 pm

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 :)
TheHogNL
Member
Member
 
Posts: 416
Joined: August 2017


Return to Toon software development

Who is online

Users browsing this forum: No registered users and 1 guest