Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Invalid alias reference for property

    QML and Qt Quick
    qtcreator property alias
    2
    2
    721
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AmazingQt
      AmazingQt last edited by

      I have invalid alias reference when I create a alias for one of my id within the same qml
      Upon commenting the line for property of my alias I am able to run my code

      What could be the issue?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        id is not a property but an attribute. See here

        Out of curiosity, why do you want to alias it ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post