summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2018-02-05 13:08:39 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2018-02-06 07:15:49 +0000
commit89943b062c8c65aec7cf3b55be4740b74ef490d8 (patch)
treefc5065ca608d2dd11962999defb95d0ce2dc05f1 /examples
parentd5c406ccf8e2a4128d15c92f71fa10741967c1c8 (diff)
Studio3D: Stabilize
On Linux at least it is now able to start up and even change the window both with the basic and threaded render loops. There are some issues left in the threaded case, the window change can deadlock sometimes. Also, in the threaded case the engine is not actually destructed when exiting the application (since the deleteLater() request has no chance to run). We can probably live with the latter for now. The former needs more testing. Change-Id: I7dac8a8b603973ce56cd8afee7075177aef4deda Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/3dstudioruntime2/simpleqml/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/3dstudioruntime2/simpleqml/main.cpp b/examples/3dstudioruntime2/simpleqml/main.cpp
index 8846693..d503f4d 100644
--- a/examples/3dstudioruntime2/simpleqml/main.cpp
+++ b/examples/3dstudioruntime2/simpleqml/main.cpp
@@ -54,6 +54,7 @@
int main(int argc, char *argv[])
{
+ qputenv("QSG_INFO", "1");
QGuiApplication app(argc, argv);
QSurfaceFormat::setDefaultFormat(Q3DS::surfaceFormat());