3 ms·
If you really need the full flexibility of HTML/CSS, you can just use QtWebKit and embed a webview in your UI.
by yorwba 9y ago
If you really need the full flexibility of HTML/CSS, you can just use QtWebKit and embed a webview in your UI.
- monkmartinez 9y agoOr just use Electron/React-native and skip the pain involved with licensing, packaging, and lack of mobile support.
- toyg 9y ago> licensing, packaging, and lack of mobile support To be fair, these are different problems from what the grandparent was discussing. Licensing is a problem a business really shouldn't have: Qt is LGPL and PyQt licenses are cheap even for ramen-eating startups. Lack of mobile support is a Python problem, I agree there. I can assure you everyone in the Python world is sorely aware of it. Unfortunately, nothing will change until someone does what Google did for Java with Android. But it's a problem that electron apps have too, because "html apps" are still pretty bad on mobile (and terrible on desktop). Similarly, packaging a PyQt app is not much more of a problem than packaging any app that is not among the "blessed" mobile languages (Java/Kotlin and Objective-C/Swift).
- horsawlarway 9y agoThat's crazy! /s
- alexandernst 9y agoSo... it order to replace Electron, let's use QtWebkit, which is basically Electron? :)
- pjmlp 9y agoIf you don't want to learn QML.