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

Scene color problem

XMLWordPrintable

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

      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);

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

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

              Created:
              Updated:

                There are no open Gerrit changes