Unsolved Controlling a 3d model
-
@Wieland Thank you..'ll try and let you know
-
@hareeshqt should we have Qt3D module and opengl for doing this...?
-
@hareeshqt In the .pro file you need
QT += qml quick 3dcore 3drender
. -
@Wieland and which application would be better widget or consol or....?
-
@hareeshqt "Qt Quick Controls Application"
-
@Wieland but if we use the Qt Quick Controls Application, we are not getting the .pro file is there any method.....?
-
@hareeshqt In Qt Creator, click "New project", select "Qt Quick Controls Application", click "Choose", enter a project name, click "Next", click "Next", click "Next", click "Finish". Your project folder now contains some files, include a .pro file.
-
@Wieland by doing that I got .qmlproject file. Is it the same?
-
I'm pretty sure you didn't select "Qt Quick Controls Application" but "Qt Quick Controls UI".
-
@Wieland Ya OK got it...thank you
-
@hareeshqt Ok so how can I import my 3d model from blender to Qt ?
-
@hareeshqt Take a look at the examples. Maybe start with this one.
-
@Wieland Ok many thanks....
-
@Wieland Hi, I'm trying the example suggested by you and got all the required files but how can we get the (.geom) file?
-
@hareeshqt Oh, yes, that's a bug in example shipped together with the latest Qt installers. You can get all files from here: http://code.qt.io/cgit/qt/qt3d.git/tree/examples/qt3d/wireframe
(You don't need to file a bug report for this, I already did this some time before, see QTBUG-50859)
-
@Wieland Hi, everything is ok now but after building, in the main.cpp file for #include<window.h> it's saying no such file or directory exists. Help me please.....
-
@hareeshqt You can find
window.h
andwindow.cpp
inhttp://code.qt.io/cgit/qt/qt3d.git/tree/examples/qt3d/common
. -
@Wieland I'm getting this..........
C:\Qt\5.6\mingw49_32\bin\rcc.exe:-1: error: File does not exist '..\exampleresources\obj.qrc' and also:-1: error: No rule to make target '../exampleresources/obj.qrc', needed by 'debug/qrc_obj.cpp'. Stop.
-
@hareeshqt can you help with these errors please.......!!!
-
Look here:
http://code.qt.io/cgit/qt/qt3d.git/tree/examples/qt3d/exampleresources