From 52b6fc17c0dcd1f13f701f698e0305440f26fc3e Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 23 Oct 2004 17:33:10 +0000 Subject: qtopia res windows fixes --- (limited to 'kabc/plugins') 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 @@ -34,4 +34,8 @@ CONFIG += dll DEFINES += _WIN32_ OBJECTS_DIR = obj/win MOC_DIR = moc/win +LIBS += ../../../bin/microkdepim.lib +LIBS += ../../../bin/microkcal.lib +LIBS += ../../../bin/microkde.lib +LIBS += ../../../bin/microkabc.lib } 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 @@ -26,7 +26,7 @@ $Id$ */ #include #include -#include +//#include #include #include @@ -52,13 +52,20 @@ $Id$ #include "resourceqtopia.h" using namespace KABC; + extern "C" +#ifdef _WIN32_ +__declspec(dllexport) +#else { +#endif void *init_microkabc_qtopia() { return new KRES::PluginFactory(); } +#ifndef _WIN32_ } +#endif ResourceQtopia::ResourceQtopia( const KConfig *config ) : Resource( config ), mConverter (0) 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 @@ -33,7 +33,7 @@ $Id$ #include #include -#include +//#include #include #include -- cgit v0.9.0.2