sakibnaz
Posts: 3
Joined: Sun Dec 04, 2016 5:46 am

Regarding GUI Design Framework

Sun Dec 22, 2019 7:33 pm

Hi there.

I am working on a project where I'll use a small size 1.54" Touchscreen Module. I like to design nice looking modern GUI for my project. My plan for main Back-end application using Python. I did some research on Modern GUI and found QT (PyQT or PySide2) and Kivy. I don't want to choose the path of QT due to licensing issue. So for now Kivy is my selection. But I found Flutter more modern tool and seems they are moving into Embedded space as well.

Can anyone advise will be Flutter be a good choice over Kivy in terms of modern UI?

Thanks in advance.

Regards.

Heater
Posts: 14449
Joined: Tue Jul 17, 2012 3:02 pm

Re: Regarding GUI Design Framework

Sun Dec 22, 2019 7:36 pm

What licensing issue with Qt?
Memory in C++ is a leaky abstraction .

sakibnaz
Posts: 3
Joined: Sun Dec 04, 2016 5:46 am

Re: Regarding GUI Design Framework

Sun Dec 22, 2019 7:41 pm

Hi. .

My project have plan is to commercial product in future. That's why not wanted to use QT for license cost. Looking for an open source framework.

Thanks.

User avatar
PeterO
Posts: 5450
Joined: Sun Jul 22, 2012 4:14 pm

Re: Regarding GUI Design Framework

Sun Dec 22, 2019 7:48 pm

Heater wrote:
Sun Dec 22, 2019 7:36 pm
What licensing issue with Qt?
The issue that the OP has found because they know their requirements and have read the licence terms !!!

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Heater
Posts: 14449
Joined: Tue Jul 17, 2012 3:02 pm

Re: Regarding GUI Design Framework

Sun Dec 22, 2019 10:45 pm

PeterO,
The issue that the OP has found because they know their requirements and have read the licence terms !!!
Exactly. That is why I ask.

As it happens I have read the licence terms and been involved with commercial products that use Qt.

Qt is available under commercial licences and the LGPL. For many commercial purposes that involves no more licensing issues than using the Linux kernel or building your product with GCC.

Hence my question.
Memory in C++ is a leaky abstraction .

Heater
Posts: 14449
Joined: Tue Jul 17, 2012 3:02 pm

Re: Regarding GUI Design Framework

Sun Dec 22, 2019 11:19 pm

I can only suggest that you take PeterO's advice and read the relevant licences, the GPL, the LGPL and whatever Qt has to offer commercially now a days. Then asses them against what Qt components you want to use, and how.

As always it's best to consult your companies lawyers about licensing issues.

Edit: On posting this I find that sakibnaz deleted his last post, that I was replying to. So the above may not make much sense out of context.
Memory in C++ is a leaky abstraction .

User avatar
Gavinmc42
Posts: 4294
Joined: Wed Aug 28, 2013 3:31 am

Re: Regarding GUI Design Framework

Mon Dec 23, 2019 12:49 am

As always it's best to consult your companies lawyers about licensing issues.
When you cannot afford lawyers then you know to stay away for licence issues.
Been more than a decade since I read the QT small print, any change?

Flutter and LittlevGL are two I have been looking at.
I don't think I have seen Flutter on Pi's yet.
GUI's for small LCDs, do they need acceleration?
I used OpenVG for VC4 Pi's, did simple G stuff but minimal work on the UI, the Pi4 came out and distracted me.

Now looking for VC6 OpenGL methods that don't use x11.
I might try TinyWM in the meantime, it is very small.

GUI's for small Pi based single purpose gadgets, you would think there would be something by now.
The big ones are based on x11 with windows and desktop managers on big bloated OS's.
What is down at the baremetal, tiny OS end?
This is where the IoT and Edge IoT stuff lives and most of my interest lies.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Heater
Posts: 14449
Joined: Tue Jul 17, 2012 3:02 pm

Re: Regarding GUI Design Framework

Mon Dec 23, 2019 1:28 am

Gavinmc42,
When you cannot afford lawyers then you know to stay away for licence issues.
Yes but no.

The law is the law and it affects all of us all the time. No matter if you can afford lawyers or not.

Especially if you are looking to make money out of other peoples work, covered by copyright law as software is, then you had better pay attention to the license terms and conditions.

As it happens Qt has very generous licencing terms. Even for commercial use.
Memory in C++ is a leaky abstraction .

User avatar
Gavinmc42
Posts: 4294
Joined: Wed Aug 28, 2013 3:31 am

Re: Regarding GUI Design Framework

Mon Dec 23, 2019 2:06 am

As it happens Qt has very generous licencing terms. Even for commercial use.
What I meant was I just don't look/use software that needs to be licensed.
I don't do commercial work any more.

The only one I use is licensed Altium, but none of my PCBs are commercial.
Altium also has a ridiculous learning curve, but I have used it since the DOS era.

This might change in retirement when I might need to make some income.
Still have a few years to find/master the open source versions with their many license variations.

Commercial use, that probably should be a deciding factor in choice of tools.
Commercial products are served well by commercial software like QT.
Commerical Compilers/RTOS like Wind River, Vxworks have been around for along time.

But for hobby use, one off, non commercial, hack something together quickly?
End use determines what toolset?
Pis in commercial/industrial applications verses a hobby project.

The OP has not said what project.
How long to learn use the toolset., how long has been allocated for the project.
My few attempts to use QT over the years never impressed me with it's speed of learning.
FreeCAD is quick to learn but Solidworks is Commercial and much harder to learn at the start.

Time, Quantity, Quality. - QT does the two Q's but until you learn it Time will flow away.
Kivy being Python based is a bit quicker, but is newer and how well does it work on small LCDs?
Also not sure if the Kivy Pi4/Python/VC6 issues are fixed yet.

None of this helps the OP. as details of the project are missing.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Heater
Posts: 14449
Joined: Tue Jul 17, 2012 3:02 pm

Re: Regarding GUI Design Framework

Mon Dec 23, 2019 2:38 am

Gavinmc42,
What I meant was I just don't look/use software that needs to be licensed.
Yes, but there is no such thing.

All software is covered by copyright law. By default. Unless you are the US government or have been dead for a hundred years, there is no way to put anything into the public domain.

You use Linux under a version of the GPL/LGPL with exceptions granted by Linus Torvalds. And so on, and so on.

Really, if you were to post a pile of code to the world, with no licence agreement attached, nobody could use it. Not without wondering if they have made a copyright violation.

That is of course the genius about the GPL. To use the law to eat itself.
Memory in C++ is a leaky abstraction .

User avatar
Gavinmc42
Posts: 4294
Joined: Wed Aug 28, 2013 3:31 am

Re: Regarding GUI Design Framework

Mon Dec 23, 2019 3:21 am

the open source versions with their many license variations.
Yes, but there is no such thing.
That is of course the genius about the GPL. To use the law to eat itself.
Too many laws, only lawyers can understand them now.
I am hoping a Law AI will be useful for that.
Same way I want a coding AI to design GUIs for me.

Any voice Siri type bit of code that can be used for a voice designed UI?
"I want 3 buttons on the left, a graph plot on the right, make it bigger"....
Google front end to Flutter UI's?
One day they can read our thoughts and just give us AI coded apps?

We have our own personal themed UI's(Avatars) with inbuilt AI translators/convertors?
Just had a flashback to Clippy.
https://en.wikipedia.org/wiki/Office_Assistant
I preferred Albert ;)
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “General discussion”