Skip to content
  • 0 Votes
    5 Posts
    13k Views
    E

    @Wieland Thanks for the reference - that has worked for me.

    Also, thanks for the Qbs information - i hadn't seen this before but will look into it

    @SGaist - thanks for the info

    I had previously tried something similar but I think it may have been the escaping of quotes which caught me out.

  • 0 Votes
    5 Posts
    2k Views
    L

    Clean project
    And have new error

    ****\main.cpp:8: error: C2143: syntax error : missing ')' before 'constant' ****\main.cpp:8: error: C2664: 'QString::QString(QStringDataPtr)' : cannot convert argument 1 from 'double' to 'const QChar *' ****\main.cpp:8: error: C2059: syntax error : ')'

    EDIT:
    Now I add new macro

    #define _TOSTR(x) #x #define TOSTR(X) _TOSTR(X)

    And now I can use DEFINES from *.pro file