Hi Sven and all

I was thinking similar myself and I am migrating too. Just from Symbian-Meego-desktop Qt, not from iOS. And src/test folder structure is standard in Qt world. It annoyed me a lot that I couldn't easily go to this structure from the Creator wizard. 

Plus "just helloworld" encourages no-tests development. That is not my dev style and I want to promote test-driven development and unit-testing.

As for RPM folder, I was thinking where to put it and it was actually moving between src and top level. It ended up in the top level, because it is, well, a common thing for both src and test subprojects. Wikipedia project that uses same template has even fake subpackage also for grabbing files that annoy harbour check script (unused Qt Quick Test files from an external submodule).

That said i'd very happy if you fork a project and make it better suitable for, say, Android people - the project is in public domain just for that. You can even resell the template if u manage :)

Cheers,
Artem.

From: Putze Sven
Sent: Sunday, December 1, 2013 11:55
To: Sailfish OS Developers
Reply To: Sailfish OS Developers
Subject: Re: [SailfishDevel] The missing HelloWorld. Wizard included

Hi,

one thing I am trying to wrap my head around is the usage of a project for different devices/operating systems (why? because a living ecosystem needs to attract more developers and those coming from other platforms will come if they already use Qt or see a chance in switching to Qt but they sure don't want a maintenance nightmare). IMHO something like the rpm folder should go at least one directory level down, so one could differentiate between the brands or operating systems at top level. But so far any tests with rpm in another level broke apart. I am not sure if something is hardcoded here or if I simply don't know where to look?
In such an attempt I would rename the folder "src" to "sailfishos" or something similar.

What's your thoughts about that?

BR.
Sven


On 30.11.2013, at 19:06, Artem Marchenko <artem.marche...@gmail.com> wrote:

> Hi All
>
> *Short version*
> Go check this out and contribute corrections - https://github.com/amarchen/helloworld-pro-sailfish
>
> *Long version*
> "Just an app" templates make my heart cry. Changing them to the proper structure is pain every time you go beyond "just a helloworld".
>
> So I created a Helloworld Pro for Sailfish. Something that has minimal UI, but proper project structure and a couple of UI and non UI QML tests (includes src, test folders, multipackage .yaml/spec, proper 86x86 icon, etc) and passes harbour acceptance criteria (pending for now).
>
> And then I added a wizard script that renames everything to whatever project name you like to help you get started with MyCoolApp instead of helloworld-pro-sailfish
>
> Wizard is a bash script validated on Mac only, because that's the platform I use.
>
> Similar scripts for Windows and other corrections/improvements (e.g. adding simple app cover) are very welcome via pull requests.
>
> You will find the project at https://github.com/amarchen/helloworld-pro-sailfish
>
> If you want to do more with QML testing that I greatly encourage, this old presentation is still valid - www.slideshare.net/AgileArtem/test-drivingqml-12941898
>
> Enjoy!
>
> Cheers,
> Artem.
>
> --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
> _______________________________________________
> SailfishOS.org Devel mailing list

_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to