Qt newbie here, I need some help
-
I am working on a C++ project, for which I want to make a frontend in Qt. I have already made (parts of) the backend, but to carry on I need to make the frontend first.
Where should I start learning how to use Qt and how will I integrate the Qt frontend code with my existing backend code?
Thanks in advance!
-
I am working on a C++ project, for which I want to make a frontend in Qt. I have already made (parts of) the backend, but to carry on I need to make the frontend first.
Where should I start learning how to use Qt and how will I integrate the Qt frontend code with my existing backend code?
Thanks in advance!
@RaptaG said in Qt newbie here, I need some help:
Where should I start learning how to use Qt
I mean, you learn Qt by learning Qt.
If your C++ knowledge is good, then you shouldn't face any problems, if not, I would recommend to learn C/C++ and OOP principles first.
Depending on what type of program your project is, take a look at the Qt modules that are interesting and helpful for you.
Also, QML or QtWidget application?
how will I integrate the Qt frontend code with my existing backend code?
Keep in mind that Qt is an event driven GUI framework.
So you have to start with aQGuiApplicationwhich contains the main (GUI) event loop and then build upon that.Maybe you find something similar to your project among the Qt examples:
-
Hi,
You might find some of these links and resources helpful:
- https://wiki.qt.io/Qt_for_Beginners
- https://stackoverflow.com/questions/2169950/what-is-the-best-place-to-start-learning-qt
Personally, I started with this tutorial when I wanted to learn GUI programming:
And then just converted some C++ console projects I made while learning C++ to Qt.
-
@RaptaG said in Qt newbie here, I need some help:
Where should I start learning how to use Qt
I mean, you learn Qt by learning Qt.
If your C++ knowledge is good, then you shouldn't face any problems, if not, I would recommend to learn C/C++ and OOP principles first.
Depending on what type of program your project is, take a look at the Qt modules that are interesting and helpful for you.
Also, QML or QtWidget application?
how will I integrate the Qt frontend code with my existing backend code?
Keep in mind that Qt is an event driven GUI framework.
So you have to start with aQGuiApplicationwhich contains the main (GUI) event loop and then build upon that.Maybe you find something similar to your project among the Qt examples: