Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-999 Documentation in Runtime 2.0
  3. QT3DS-1645

Document/revisit Q3DS::surfaceFormat pitfalls and gotchas

    XMLWordPrintable

Details

    Description

      In many cases (depending on the platform and driver glitches) applications are advised to do something like:

      #include <q3dsruntimeglobal.h>
       
       int main(int argc, char *argv[])
       {
           QGuiApplication app(argc, argv);
           QSurfaceFormat::setDefaultFormat(Q3DS::surfaceFormat());
          ...
      

      This needs to be documented and explained.

      however

      this may present an issue for Studio3D users, in particular for Quick Designer - there is nothing that can control the surface format used by Quick in that case... could the logic be changed so at least Studio3D does not need this (try to pick up the format of the QQuickWindow instead or something - and adjust our feature detection logic to somehow take that into account)

      Attachments

        Issue Links

          For Gerrit Dashboard: QT3DS-1645
          # Subject Branch Project Status CR V

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes