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

QQmlEngine::setOutputWarningsToStandardError(false) not working for QFont::setPointSizeF

XMLWordPrintable

    • Windows

      I'm trying to delete a QQMLEngine without having warning in the console from qml/bindings.

      Before deleting, i do

      // Stop bindings to delete faster
      m_engine->setInterrupted(true);
      // Disable warning to the console/log file
       m_engine->setOutputWarningsToStandardError(false);
      // Delete
      m_engine->deleteLater();
      

      It work almost as intended but because of "setInterrupted(true)" all binding return undefined
      and for some bindings on Text, i still get warnings in the console

      QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
      

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

            qtqmlteam Qt Qml Team User
            dalverny Sébastien Dalverny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes