Solved Globar var in Qt
-
How i can declare globar vars. For example i want that my app recognize one string like QString prueba; Then i need to include in header and cpp file to be recognized. Sorry for the question i'm newbie.
-
Just like with any other type in C++. But be careful not to create any QObjects before the QApplication object has been created.
-
-
lol ok thx solved