-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.14.2
-
None
I am building AliceVision Meshroom on windows, which uses QML components.
My build steps are here: https://gist.github.com/julianrendell/da6372201234d943d3e4f77e43674fd2
When I execute:
set QML2_IMPORT_PATH="D:\Meshroom_Dev\qmlAlembic\qml;D:\Meshroom_Dev\QtOIIO\qml;D:\Meshroom_Dev\QtAliceVision\qml"
And run the application, none of the QML plugins are discovered.
The output of tree /F /A for each of the directories containing the qml directories is:
D:\MESHROOM_DEV\QMLALEMBIC
---qml
---AlembicEntity
alembicEntityQmlPlugin.dll
alembicEntityQmlPlugin.lib
qmldir
D:\MESHROOM_DEV\QTOIIO
+---imageformats
| QtOIIOPlugin.dll
| QtOIIOPlugin.lib
|
---qml
---DepthMapEntity
depthMapEntityQmlPlugin.dll
depthMapEntityQmlPlugin.lib
qmldir
D:\MESHROOM_DEV\QTALICEVISION
---cml
---AliceVision
qmldir
qtAliceVisionPlugin.dll
qtAliceVisionPlugin.lib
But when I copy all the QML components into a single directory, and use the following:
{{set QT_PLUGIN_PATH=D:\Meshroom_Dev\qtPlugins}}
{{set QML2_IMPORT_PATH=%QT_PLUGIN_PATH%\qml}}
It works. The content of these directories are:
{{D:\MESHROOM_DEV\QTPLUGINS}}
{{{{ +---image-formats}}}}
{{{{ | QtOIIOPlugin.dll}}}}
{{{{ | QtOIIOPlugin.lib}}}}
{{{{ |}}}}
{{{{ ---qml}}}}
{{{{ +---AlembicEntity}}}}
{{{{ | alembicEntityQmlPlugin.dll}}}}
{{{{ | alembicEntityQmlPlugin.lib}}}}
{{{{ | qmldir}}}}
{{{{ |}}}}
{{{{ +---AliceVision}}}}
{{{{ | qmldir}}}}
{{{{ | qtAliceVisionPlugin.dll}}}}
{{{{ | qtAliceVisionPlugin.lib}}}}
{{{{ |}}}}
{{{{ ---DepthMapEntity}}}}
{{{{ depthMapEntityQmlPlugin.dll}}}}
{{ depthMapEntityQmlPlugin.lib}}
{{ qmldir }}
(line inserted to try and work around formatting issues)