MacOS Deployment
-
Hello everybody. I'm going crazy with "macdeployqt". After I've compiled my app (and it runs properly from Creator), I copied the .app file in another folder and run macdeployqt over it specifying the QML directory. However, if I try to run the application from Finder it crash before to start but if I double-click the executable inside "Content/MacOS/" the app starts.
How can I get more info about the crash? -
I've executed the command "export DYLD_PRINT_LIBRARIES=1" and as I can see, if I open the executable from terminal, it loads file from app bundle but if I use the "open" command to run the bundle, it loads file from "/System/Library", is this behaviors correct?
Edit: Ok... After some tests with an empty app I found where the problem is.
I got a class that make use a new thread for each object to execute a method, setting this thread as "static" have solved the problem. Could it be a problem related to an high amount of thread that are created? How can I solve this?