Hi, I am currently developing a simple plugin using the sdk. Everything is fine for my linux version, that i compile on 32 bit ubuntu. When i try to cross compile the whole stuff for windows, the plugin fails to load with error number 126 from loadlibrary.
using google you can find several problems regarding unicode and mingw with this stuff.
So my question is, did anyone successfully cross-compile or just simply compile a plugin with qt qmake using mingw or is everyone just using msvc?
i already tried changing from shared to static library versions and to disable the unicode stuff, that qt uses, none of that was successfull.
a link to the dll can be found here:
http://dl.dropbox.com/u/1080522/tsstalker.dll
the project file looks like this:
thx in advanceCode:###################################################################### # Automatically generated by qmake (2.01a) Fri Oct 29 22:18:19 2010 ###################################################################### TEMPLATE = lib TARGET = bin/plugins/tsstalker DEPENDPATH += . include ts3client_pluginsdk/src INCLUDEPATH += . include ts3client_pluginsdk/src CONFIG += qt dll release shared DEFINES -= UNICODE QT += xml # Input HEADERS += include/clientlib_publicdefinitions.h \ include/plugin_definitions.h \ include/plugin_events.h \ include/public_definitions.h \ include/public_errors.h \ include/public_rare_definitions.h \ include/ts3_functions.h \ src/plugin.h \ include/ContextMenu.h \ include/Stalker.h SOURCES += src/plugin.cpp \ src/ContextMenu.cpp \ src/Stalker.cpp