← Back to team overview

qreator-discuss team mailing list archive

Re: One Qreator to rule them all

 

Hi David,


On Sat, Feb 16, 2013 at 4:13 PM, David Planella
<david.planella@xxxxxxxxxx>wrote:

> Hi,
>
> During the ramp up to the announcement of Ubuntu on mobile devices on
> the 2nd of January and yesterday's announcement of the source code being
> published in 6 days, I've been thinking more about the future of Qreator.
>
> I'd like Qreator to become the application everyone uses to create codes
> on Ubuntu -eventually to scan them, but that's a separate story.


Me too :-)


> And
> with that I mean on all devices and form factors Ubuntu will soon run
> on. I firmly believe that to achieve that goal the Ubuntu SDK is the
> only way to go. In practical terms that is migrating to QML.
>
>
Agreed.


> QML has impressed me very much. I was skeptical on what one could do
> with a declarative language, and in my experience was: a lot. I was
> expecting I'd have to resort to C++ at some point, which I really wanted
> to avoid (I'm done with compiling, let alone cross-compiling), and I was
> very surprised to find out how naturally small JavaScript snippets fit
> into QML where some more complex logic is needed.
>
>
I have done some work on a different app with QML, to learn more about it.
I am impressed as well, but I still have to find good solutions for a lot
of problems (e.g. file I/O, dbus integration, ...) .
But I'm sharing your view, QML is definitely good enough and with the
Ubuntu toolkit, my major objection (no widgets) has gone as well.

I also looked at PySide. Python is, and will continue to be, my
> favourite programming language, and I had dearly wanted to keep using it
> for Qreator. However, after having been on the #pyside channel for a
> while and having been reading the mailing list archives, I concluded
> that the project is dead. It has not yet migrated to Qt 5 (which means
> it does not work with the Ubuntu SDK), and there is no initiative for a
> roadmap at all. The current discussions seem to be about rewriting the
> bindings generator, as it's perceived to be a major barrier for getting
> new contributors to the project.
>
>
Yes, PySide is dead, I had seen that as well. PyQt however seems still
alive...


> All in all, with the purpose of learning about the Ubuntu SDK and
> evaluating it for Qreator, I created a proof-of-concept version of
> Qreator using QML and the Ubuntu SDK [1].
>

That looks really awesome! Great work!
I'm very much looking forward to continuing with that version.


>
> Once checked out, provided that the SDK is installed [2], it can simply
> be executed on an Ubuntu desktop by running: `qmlscene main.qml`
>
> Caveats:
> - The app's header is a workaround until the SDK itself implements it.
>   That code will be removed at some point soon.
> - The WiFi page is just a proof-of-concept, it currently only changes
>   the code according to the text, it's not a valid WiFi wireless code
> - System integration is not quite there yet, so until there are Qt
>   bindings for the main Ubuntu and GObject APIs, we'll have to think
>   about workarounds or thin wrappers to talk to those APIs.
>
> Thoughts?
>
>
Great work! Let's do this :-)
I do have a question though: have you ever looked into CoffeeScript? [1]
I have started to use it for my other ubuntu app and I think it might be
good. Feels at least a little like Python (if used in the right way...)


Cheers,
Stefan

[1]  http://coffeescript.org/

Cheers,
> David.
>
> [1] https://code.launchpad.net/~dpm/qreator/qreator-qml
> [2] http://developer.ubuntu.com/get-started/gomobile
>
>
> --
> Mailing list: https://launchpad.net/~qreator-discuss
> Post to     : qreator-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~qreator-discuss
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References