Dll/dylib correct way to copy/install/etc.. ?
-
I have a Qt project that includes an executable project and a dylib/dll project and I am wondering what is the 'correct' way to make this library accessible by the executable during debugging? On the OSX side I am looking for anyway to do is as I have not figured that out yet, on the windows side I am doing a copy with the QMAKE_PRE_LINK variable.
Any help would be greatly appreciated.
Thanks.
-=ben -
-
I am using Qt Creator, one project is TEMPLATE=lib, CONFIG+=dll and the other is TEMPLATE=app, after digging around I found macdeployqt which is working for me. The only problem I am having now is that when debugging its trying to load my dll from Content/MacOS and for distribution it is looking in Content/Frameworks; why is this different? It would sure be nice if I could use the same location for both so I don't have to make changes just to package my app.
Thanks.
-=ben
-