summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/olaccess/olaccess.pro1
-rw-r--r--kabc/plugins/olaccess/resourceolaccess.cpp5
-rw-r--r--microkde/kresources/factory.cpp2
-rw-r--r--variables.pri2
4 files changed, 6 insertions, 4 deletions
diff --git a/kabc/plugins/olaccess/olaccess.pro b/kabc/plugins/olaccess/olaccess.pro
index 4416d0c..9b95015 100644
--- a/kabc/plugins/olaccess/olaccess.pro
+++ b/kabc/plugins/olaccess/olaccess.pro
@@ -7,8 +7,9 @@ include( ../../../variables.pri )
INCLUDEPATH += ../../.. ../.. ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../microkde/kresources ../../../qtcompat
INTERFACES = \
+DESTDIR = ../../../bin
HEADERS = \
resourceolaccess.h \
resourceolaccessconfig.h \
olaccessconverter.h
diff --git a/kabc/plugins/olaccess/resourceolaccess.cpp b/kabc/plugins/olaccess/resourceolaccess.cpp
index 7113e0e..c7c9874 100644
--- a/kabc/plugins/olaccess/resourceolaccess.cpp
+++ b/kabc/plugins/olaccess/resourceolaccess.cpp
@@ -53,14 +53,15 @@ $Id$
#include "olaccessconverter.h"
//#define ALLOW_LOCKING
using namespace KABC;
extern "C"
-{
+__declspec(dllexport)
+
void *init_microkabc_olaccess()
{
return new KRES::PluginFactory<Resourceolaccess,ResourceolaccessConfig>();
}
-}
+
Resourceolaccess::Resourceolaccess( const KConfig *config )
: Resource( config ), mConverter (0)
{
diff --git a/microkde/kresources/factory.cpp b/microkde/kresources/factory.cpp
index 4843ce0..86b22b2 100644
--- a/microkde/kresources/factory.cpp
+++ b/microkde/kresources/factory.cpp
@@ -144,9 +144,9 @@ Factory::Factory( const QString& resourceFamily) :
if ( !path.isEmpty() )
{
info = new PluginInfo;
info->library = libname;
- info->nameLabel = i18n( "sharp" );
+ info->nameLabel = i18n( "olaccess" );
info->descriptionLabel = i18n( "Outlook Addressbook." );
mTypeMap.insert( "olaccess", info );
}
diff --git a/variables.pri b/variables.pri
index 9975cf0..5d3b6cb 100644
--- a/variables.pri
+++ b/variables.pri
@@ -6,9 +6,9 @@ unix {
#CONFIG += staticlib
}
win32 {
#disable importol to make it running on windows ME/98
-#CONFIG += importol
+CONFIG += importol
}
CONFIG += thread
CONFIG += release