[Interest] [Qt3D] Windows Deployment. Path to models?

Oleg Evseev ev.mipt at gmail.com
Mon Aug 13 19:08:10 CEST 2018


Build app without models and its size reduced by size of models. So they
are the part of exe as other resources, right? But not displayed :(

2018-08-13 19:46 GMT+03:00 Oleg Evseev <ev.mipt at gmail.com>:

> Hello!
>
> Trying to deploy windows desktop application with qt3d. Application runs
> but sceneloaders don't load qgltf models added through assest QT3D_MODELS.
> In code models are loaded from resources:
> setSceneLoaderSource(QString("qrc:/models/helicopter.qgltf"));
>
> In qt creator everything loads fine.
>
> Where should I copy qgltf models and theirs files? Tried root directory
> (beside with exe) and "models" dir - didn't help.
>
> Thanks in advance for help!
>
> --
> With regards, Oleg.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180813/142e8b7a/attachment.html>


More information about the Interest mailing list