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

Adding warnings if graphicsApiFilter()->setMajorVersion() and graphicsApiFilter()->setMinorVersion() are not

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.14.0
    • Qt3D

      User has informed us that he has several application that do work with Qt 5.10/12/13 but on 5.14 they stopped working.

      He found out that he needed to add:

       

      QTechnique->graphicsApiFilter()->setMajorVersion(3);
      QTechnique->graphicsApiFilter()->setMinorVersion(2);

       

      to his code to make it work.

      This was not required before.

      Could a warning be added if setMajorVersion() and setMinorVersion() have not been set?

       

      Example project has been added.

      FlatColorMaterial.cpp needs to have

        m_flatColorGL3Technique->graphicsApiFilter()->setMajorVersion(3);
        m_flatColorGL3Technique->graphicsApiFilter()->setMinorVersion(2);
      

      in order to work on 5.14

        1. INC-1315844.zip
          8 kB
          Tero Pelkonen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            seanharmer Sean Harmer
            tero.pelkonen Tero Pelkonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes