Solved How can I enable QtCanvas3D plugins
-
As the title says, I don't have QtCanvas3D module when I want to use it
Now I have download QtCanvas3D Source Code from https://github.com/qt/qtcanvas3d and I have compiled it with my computer.
I get these files
I guess that it may lack of such as qmldir file or other plugin configure files, but I don't know how to do.
-
Oh, I have found the solution on http://doc.qt.io/qt-5/qtqml-modules-topic.html
I'd like to follow this doc. And it seems helpful
-
I found qmldir and plugins.qmltype files from souce code pack.
Now the question is that it still does not work for me.
QtCreator still reminds me of QML module not found
-
Oh god, I make a huge stupid mistake. In that project I use msvc as compiler, but I put the QtCanvas3D folder under MinGW49-32/qml directory.
As i copy the folder under msvc2015_64/qml directory , and restart my QtCreator, the problem was solved.