Getting values from pro files in Qt
Posted
by user249490
on Stack Overflow
See other posts from Stack Overflow
or by user249490
Published on 2010-05-12T07:01:30Z
Indexed on
2010/05/12
7:04 UTC
Read the original article
Hit count: 217
Hi,
I am using Qt 4.5 in Windows XP. My pro file has the variable VERSION = 1.0
. Now i need to read this variable and get its value (1.0
) from the source code. So that I don't have to maintain another variable for version inside my source code. I just read from the pro file and update it. So that the value remains consistent all over my project. Is it possible? Any pointers regarding this are welcome..
© Stack Overflow or respective owner