Thanx! The function quote() did the trick. Although according to the documentation it is just a fancy way to put double quotes around a string.
I still cannot figure out how to check if environment variables are defined.
Thanx! The function quote() did the trick. Although according to the documentation it is just a fancy way to put double quotes around a string.
I still cannot figure out how to check if environment variables are defined.
Have a look at qmake function reference. I guess you will find the answer contained in it :-)
Qt Code:
AMDAPPSDKROOT = $$(AMDAPPSDKROOT) !isEmpty(AMDAPPSDKROOT) { INC_DIRS = "$${AMDAPPSDKROOT}include" }To copy to clipboard, switch view to plain text mode
Bookmarks