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

Scene color problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0
    • Qt3D
    • None
    • Linux/X11

    Description

      I was using Qt 5.14.2 for developing a Qt3D project where the background color of the scene is black and it was always like this. Seeing that Qt 5.15 came out I updated and now the background color of the scene is white and I didn't touch any of the code. At first all the elements of the scene looked white, but putting these lines in the main.cpp of my code solved that but the background is still white when it should be black, these are the lines:

       

       QSurfaceFormat glFormat;

      glFormat.setVersion(3, 2);                                           

      glFormat.setProfile(QSurfaceFormat::CoreProfile);

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            lillo_10 Angel Lillo Amaro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes