Important: Please read the Qt Code of Conduct -

Variable name as string

  • Hi,

    In C++, this is possible to get a variable name as string with for example :

    #define GET_VARIABLE_NAME(variable) (#variable)

    Is it possible to do this with QML ? Or how use the C++ solution in QML ?

    Thank you for advance.


Log in to reply