Having used PyQt in the past (and loved it!) I really can't beat QML.
And w.r.t. whomever mentioned doing the backend of it in C++, I see your point, but I think those days are numbered. Consider that you can use a transpiler to use say, TypeScript and transpile to JS, do you can do a little better than loosey-goosey _javascript_. These days my app logic is written entirely in JS, (which is testable, i.e: Jasmine). and I get PyQt level of productivity. The only downside is _javascript_ callback hell (The OfflineStorage module in particular. I really lament having to get a transaction asyncronously.)
But I think it's even better than PyQt.
Sent: Tuesday, August 30, 2016 at 4:11 PM
From: "Jérôme Godbout" <[email protected]>
To: "Jason H" <[email protected]>
Cc: "Артур Истомин" <[email protected]>, "Interests Qt" <[email protected]>
Subject: Re: [Interest] Is Qt/QML suitable for me?
From: "Jérôme Godbout" <[email protected]>
To: "Jason H" <[email protected]>
Cc: "Артур Истомин" <[email protected]>, "Interests Qt" <[email protected]>
Subject: Re: [Interest] Is Qt/QML suitable for me?
If you are not too familiar with C++, you may want to give a PyQt a look, this is less overwhelming and for simple application Python can easily handle it, you will also have a out of the box support for your SQLite and many other features you want to implement.
This is if you really want to have Qt for you GUI, it's a nice thing, really flexible and have good performance for most things but may take some time for the learning curve and can take some serious development time if the team is small to have something really well polished.
You may want to give xamarin a look too, this would give you a C# based application, which can be easier on the learning curve. Performance wise would be decent enough for most applications.
But if you are looking for a big strong Framework Qt can surely do it.
Jerome
On Tue, Aug 30, 2016 at 3:57 PM, Jason H <[email protected]> wrote:
> Sent: Tuesday, August 30, 2016 at 3:11 PM
> From: "Артур Истомин" <[email protected]>
> To: [email protected]
> Subject: [Interest] Is Qt/QML suitable for me?
>
> I want to convert my POS (point of sale) software (long ugly shell-scripts)
> to GUI-software for mobile (Android) and desktop (Linux/Windows) devices.
>
> I don't know C++ but know some JS. So is it possible to write my
> application, POS, entirely on _javascript_? Almost all application logic are
> sql transactions with local sqlite database.
Yes, the QML OfflineStorage module uses SQLite, but you don't get to change the name, AFAIK. (The name is a pre-defined path and the filename is the MD5SUM(filename).sqlite
You might have to do some C++ to target the database you want.
Also Platform integrations on Android might require Java.
But it is all do-able. I think Qt is the ideal choice._______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
