Diffstat (limited to 'core/tools/quicklauncher/dropins.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/tools/quicklauncher/dropins.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/tools/quicklauncher/dropins.h b/core/tools/quicklauncher/dropins.h index fe43ec2..3e2b5fd 100644 --- a/core/tools/quicklauncher/dropins.h +++ b/core/tools/quicklauncher/dropins.h @@ -31,2 +31,7 @@ namespace Opie { + // This code is very platform specific.. We should find better + // solutions to handle names.. Maybe one central function would be + // better than checking this ".so" stuff all around in the sources.. + // (eilers) + // Below lines from TT then mine again @@ -38,3 +43,7 @@ namespace Opie { } +#ifdef Q_OS_MACX + QString path = QPEApplication::qpeDir() + "/plugins/application/lib"+name+".dylib"; +#else QString path = QPEApplication::qpeDir() + "/plugins/application/lib"+name+".so"; +#endif |