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

Oleg Evseev ev.mipt at gmail.com
Mon Aug 13 23:28:03 CEST 2018


My bad. Windows Deployment nothing to do with my issue. In fact this was in
release mode even in qt creator due to my mistake with #ifdef QT_DEBUG and
not adding entities to QLayerFilter %)

Sorry for bothering.

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

> 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/20180814/84f3a99f/attachment.html>


More information about the Interest mailing list