Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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.

    Charlie


Log in to reply