PDA

View Full Version : Problem with QApplication::applicationVersion()



Tondog
9th July 2009, 10:18
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.

nish
9th July 2009, 10:25
playing with resources can be done with WinApi. search msdn and you will find how to use a resource.