Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML Connections:: Cannot assign to non-existent property "onIgnoreChanged"

QML Connections:: Cannot assign to non-existent property "onIgnoreChanged"

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 501 Views 2 Watching
  • 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I'm porting an application originally written for Qt 4.8, now porting to Qt 5.8. The following message is displayed in the Application Output on start-up.

    PlantInputs.qml:120:21: QML Connections: Cannot assign to non-existent property "onIgnoreChanged"
    

    This is in a section of code:

    RoundedSwitch {
        id: ignoreState
        ...
        Connections {
            target: model
            onIgnoreChanged: {
                ...
            }
    }
    

    Is this an event that was previously supported and now isn't? How should I address this?

    Kind Regards,
    Sy

    ODБOïO 1 Reply Last reply
    0
    • SPlattenS SPlatten

      I'm porting an application originally written for Qt 4.8, now porting to Qt 5.8. The following message is displayed in the Application Output on start-up.

      PlantInputs.qml:120:21: QML Connections: Cannot assign to non-existent property "onIgnoreChanged"
      

      This is in a section of code:

      RoundedSwitch {
          id: ignoreState
          ...
          Connections {
              target: model
              onIgnoreChanged: {
                  ...
              }
      }
      

      Is this an event that was previously supported and now isn't? How should I address this?

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      hi
      @SPlatten said in QML Connections:: Cannot assign to non-existent property "onIgnoreChanged":

      target: model

      what is model in this context ?

      1 Reply Last reply
      0
      • SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by SPlatten
        #3

        It looks like "model" is a C++ object, but I cannot trace where it is added or exposed to QML. If anyone can tell me how I can trace this ?

        Kind Regards,
        Sy

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved