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 "orientation" (M16) in Design mode
Forum Updated to NodeBB v4.3 + New Features

Invalid property name "orientation" (M16) in Design mode

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 980 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.
  • B Offline
    B Offline
    Bendilock
    wrote on last edited by
    #1

    Hello,

    I am getting an error with QtCreator 5.0.3-2. I have installed qt5 version 5.15.2. I am using Manjaro Xfce21.1.6.

    I create an new "Qt Quick Application - Empty", then add a "QtQuick UI File", and open it in Design mode. I drag a rectangle into my Item and press "Fill color" to choose a color. Solid colors work fine, but as soon as I choose Linear, I get an error message saying 'Invalid property name "orientation" (M16)'. I can still choose a color, but nothing gets applied to the rectangle. If I click the Gradient Picker and choose a predefined gradient, I get the same error when clicking Apply, and no colors get applied.

    invalidPropertyNameOrentation

    I searched and found posts regarding Invalid Property Name errors, but nothing about the "orientation" property.

    Anyone have a clue what the issue might be and how to solve it?

    Best regards,
    Gustav

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bendilock
      wrote on last edited by
      #2

      Update:

      If I add the gradient in the Text Editor first, then I can play around with the gradient in the Form Editor just fine! But the predefined gradients in the Gradient Picker still generate the same error.
      alt text

      Best regards,
      Gustav

      1 Reply Last reply
      0
      • J Offline
        J Offline
        John SW
        wrote on last edited by John SW
        #3

        I experienced the same problem which was solved by importing QtQuick.Controls. (Qt Creator 6.0.2)

        1 Reply Last reply
        0
        • DehghannnD Offline
          DehghannnD Offline
          Dehghannn
          wrote on last edited by
          #4

          I am experiencing the same problem on Qt Creator 7.0.2

          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