[Interest] Is Qt/QML suitable for me?

Jérôme Godbout jerome at bodycad.com
Wed Aug 31 00:18:39 CEST 2016


As far as I know, PyQt5 is available for Android, but not PyQt4. Anyway if
you want to do some Qml, I strongly suggest Qt5 and the lastest especially
if you start a new project.

JS can acheive as much with many porting, since the Qml JS engine have a
few particularity on it's own. But no it cannot accomplish more on it's
own, since with Python you can do most of it and still can use the JS side
into Qml no matter if you use Python or C++ under it.

   1. C++/Qt/Qml             most code into C++
   2. Python/PyQt/Qml     most code into Python
   3. C++/Qt/Qml             most code into Javascript, you write your
   logic into .js at Qml level
   4. C#/xamarin              most code into C#


the full JS will still need the the C++ apps kick start, so you better
learn a bit of C++ while you are at it and do some function in C++. The JS
will have a huge performance it (we did try to make many thing into it, but
we reverted those, but we are looking for real time performance with some
heavy apps).

You should try a small application and deploy it (because deploying on
mobile is not always funny) and see what you feel confortable to use.

Jerome

On Tue, Aug 30, 2016 at 4:28 PM, Артур Истомин <art.istom at yandex.ru> wrote:

> On Tue, Aug 30, 2016 at 01:38:58PM -0600, Bob Hood wrote:
> > On 8/30/2016 1:11 PM, Артур Истомин wrote:
> > >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.
> >
> > Honestly, I think Qt is the best framework for C++ that I've seen in my
> > entire career (spanning back to the early 1980s). However, if you don't
> > already /know/C++, then you will have a substantially greater learning
> curve
> > just to get to use Qt for the application you want to write.  As much as
> the
> > standards committee is trying to turn C++ into a scripting language, it
> > still has it's roots in C, and Here Be Monsters for the uninitiated.
> >
> > I think it is a good thing to have at least some familiarity with a
> modern,
> > native language like C++ or C# (which is arguably designed after Java),
> but
> > in your particular case, only having had exposure to something more akin
> to
> > a scripting language, I'd recommend you evaluate using Python with PySide
> > (which is Python bindings for Qt) to port your point-of-sale software
> there.
> > That would not only put you into the more familiar (and more forgiving)
> > territory of a rapid-development scripting language, you'd also get to
> learn
> > Qt at the same time, and could later transition to C++ already having
> > knowledge of how to leverage the Qt framework within it.
>
> I was considering python as candidate to C++. But as far as I understand
> it is mostly impossible to develop with python for Android. Or python
> bindings for Qt
> has nothing in common with run python code on Android devices? I'm sorry
> if my
> questions/views seriously skewed, my programming skills are little more
> than just a shell-scripting and two js-forms on simple web-page.
>
> More importantly, if I understand correctly with JS I can achieve more than
> with python because it is already included in Qt framework, is it true?
>
> Thanks for your recommendations!
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160830/7cc6f69d/attachment.html>


More information about the Interest mailing list