Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Invalid property name "color". (M16) For custom property of PieChart in the example project "extending-qml".
Forum Updated to NodeBB v4.3 + New Features

Invalid property name "color". (M16) For custom property of PieChart in the example project "extending-qml".

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 2.5k Views 1 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.
  • J Offline
    J Offline
    Jiabin
    wrote on 25 Jun 2018, 09:44 last edited by Jiabin
    #1

    I'm a Qt beginner and is learning the example "extending-qml". Seems the custom type 'color' in class PieChart is not recognized by the designer and I can not switch to the Form Editor.
    Anyone knowns how the solve this problem? Thanks.
    0_1529919823013_InvalidPropertyName_M16.png

    D 1 Reply Last reply 25 Jun 2018, 11:34
    0
    • J Jiabin
      25 Jun 2018, 09:44

      I'm a Qt beginner and is learning the example "extending-qml". Seems the custom type 'color' in class PieChart is not recognized by the designer and I can not switch to the Form Editor.
      Anyone knowns how the solve this problem? Thanks.
      0_1529919823013_InvalidPropertyName_M16.png

      D Offline
      D Offline
      Diracsbracket
      wrote on 25 Jun 2018, 11:34 last edited by Diracsbracket
      #2

      @Jiabin
      Hi...
      Have a look at this:
      https://forum.qt.io/topic/56207/how-to-load-custom-qml-controls-into-the-qml-designer
      and:
      http://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html

      1 Reply Last reply
      2
      • J Offline
        J Offline
        Jiabin
        wrote on 27 Jun 2018, 03:11 last edited by
        #3

        It seems that I installed two versions of Qt, 5.10 and 5.11. I removed 5.11 and the problem be solved.
        @Diracsbracket Thanks for your reply.

        D 1 Reply Last reply 27 Jun 2018, 03:30
        0
        • J Jiabin
          27 Jun 2018, 03:11

          It seems that I installed two versions of Qt, 5.10 and 5.11. I removed 5.11 and the problem be solved.
          @Diracsbracket Thanks for your reply.

          D Offline
          D Offline
          Diracsbracket
          wrote on 27 Jun 2018, 03:30 last edited by
          #4

          @Jiabin said in Invalid property name "color". (M16) For custom property of PieChart in the example project "extending-qml".:

          I installed two versions of Qt, 5.10 and 5.11. I removed 5.11 and the problem be solved

          Glad it is sorted out. What is strange though is that having multiple Qt versions installed really shouldn't be a problem. Switching between multiple installed kits works pretty well usually.

          1 Reply Last reply
          0

          2/4

          25 Jun 2018, 11:34

          • Login

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