I'd like to support both web and cross platform desktop application.
I wanted to go with Qt6, but I can't run a web app in it. There is always something that won't work.
I found out about oatpp , which looked fine, and worked fine too. However it's web only.
So what should I do ? Any suggestions?
Why not implement a RESTful API, which you can consume from Qt6, for desktop and mobile solutions, and other web languages for the web-app solution?
Did you look into https://github.com/cutelyst/cutelyst? That's framework for developing webapps on top of Qt. Also FYI : QT6 is not feature complete. Not all modules from Qt5 were ported yet. It's better to use Qt5.15 for now in most cases. Just avoid deprecated features.
Cutelyst 3 was also released for qt6, However at each stage something wasn't right. I'm guessing qt6 could be the problem. Also when I got some code with it, there were lots of raw pointers which I didn't like. Thanks anyway
Yeah I think I'm gonna go with this approach, or sciter, about which I just found out. Don't know how it'll work yet.
If I go with Qt5, I can have webassembly for the web apps. I think this sounds near perfect.
Raw pointers are used everywhere in Qt. Don't think you'll be able to avoid those.
if the raw pointers and qobjects with parents, there is no need to worry tbh, qt is like java but for c++, :D
I know, I just got used to the newer libs, where asterisks are used only for dereferencing.
We could try it out together if you don’t mind🤷🏼♂️ Just implemented a REST framework in PHP and looking for a project to test its power🙃
Thanks, but, I want to do it in c++ and alone, it's more of a challenge project for me.
Обсуждают сегодня