summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-07-11 11:32:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-07-11 11:38:21 +0200
commit1f4751d5fc47dc469500854e9763d9796c847b57 (patch)
treef68940f386d9bfc1810ec29d7e0975fcacf9de74
parent23614e1e5aa464e91abba2bfe9d902392bd40c46 (diff)
print some debug on win32 as well
-rw-r--r--facetracknoir/global-settings.cpp4
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 |