Ichi
17th February 2013, 20:03
hi everyone
I have installed Qt3D module. But now i have problem this code:
import QtQuick 2.0
import Qt3D 2.0
Viewport {
width: 640; height: 480
Item3D {
id: teapot
mesh: Mesh { source: "teapot.bez" }
effect: Effect {}
}
}
Work fine it will compile it and run it but for example i allways get message Item3D unknown component(M300) i know it is small thing but you know :D
and second thing every running i get this post "Module 'Qt3D' does not contain a module identifier directive - it cannot be protected from external registrations." WHat this mean?
I have installed Qt3D module. But now i have problem this code:
import QtQuick 2.0
import Qt3D 2.0
Viewport {
width: 640; height: 480
Item3D {
id: teapot
mesh: Mesh { source: "teapot.bez" }
effect: Effect {}
}
}
Work fine it will compile it and run it but for example i allways get message Item3D unknown component(M300) i know it is small thing but you know :D
and second thing every running i get this post "Module 'Qt3D' does not contain a module identifier directive - it cannot be protected from external registrations." WHat this mean?