Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creator/Designer/labs controls: Invalid property name "visible" (M16)
Forum Updated to NodeBB v4.3 + New Features

Creator/Designer/labs controls: Invalid property name "visible" (M16)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 8 Posters 7.6k 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.
  • larry104L Offline
    larry104L Offline
    larry104
    wrote on last edited by
    #1

    Hi,

    I'm tinkering with qt designer for the first time so please bare with me - I tried various version of qt (5.6, 5.7_rc442, Creator 4.0) by installing the qt-opensource-linux-x64-5.x.run on a fresh Ubuntu 16.04 VM. I try to follow what Thomas did in his home automation demo (Qt Quick Controls 2 & Qt Quick Designer) - but somehow I can't even open the designer. All versions show the same error when creating a new qt labs control application - when starting the designer based on the auto-generated template it gives me the error: Cannot open this QML document because of an error in the QML file: Invalid property name "visible" (M16) - Also, all icons of the qt labs controls are red. - I would expect the template runs out of the box - do I miss anything here?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      prokher
      wrote on last edited by
      #2

      It is said that this will be fixed in the final release (https://blog.qt.io/blog/2016/06/03/qt-5-7-0-release-candidate-available/#comment-1197769) .

      Bug report: https://bugreports.qt.io/browse/QTCREATORBUG-16371 .

      Now, I am trying to patch installed version of Qt but still with no success.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prokher
        wrote on last edited by
        #3

        Fixed by applying the patch AND importing import QtQuick.Window 2.2 manually before import QtQuick.Controls 2.0. Frankly I don't know which one did the trick.

        xCyborgX K adsamcikA I 4 Replies Last reply
        4
        • P prokher

          Fixed by applying the patch AND importing import QtQuick.Window 2.2 manually before import QtQuick.Controls 2.0. Frankly I don't know which one did the trick.

          xCyborgX Offline
          xCyborgX Offline
          xCyborg
          wrote on last edited by
          #4

          @prokher Importing QtQuick.Controls 2.0 did it for me thanks.
          I'm on 5.7 RC but I bumped in this as well.

          1 Reply Last reply
          0
          • aqtuserA Offline
            aqtuserA Offline
            aqtuser
            wrote on last edited by
            #5

            Hi,

            i have a problem with the qt quick designer that might be related. I can't add any QtQuick Controls 2.0 widgets in the designer. The design form stays empty but the corresponding code is added to the qml file. The qml application also starts and works without problems. It's just that the designer doesn't show anything.

            I tried it with the 5.7RC release. Qt Creator version 4.0.2 on Windows 10 (msvc2015 64bit)

            does anyone know what the problem could be?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              Thomas Hartmann
              wrote on last edited by
              #6

              There is an issue with the plugins.qmltypes file for QtQuick Controls 2.0. The issue will be fixed in the final release.
              You can fix the plugins.qmltypes file manually: https://codereview.qt-project.org/#/c/161045/

              1 Reply Last reply
              0
              • P prokher

                Fixed by applying the patch AND importing import QtQuick.Window 2.2 manually before import QtQuick.Controls 2.0. Frankly I don't know which one did the trick.

                K Offline
                K Offline
                Kalebros
                wrote on last edited by
                #7

                @prokher It was the import; same problem here, but with the final 5.7 version and the Qt Creator 4.0.2. I've just made the import, and seems to work fine.

                1 Reply Last reply
                0
                • P prokher

                  Fixed by applying the patch AND importing import QtQuick.Window 2.2 manually before import QtQuick.Controls 2.0. Frankly I don't know which one did the trick.

                  adsamcikA Offline
                  adsamcikA Offline
                  adsamcik
                  wrote on last edited by adsamcik
                  #8

                  @prokher Got this error on final Qt 5.7 but adding import QtQuick.Window 2.2 fixed it. Thanks.

                  1 Reply Last reply
                  0
                  • P prokher

                    Fixed by applying the patch AND importing import QtQuick.Window 2.2 manually before import QtQuick.Controls 2.0. Frankly I don't know which one did the trick.

                    I Offline
                    I Offline
                    Ilnur
                    wrote on last edited by
                    #9

                    @prokher Well done!
                    Your advice solved my problem!
                    Thank You!

                    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