Globar var in Qt
RIVOPICO last edited by A Former User
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.
A Former User last edited by
Just like with any other type in C++. But be careful not to create any QObjects before the QApplication object has been created.
RIVOPICO last edited by
lol ok thx solved