[Qt-interest] qmake - how to work with # char ?
Diego Iastrubni
diegoiast at gmail.com
Sat Feb 20 16:50:54 CET 2010
Execute a shell or bat script, IMHO, will be easier.
On Sat, Feb 20, 2010 at 5:45 PM, Mario Signorino
<mario.signorino at gmail.com>wrote:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100220/f2ed274c/attachment.html
More information about the Qt-interest-old
mailing list