PDA

View Full Version : Qt3D problem



html4eto
9th November 2011, 23:01
In this code

import QtQuick 1.0
import Qt3D 1.0

Viewport {
width: 640; height: 480
Item3D {
id: teapot
mesh: Mesh { source: "teapot.bez" }
effect: Effect {}
}
}
i have that error

GL graphics system is not active; cannot use 3D items

thoughthorizon
20th January 2012, 15:01
Are you running this in QML Viewer? If so do you have the -graphicssystem opengl command line argument?

Without it you won't be running in GL mode, and will get this error.

in_dbasu
26th June 2012, 07:07
I have been stumbling upon the same error while running the car 3D demo code. kindly help