Hacker News new | ask | show | jobs
by terminalcommand 3007 days ago
This could be easily achieved. QT does not require you to change the way you code, you can design a UI in QT designer, add the buttons, callbacks etc. . Then export it as a uic file. Then use a converter of that uic file to your programming language of choice, import it, fill the callbacks and be done with it.

It's 90% automated and visual.

I'd recommend coding a basic text-only (just print statements) interface first, then bind it to the QT GUI.

If you'd like a more modern looking UI, also check out QML.

Have fun :)

1 comments

okay so another question, so in theory I could keep a common backend code and experiment with Qt frontend code even as I simultaneously build with electron as well?
That is correct. This is one of the benefits that come with choosing the server-client architecture. Backend is decoupled from the frontend (e.g. UI).