The main problem with "other toolkits" vs Electron apps is that they are not as simple to use in order to create a very good looking UIs. Compare how easy it is to use HTML and CSS in order to create a very complex UIs with all sort of effects vs how utterly complicated is to override, let's say, Qt's ::paint() method in order to achieve rich text inside a label. Let me repeat it. Rich text inside a label. Such a sim…
I agree that HTML/CSS is easier to use, though maybe some of that is just because everybody has been using them for years. However, you certainly don't have to override ::paint() to get rich text inside a label. You can use a simple subset of HTML in your QLabel to get various text effects.
Show HN: Cross-platform desktop applications with PyQT
11–20 of 293 posts
Re: Show HN: Cross-platform desktop applications with PyQT
#12Re: Show HN: Cross-platform desktop applications with PyQT
#13The main problem with "other toolkits" vs Electron apps is that they are not as simple to use in order to create a very good looking UIs. Compare how easy it is to use HTML and CSS in order to create a very complex UIs with all sort of effects vs how utterly complicated is to override, let's say, Qt's ::paint() method in order to achieve rich text inside a label. Let me repeat it. Rich text inside a label. Such a sim…
Are you aware of QML, which is part of the Qt framework? https://en.m.wikipedia.org/wiki/QML
Re: Show HN: Cross-platform desktop applications with PyQT
#14Not directly related to the initiative itself, but comparing and contrasting the Electron website vs. PyQT is striking: https://riverbankcomputing.com/software/pyqt/intro https://electronjs.org/ I've been a (proud) Pythonist for years now, and I've always been a bit chagrined by the quality of the "marketing" of Python projects. It doesn't at all reflect the quality of the community and the projects.
Re: Show HN: Cross-platform desktop applications with PyQT
#15The main problem with "other toolkits" vs Electron apps is that they are not as simple to use in order to create a very good looking UIs. Compare how easy it is to use HTML and CSS in order to create a very complex UIs with all sort of effects vs how utterly complicated is to override, let's say, Qt's ::paint() method in order to achieve rich text inside a label. Let me repeat it. Rich text inside a label. Such a sim…
The other issue is that a lot of these sorts of applications like Slack started life as a web app. In that case, your options are use Electron or build a new desktop application from the ground up.
Re: Show HN: Cross-platform desktop applications with PyQT
#16That's not really what being licensed under the GPL means.
PC-BSD thought that they had to license their own stuff under the GPL because they were using Qt, but all you need is GPL compatibility. After that realisation, PC-BSD relicensed their code to 3-clause BSD.
Re: Show HN: Cross-platform desktop applications with PyQT
#17The main problem with "other toolkits" vs Electron apps is that they are not as simple to use in order to create a very good looking UIs. Compare how easy it is to use HTML and CSS in order to create a very complex UIs with all sort of effects vs how utterly complicated is to override, let's say, Qt's ::paint() method in order to achieve rich text inside a label. Let me repeat it. Rich text inside a label. Such a sim…
Re: Show HN: Cross-platform desktop applications with PyQT
#18Earlier quoted context omitted.
Are you aware of QML, which is part of the Qt framework? https://en.m.wikipedia.org/wiki/QML
Yep, came here to say that. QML is absolutely great for making UIs, in fact I wish we could use it for the web, too.
Re: Show HN: Cross-platform desktop applications with PyQT
#19Earlier quoted context omitted.
I agree that HTML/CSS is easier to use, though maybe some of that is just because everybody has been using them for years. However, you certainly don't have to override ::paint() to get rich text inside a label. You can use a simple subset of HTML in your QLabel to get various text effects.
Please read in between lines... I could easy write any other example. Don't make me compare HTML/CSS's flexibility with Qt's...
Re: Show HN: Cross-platform desktop applications with PyQT
#20The main problem with "other toolkits" vs Electron apps is that they are not as simple to use in order to create a very good looking UIs. Compare how easy it is to use HTML and CSS in order to create a very complex UIs with all sort of effects vs how utterly complicated is to override, let's say, Qt's ::paint() method in order to achieve rich text inside a label. Let me repeat it. Rich text inside a label. Such a sim…
Are you aware of QML, which is part of the Qt framework? https://en.m.wikipedia.org/wiki/QML