I have a program that when executed creates a folder in "~/Library/Application Support/MyApp" on mac. This is the directory that its config.cfg and log files and written to. The program has 2 files its depends on, a .dylib library and a .map file.
When I run macdeployqt, the .dylib is automatically copied to the Frameworks folder within the .app bundle. I have specified the file name of the .dylib in the .pro file:
INCLUDEPATH = libokFrontPanel.dylib
DEPENDPATH = libokFrontPanel.dylib
LIBS = libokFrontPanel.dylib
So when building the compiler looks in the build folder for the .dylib file.
Is there a way to automatically copy the .map file from the build folder into "~/Library/Application Support/MyApp" which is where it looks for the file at run time?
I could always just have to user manually copy the file there before use, but it would be nice if it could be automated at run time/compilation time.
Thanks, Mitch