Qt 6.11 is out! See what's new in the release
blog
How to call a function.
General and Desktop
9
Posts
4
Posters
2.3k
Views
1
Watching
-
As Qt is just C++, maybe you should read up how to program C++ before you dip your feet into the Qt libraries. Or learn them concurrently (no pun intended).
"This":http://www.cplusplus.com/ website has some great C++ tutorials.
The Qt examples that are packaged with the libraries are another great reference. They should be right in your Qt install directory under your Qt version.
-
Are you talking about a specific function? Or one from Qt?
Like Gerolf says this is basic C/C++, if you wanted to call a function from main it would be:
@
int main()
{
myFunc();
return 0;
}
@But that has absolutely nothing to do with Qt.