Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Global variables available in any windows classess
michalt38 last edited by
How can I create in Qt a global variables that can be available from any window classess?
A Former User last edited by
Hi! Qt is just C++. Global variables work just as you'd expect them to work in C++.
@michalt38 To add to @Wieland : you should avoid global variables as they are a source of problems.