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

Memory leak when using QT_QPA_PLATFORM=offscreen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.4
    • QPA
    • None
    • Linux/Other display system

    Description

      A trivial test app shows a memory leak when using QT_QPA_PLATFORM=offscreen

       

      #include <QGuiApplication>
      #include <QTimer>
      #include <QWindow>
      
      int main(int argc, char **argv)
      {
          QGuiApplication app(argc, argv);
          QWindow window;
          window.show();
      
          QTimer::singleShot(0, [&]() {
              app.quit();
          });
      
          return app.exec();
      }
      
      

      Attachments

        For Gerrit Dashboard: QTBUG-77998
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            molesmoke Jeremy Powell
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change