PDA

View Full Version : Problem with applicationVersion ()



Tondog
8th July 2009, 14:45
The function QApplication::applicationVersion() gives me an emty QString back, but when i test QApplication::applicationPath(), the right path comes back.
The version is in a .rc-File in the same folder.

If i set a applicationVersion ( QApplication::setAppllicationVersion(QString version)) the function gives me this version.

But i need the Version from the .rc-File.
The right version is also in the .exe properties.

mcosta
9th July 2009, 11:30
QApplication::applicationVersion() returns the string set with QApplication::setApplicationVersion().