-rw-r--r-- | kabc/plugins/qtopia/qtopia.pro | 4 | ||||
-rw-r--r-- | kabc/plugins/qtopia/resourceqtopia.cpp | 9 | ||||
-rw-r--r-- | kabc/plugins/qtopia/resourceqtopiaconfig.cpp | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/kabc/plugins/qtopia/qtopia.pro b/kabc/plugins/qtopia/qtopia.pro index 6efb678..0360abf 100644 --- a/kabc/plugins/qtopia/qtopia.pro +++ b/kabc/plugins/qtopia/qtopia.pro | |||
@@ -36,2 +36,6 @@ OBJECTS_DIR = obj/win | |||
36 | MOC_DIR = moc/win | 36 | MOC_DIR = moc/win |
37 | LIBS += ../../../bin/microkdepim.lib | ||
38 | LIBS += ../../../bin/microkcal.lib | ||
39 | LIBS += ../../../bin/microkde.lib | ||
40 | LIBS += ../../../bin/microkabc.lib | ||
37 | } | 41 | } |
diff --git a/kabc/plugins/qtopia/resourceqtopia.cpp b/kabc/plugins/qtopia/resourceqtopia.cpp index 95fa541..99e8618 100644 --- a/kabc/plugins/qtopia/resourceqtopia.cpp +++ b/kabc/plugins/qtopia/resourceqtopia.cpp | |||
@@ -28,3 +28,3 @@ $Id$ | |||
28 | #include <sys/stat.h> | 28 | #include <sys/stat.h> |
29 | #include <unistd.h> | 29 | //#include <unistd.h> |
30 | 30 | ||
@@ -54,4 +54,9 @@ $Id$ | |||
54 | using namespace KABC; | 54 | using namespace KABC; |
55 | |||
55 | extern "C" | 56 | extern "C" |
57 | #ifdef _WIN32_ | ||
58 | __declspec(dllexport) | ||
59 | #else | ||
56 | { | 60 | { |
61 | #endif | ||
57 | void *init_microkabc_qtopia() | 62 | void *init_microkabc_qtopia() |
@@ -60,3 +65,5 @@ extern "C" | |||
60 | } | 65 | } |
66 | #ifndef _WIN32_ | ||
61 | } | 67 | } |
68 | #endif | ||
62 | 69 | ||
diff --git a/kabc/plugins/qtopia/resourceqtopiaconfig.cpp b/kabc/plugins/qtopia/resourceqtopiaconfig.cpp index 0505d0b..d5d6141 100644 --- a/kabc/plugins/qtopia/resourceqtopiaconfig.cpp +++ b/kabc/plugins/qtopia/resourceqtopiaconfig.cpp | |||
@@ -35,3 +35,3 @@ $Id$ | |||
35 | 35 | ||
36 | #include <unistd.h> | 36 | //#include <unistd.h> |
37 | 37 | ||