[Qt-interest] qmake - how to work with # char ?

Mario Signorino mario.signorino at gmail.com
Sat Feb 20 16:45:48 CET 2010


Hi all.

I need to write a .h file from my .pro.
I've successfully write this version.h

define VERSION "Rev: 245 - sab feb 20 16:29:13 2010"

with a system( $$VERSIONNAME )
Now... I need to add the # char at the beginning of  VERSIONNAME...
How can I do?

VERSIONNAME += #
VERSIONNAME += "#"
VERSIONNAME += '#'
VERSIONNAME += '\#'
VERSIONNAME += '\\#'

these does not work...
Tnx all!

-- 
Mario Signorino | www.sgrunt.net



More information about the Qt-interest-old mailing list