Commit 5e78d00d authored by Jan Möbius's avatar Jan Möbius

Fixed completly broken paths for plugin loading with qmake

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5671 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 35ed986a
......@@ -103,7 +103,7 @@ void Core::applyOptions(){
//hideToolbox
if (OpenFlipper::Options::hideToolbox()) {
coreWidget_->showToolbox (false);
}
......@@ -176,30 +176,29 @@ void Core::setupOptions() {
#else
tempDir.cd("Plugins");
///@todo do not check WIN32 Only
#if defined(WIN32)
tempDir.cd("Windows");
#elif defined(ARCH_DARWIN)
tempDir.cd("Darwin");
#else
tempDir.cd("Linux");
#endif
if ( OpenFlipper::Options::is64bit() )
tempDir.cd("64");
if ( OpenFlipper::Options::is32bit() )
#ifdef WIN32
tempDir.cd("win32");
#else
tempDir.cd("32");
#endif
else
tempDir.cd("32");
#ifdef WIN32
#ifdef NDEBUG
tempDir.cd("Release");
#else
tempDir.cd("Debug");
#ifndef NDEBUG
#define DEBUG
#endif
#endif
#ifdef DEBUG
tempDir.cd("Debug");
#else
#ifdef DEBUG
tempDir.cd("dbg");
#else
tempDir.cd("max");
#endif
tempDir.cd("Release");
#endif
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment