Solved mac deployment problem of 3d project
-
Hi all, I found a problem when I deploy my project which load and display a 3d obj. The program works fine in Qt Creator Run, but when I use macdeployqt on the bundle and run the bundle, the obj doesn't display.
My project is in Here
BTW, in Windows, the windeployqt has same problem but when I copy Qt53DAnimation.dll into the executable path, it works fine.
-
There is no need for duplicated postings. Moderators can shift it in case your post is more suitable in another category.
-
Hi,
Which version of Qt are you using ?
-
@koahnig ok,because I don't find a way to move topic so I just make two. Feel sorry and that one is closed now
-
@SGaist 5.9.1, I think this version is new enough
-
I did a quick check with 5.9.2 and the
Qt53DAnimation
framework was deployed. -
@SGaist As I check the deployed bundle,
Qt53DAnimation
framework is deployed but the problem still. The way used in Windows doesn't work on MacOS. May be there are some other frameworks missed in mac deployment asQt53DAnimation.dll
missed in windows deployment. -
What exactly is missing in your app bundle ?
-
@SGaist That is what I want to find. The program doesn't crash thus I don't get any clue. I had tried otool to the bundle but nothing was strange
-
So there are indeed plugins missing.
One thing you can do is to clone the
qttools
module and buildmacdeployqt
from the 5.10 branch where the deployment has been fixed. -
@SGaist I have tried and it works. Thanks a lot. BTW, the similar problem in windepolyqt should be fixed too.
-
Can you check also with the 5.10 version of windeployqt ? From a quick look at the sources, it should be already working.
-
@SGaist En, I checked and it still missed
Qt53DAnimation.dll
in the executable path -
Ok, I was focused on the plugin issue. There's a patch in progress to fix that.