Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
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
- relates to
-
QT3DS-1646 Fix public demos for 2.0
- Closed
For Gerrit Dashboard: QT3DS-1645 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
229257,4 | Make calling Q3DS::surfaceFormat() optional for Studio3D | 2.0 | qt3dstudio/qt3d-runtime | Status: MERGED | +2 | 0 |