Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48240

ComboBox from Controls 1 incompatible with Tumbler from Controls 2

    XMLWordPrintable

Details

    • 53ff51b61a3ecfc485d7c8ec6d9a5b61d2791719 c8337d9779b87bc427842a9617179aca3b869d0a

    Description

      Using ComboBox from QtQuick.Controls 1 and Tumbler from QtQuick.Controls 2 in the same program cause former to fail to load with following error:

      qrc:/main.qml:12 Type ComboBox unavailable
      file:///mnt/store/Development/qt5/qtbase/qml/QtQuick/Controls/ComboBox.qml:583 Cannot assign object to property

      Sample program:

      import QtQuick 2.4
      import QtQuick.Controls 1.4
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          width: 640
          height: 480
          visible: true
      
          Column {
              ComboBox { }
      
              Tumbler { model: 10 }
          }
      }
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mitch_curtis Mitch Curtis
              krnekit Nikita Krupenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes