Public bug reported:

The simple

import QtQuick 2.3
import Ubuntu.Components 1.2

Item {
    CheckBox {
    }
}

code gives a warning saying

QML CheckBox: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.

ThemeSettings is only introduced by Ubuntu.Components 1.3 so it should
not give such a warning.

When using qtdeclarative5-ubuntu-ui-toolkit-plugin
1.3.1549+15.04.20150706-0ubuntu1 installed

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  The simple
  
  import QtQuick 2.3
  import Ubuntu.Components 1.2
  
  Item {
-     CheckBox {
-     }
+     CheckBox {
+     }
  }
  
  code gives a warning saying
  
  QML CheckBox: Theme.createStyleComponent() is deprecated. Use
  ThemeSettings instead.
  
+ ThemeSettings is only introduced by Ubuntu.Components 1.3 so it should
+ not give such a warning.
+ 
  When using qtdeclarative5-ubuntu-ui-toolkit-plugin
  1.3.1549+15.04.20150706-0ubuntu1 installed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1472959

Title:
  Ubuntu Components 1.2 gives wrong deprecation warnings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1472959/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to