Hi there,
snippet of my pro-file as follows:
Qt Code:
DEFINES += QT_NO_DEBUG_OUTPUT CONFIG += release TARGET = MyAppName TEMPLATE = appTo copy to clipboard, switch view to plain text mode
Can I somehow retrieve the TARGET (MyAppName) programmatically to use it on compile time to store it as a variable? The purpose could be to write it into a logfile on startup. I use it quite often hard coded to show it here and there at runtime. On every change on the desired target I have to search all the code to replace it.
Thank you all. Greetings, Lars
Bookmarks