4 ms·
How many proper cross-platform approaches are there these days? Just about every one I've seen is "grab the native platform's canvas, draw your own".
by red_admiral 17d ago
How many proper cross-platform approaches are there these days? Just about every one I've seen is "grab the native platform's canvas, draw your own".
- josephg 17d ago- Grab the native canvas, draw your own UI - Electron and friends (web toolkits, tauri, etc) - Or my favorite: Just have a UI library which wraps all the native UI toolkits on each platform. Eg: https://daybrite.dev/ https://daybrite.dev/
- flossly 16d agoDoesn't Qt wrap native UI toolkits? It looks very native...
- roblabla 16d agoAFAIK, the OS-specific Qt themes don't wrap the native widgets, it reimplements them. They are rather thorough though, making sure their OS-specific theme matches the look and behavior of the native OS, which makes it one of the best framework to do something that feels close to native.
- flossly 16d agook. did not know that.
- red_admiral 16d agoNo, it's just the most accurate re-implementation that I know of at least for Windows. You can sometimes tell the difference because the QT emulated widget can do things that the native widget can't.