I'm having a tough time figuring out how to get TurboActivate working with a simple GUI application written with Qt Creator. I'm developing a cross-platform application, so whatever strategy I use, it needs to work for every platform. I found another thread on here describing problems with the Qt compiler so maybe I'm just fighting a loosing battle..
Since I'm on a mac at the moment, can anyone provide some guidance on how to include the .dylib with the Qt Creator project? I've placed libTurboActivate.dylib, TurboActivate.h (from the C++ example files), and TurboActivate.dat (downloaded from my account) in the project directory. In other words, those 3 files are in the same place as the Qt .pro, .h, .ui, and .cpp files. I haven't dealt a lot with external libraries, but from what I've read, I need to modify the .pro file to add the dylib library. I've added the following line at the top of my .pro file
LIBS += libTurboActivate.dylib
I also added #include "TurboActivate.h" in my main.cpp file. I have been getting a variety of errors as I try to troubleshoot through them. Such as...
Symbols not found for architecture x86_64
or
dyld: Library not loaded: @rpath/libTurboActivate.dylibReason: image not found
or a few others that all basically tell me that the library is not being successfully loaded. Can anyone provide some guidance here? You've got 1 more paying customer if I can figure it out 😀