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
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1472959

Title:
  Ubuntu Components 1.2 gives wrong deprecation warnings

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to