integrating library classes to qt 6
-
I am learning Qt 6, C++, and Classes all at once. Is there a beginners group that fits me? If a class from external library should exist once per application does it go in main or mainwindow? I am not clear on the difference between these two. Is there a way to use the classes in an external library so that they are 'visible' and not out of 'scope' to the rest of Qt 6 code? I have managed to link in the library classes and have a few "hello world" type functions working from main.cpp ,but the same code generates out of scope when i try to work with the class members via signals and slots.
How should the library classes be used in Qt 6.... Thanks, Charles -
Hi,
Rather than trying to learn all at once, you should start with C++ alone, the class concept, member variables and accessor, how to design an API and then start with Qt.