mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 01:18:46 +00:00
Fixed: #1193 In debug mode ovqt trying to load plugins witj suffix _d.dll instead _r.dll.
This commit is contained in:
parent
9a18d3f124
commit
589f66a735
1 changed files with 10 additions and 5 deletions
|
@ -61,14 +61,19 @@ PluginSpec::PluginSpec()
|
||||||
m_plugin(0),
|
m_plugin(0),
|
||||||
m_pluginManager(0)
|
m_pluginManager(0)
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_WIN
|
// Compilation mode specific suffixes
|
||||||
# ifdef DEBUG
|
#ifdef NL_OS_WINDOWS
|
||||||
m_suffix = "_d.dll";
|
# if defined(NL_DEBUG)
|
||||||
|
m_suffix = "_d.dll";
|
||||||
|
# elif defined(NL_RELEASE)
|
||||||
|
m_suffix = "_r.dll";
|
||||||
# else
|
# else
|
||||||
m_suffix = "_r.dll";
|
# error "Unknown compilation mode, can't build suffix"
|
||||||
# endif
|
# endif
|
||||||
|
#elif defined (NL_OS_UNIX)
|
||||||
|
m_suffix = ".so";
|
||||||
#else
|
#else
|
||||||
m_suffix = ".so";
|
# error "You must define the lib suffix for your platform"
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue