I’m making my QT-application ready for shipping.
I’ve got one import -> QtDesktop.
I put it under Contents/imports (the dylib is under Contents/imports/QtDesktop/plugin).
Then I fixed its dependencies with install_name_tool -id & -change.
Upon starting the application it keeps saying “module “QtDesktop” is not installed”
What could be wrong?
Check out this excellent link from Nokias Qt Documentation. They describe the steps you mention with
install_name_tool. But they recommend putting plugins in a sligtly diffrent folder.Also check out the clever macdeployqt script – It will do everything automatically for you. I’ve used it successfully on an application.