Looks like your answer lies here:
#if defined(__WIN32__) && !defined(TQSL_NODLL)
#ifdef TQSLLIB_DEF
#define DLLEXPORT __stdcall __declspec(dllexport)
#define DLLEXPORTDATA __declspec(dllexport)
#else
#define DLLEXPORT __stdcall __declspec(dllimport)
#define DLLEXPORTDATA __declspec(dllimport)
#endif
#else
#define DLLEXPORT
#define DLLEXPORTDATA
#endif
#if defined(__WIN32__) && !defined(TQSL_NODLL)
#ifdef TQSLLIB_DEF
#define DLLEXPORT __stdcall __declspec(dllexport)
#define DLLEXPORTDATA __declspec(dllexport)
#else
#define DLLEXPORT __stdcall __declspec(dllimport)
#define DLLEXPORTDATA __declspec(dllimport)
#endif
#else
#define DLLEXPORT
#define DLLEXPORTDATA
#endif
To copy to clipboard, switch view to plain text mode
You aren't defining any of these symbols yourself are you?
C:\CPP\QT_Projects\HRLogger_Development/lotwupload.cpp:23: undefined reference to `_imp__tqsl_init@0
Here, the linker expects to find a function with the stdcall convention. It seems that you build the library one way, and you are trying to link against it in other.
Examine your defines for building it, and check your defines for linkage.
Bookmarks