ChrisW67, after you hint I tried, but with no success.
Zaphod, I don't know neither tool nor install_name_tool. But inside the app, after macdeployqt, as I said, I see all the needed frameworks. Moreover, they are all correctly accessed, even QtPrintSupport.framework (in fact on a physical printer my tiny program prints).
I'm becoming convinced that there must be some bug out there.
These tools are explained, or at least shown how to put to use, in Deploying an Application on Mac OS X, as is macdeployqt. With otool you can check which paths the dynamic linker will use to reference dylibs. With install_name_tool you can adjust the ids on both ends of these references.
To see the frameworks is not enough. The references must fit. Usually this is ok for the Qt frameworks after macdeployqt, but sometimes it's not, and your own libs you will almost certainly have to fix.
When you run the bundle? Hmm this renders my notes useless then.
When I familiarized myself with deployment on Mac i ran into severe cases of PEBKAC with the exact same symptoms as yours more than once...![]()
Bookmarks