Hi,

I'm trying to include my application's SVN revision number as a macro in my
code and I'm doing this via

DEFINES += SVN_VER=\"$$system(svnversion -n .)\"

When I hover mouse in QtCreator, I see

#define SVN_VER "280M"

which sounds ok to me but the compiler refuses to compile. Apparently the
"" mark is not processed correctly since gcc complains that

error: invalid suffix "M" on integer constant

How should I fix this?
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to