diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-07-11 11:32:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-07-11 11:38:21 +0200 |
commit | 1f4751d5fc47dc469500854e9763d9796c847b57 (patch) | |
tree | f68940f386d9bfc1810ec29d7e0975fcacf9de74 | |
parent | 23614e1e5aa464e91abba2bfe9d902392bd40c46 (diff) |
print some debug on win32 as well
-rw-r--r-- | facetracknoir/global-settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp index 3b627860..36c14f09 100644 --- a/facetracknoir/global-settings.cpp +++ b/facetracknoir/global-settings.cpp @@ -87,9 +87,13 @@ DynamicLibrary::DynamicLibrary(const QString& filename) #if defined(_WIN32) QString fullPath = QCoreApplication::applicationDirPath() + "/" + this->filename; handle = new QLibrary(fullPath); + qDebug() << handle->errorString(); Dialog = (SETTINGS_FUNCTION) handle->resolve(MAYBE_STDCALL_UNDERSCORE "GetDialog" CALLING_CONVENTION_SUFFIX_VOID_FUNCTION); + qDebug() << handle->errorString(); Constructor = (NULLARY_DYNAMIC_FUNCTION) handle->resolve(MAYBE_STDCALL_UNDERSCORE "GetConstructor" CALLING_CONVENTION_SUFFIX_VOID_FUNCTION); + qDebug() << handle->errorString(); Metadata = (METADATA_FUNCTION) handle->resolve(MAYBE_STDCALL_UNDERSCORE "GetMetadata" CALLING_CONVENTION_SUFFIX_VOID_FUNCTION); + qDebug() << handle->errorString(); #else QByteArray latin1 = QFile::encodeName(filename); handle = dlopen(latin1.constData(), RTLD_NOW | |