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.

    Charlie


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.