Using .pro variables in .cpp
I want to save a variable in .pro file and then, use it in a class. How can I do it?
Thank you very much!
easiest way is probably to use DEFINES (preprocessor)
Look here ( to expand on @raven-worx answer)
Other elegant way is a class name "Config"
Wo write setting direct to ini from OS.. I saw very well this class work on all mobile device & desktop mac window linux ... I was surprised .. waht this smal box can do ...