<seb128> timp, the warning goes away if you update the import version to
e.g 1.1, so I guess that's what needs to be changed, but the warning
hint is not helpful in this case


If updating the import version is supposed to fix the warning, we should say 
that in the printed message to help the app developers figure out what's wrong.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
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/1457528

Title:
  Theme.createStyleComponent deprecation useless warnings are displayed

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

Bug description:
  Take that example

  "import QtQuick 2.0
  import Ubuntu.Components 0.1

  Item {
      Button {
          text: "click"
      }
  }"

  run it on wily, you get those warnings

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

  the warning is not helpful, it warns about a standard component issue
  (so something in the responsability of the uitk team, not the code
  writer), lists the issue on something you are not using (what is
  "Theme.createStyleComponent()" that's not used in the code example?),
  it's just confusing...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1457528/+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