qt-web-view-widget
pub-dev
qt-web-view-widget | pub-dev | |
---|---|---|
1 | 359 | |
1 | 764 | |
- | 0.7% | |
0.0 | 9.7 | |
over 2 years ago | 1 day ago | |
C++ | Dart | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
qt-web-view-widget
-
Qt 6.3 Released
It really confuses me how anyone would have anything good to say about QML. Qt taking that direction just seems like a panicked decision to try and compete with Electron when they should really be doing the exact opposite.
My experience with QML/Quick is that while you get a little JavaScript runtime and a slightly less obtuse way of defining "widgets" and application layouts than the original Qt "forms", there are some clear drawbacks that make it a near non-starter for anything I've thought about using it for.
Right out of the box, you have to use QML, which is a weird hybrid of language/markup paradigms, and it's a proprietary language. What designer knows QML? Probably f$#%& zero. Electron wins right out of the gate because what designers don't know at least something about HTML and CSS? Sure, if QML was that groundbreaking then maybe people would learn it, but it's owned by a company and it brings nothing new to the table that HTML and CSS can't do better.
The solution to most things in QML is to write JavaScript. I've been a JavaScript engineer for most of my career, but when you're writing a Qt application then the obvious place to do anything useful or complex is in the host language of C++ or Python. So what if you want to tie behavior between your QML widget and a C++ library you either wrote yourself or have imported from a vendor? Well, you can kinda sorta do that, but it's hard to explain here; let's just say that tying a widget to C++ code is extremely clumsy, and good luck calling a function on a QML widget class because you just can't simply do that.
For instance, Qt provides a WebView widget, which was exactly what I needed recently. Uh oh, the decided to make it a QML widget only, rather that do the obvious thing of exposing it as a C++ class and providing a QML widget that wraps around it. Why did they do this? I guess it's because in the long term they think that they'll move away from classic widgets entirely. In any case, I wanted to call the `runJavaScript` method on the widget class without having to jump through hoops in QML. The only way to make that happen was to hack the build process to expose private methods.
But I realized that, at that point, there was no longer any point in using QML if I was going to have to use some neat tricks in C++.
So in just a day, I wrote a classic widget that implements the same WebView used in the QML version, just without any of the QML crap.
https://github.com/Ravenstine/qt-web-view-widget
And yeah, Qt does provide some form of a WebView in as a classic widget but, guess what, it involves bundling a browser runtime rather than using the browser engine of the host OS. Makes sense if you need more of the browser APIs exposed, but if all you want to do is show some simple things on a webpage and call JS from C++, then going through the effort of compiling Qt with support for that browser engine is overkill.
Overall, I don't mind most things about Qt. Despite how overcomplicated some of it is, it does what I want, which is to allow me to write native desktop apps without needing to invest much of my knowledge in OS-specifics. I like that I can use their Bluetooth library and, besides some quirks with how macOS handles device identifiers, I can compile it on other platforms and it will work for the most part.
I wish they'd abandon QML and just focus on making the experience of writing completely native apps better.
pub-dev
-
Learn Flutter by creating your first Flutter app!
For finding new packages, Flutter developers often visit https://pub.dev. Say you want to do a network request to a remote server using the http package, you can simply add it to your dependencies and then execute flutter pub get to fetch the package and make it ready to use.
- Desenvolvendo um widget de upload com Flutter 🩵
-
Build a Video Chat App with ConnectyCube Flutter SDK
where x.x.x is a latest version of the connectycube_sdk on pub.dev repository.
-
10 Useful websites for flutter developers!
Link: pub.dev
-
Are referenced packages compiled ?
I was trying to find out if a package that we create internally or pull from pub.dev is compiled and just added into the app or compiled and optimized when consumed by the app ?
-
Is it safe?
I've never actually submitted anything to pub.dev and I'm not even sure what's involved.
-
Flet is "The fastest way to build Flutter apps in Python" - it's not :(
Flutter is known for its reach ecosystem and availability of many high-quality libraries. There're over 38000 packages at pub.dev and none of those e are available to build UI in Flet.
-
How would one go about implementing this into a FlutterFlow project?
I checked on pub.dev just in case, and it appears that you can do some interop with js already. So try this instead.
-
Searching for the right tool for a text editing desktop app.
So, does Flutter provides what I need? Some functionalitty for checking word spelling with different languages would be really nice too. I found some HTMLs editors on the pub.dev. Some seems very nice, but I don't know about the red squiggle and that's important for me. I am no pro programmer, so it would be hard to me to implement this by myself. I'm looking at Qt as well, but the licensing seems a bit restrictive.
-
Get notified when your pub dependancies have been updated
There is a lot of clicking around and typing to get info on updates to pub.dev dependancies you use in your flutter apps, so I built a flutter webapp to make it easier
What are some alternatives?
lqml
serverpod - Serverpod is a next-generation app and web server, explicitly built for the Flutter and Dart ecosystem.
awesome-kotlin - A curated list of awesome Kotlin related stuff Inspired by awesome-java.
Flutter-HTML-Editor - A lightweight HTML-Richtext editor for Flutter
flutter-examples - This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
get_it - Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
Free-RASP-Community - SDK providing app protection and threat monitoring for mobile devices, available for Flutter, Cordova, Android and iOS.
flutter-widgets - Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.
rudderstack-docs - Documentation repository for RudderStack - the Customer Data Platform for Developers.
grpc-web - gRPC for Web Clients
flutter-maplibre-gl - A flutter package for showing customizable vector/raster maps with MapLibre (forked from tobrun/flutter-mapbox-gl)
reactotron - A desktop app for inspecting your React JS and React Native projects. macOS, Linux, and Windows.