← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1814613] Re: qmlscene -style material file.qml says "QApplication: invalid style override passed"

 

Reassigned to qtdeclarative-opensource-src which is responsible for the
qmlscene binary. qtchooser is just a "wrapper to select between Qt
development binary versions."

** Package changed: qtchooser (Ubuntu) => qtdeclarative-opensource-src
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtdeclarative-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1814613

Title:
  qmlscene -style material file.qml says "QApplication: invalid style
  override passed"

Status in qtdeclarative-opensource-src package in Ubuntu:
  New

Bug description:
  qmlscene -qt=5 -style material file.qml
  prints
    QApplication: invalid style override passed, ignoring it.
  on the terminal.

  This does not happen when using the environment variable method, e.g.
    QT_QUICK_CONTROLS_STYLE=material qmlscene -qt=5 file.qml

  The documentation for how this is supposed to work is at
    https://doc.qt.io/qt-5/qtquickcontrols2-styles.html#using-styles-in-qt-quick-controls-2

  I'm reporting this to ubuntu because it might be due to packaging or
  patching done for Ubuntu.  I can not conveniently try a pristine
  upstream version of Qt, so hoping the Qt Ubuntu maintainer can quickly
  determine if this is an upstream bug or not.

  I'll attach a trivial test file which demonstrates the problem

  STEPS TO REPRODUCE:
    qmlscene -style material test.qml  # test.qml attached

  ACTUAL RESULTS:
    Prints warning about invalid style on the terminal

  EXPECTED RESULTS:
    Silent obedience

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1814613/+subscriptions