Qt Forum

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

    Forum Updated on Feb 6th

    [SOLVED]Qt Creator determined existing property as "non-existent property"

    QML and Qt Quick
    button
    2
    4
    1012
    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.
    • R
      rogerloh4.0 last edited by rogerloh4.0

      Tried to add a new button on the MainForm.ui.qml
      with already 2 are existed.
      However, when I try to give commands to the 3rd button in main.qml, it gives me this message:

      Cannot assign to non-existent property "button 3"

      Noted: I have not change or alter any of its original property, only changed the text from "Button 3" to "Start"

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

        Hi,

        You should share the related so other may spot your error

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

        R 1 Reply Last reply Reply Quote 0
        • R
          rogerloh4.0 @SGaist last edited by

          @SGaist Oh thanks, I later found out what I done wrong. I forgot to give it an alias. Silly mistake

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

            Glad you found out and thanks for sharing the solution.

            Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

            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