From 61161589376a3bb2dffaf898ca50449774b48565 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Tue, 15 Sep 2009 16:43:57 +0200 Subject: Make mmfphonondebug static, and do some build fixes. --- src/3rdparty/phonon/mmf/mmfphonondebug/objectdump_global.h | 4 ++-- src/plugins/phonon/mmf/mmf.pro | 2 ++ src/plugins/phonon/mmf/mmfphonondebug/mmfphonondebug.pro | 4 ++-- src/plugins/phonon/mmf/plugin/plugin.pro | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump_global.h b/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump_global.h index ff031c4..b8987e0 100644 --- a/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump_global.h +++ b/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump_global.h @@ -22,9 +22,9 @@ along with this library. If not, see . #include #if defined(OBJECTDUMP_LIBRARY) -# define OBJECTDUMP_EXPORT Q_DECL_EXPORT +# define OBJECTDUMP_EXPORT #else -# define OBJECTDUMP_EXPORT Q_DECL_IMPORT +# define OBJECTDUMP_EXPORT #endif #endif diff --git a/src/plugins/phonon/mmf/mmf.pro b/src/plugins/phonon/mmf/mmf.pro index da73fdc..ff27ea1 100644 --- a/src/plugins/phonon/mmf/mmf.pro +++ b/src/plugins/phonon/mmf/mmf.pro @@ -1,2 +1,4 @@ TEMPLATE = subdirs SUBDIRS = mmfphonondebug plugin + +plugin.depends = mmfphonondebug diff --git a/src/plugins/phonon/mmf/mmfphonondebug/mmfphonondebug.pro b/src/plugins/phonon/mmf/mmfphonondebug/mmfphonondebug.pro index 6cce2e6..2cfec15 100644 --- a/src/plugins/phonon/mmf/mmfphonondebug/mmfphonondebug.pro +++ b/src/plugins/phonon/mmf/mmfphonondebug/mmfphonondebug.pro @@ -1,8 +1,8 @@ TEMPLATE = lib -TARGET = mmfphonondebug +TARGET = phonon_mmf_debug OBJECTDUMP_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/mmf/mmfphonondebug -CONFIG += dll +CONFIG += staticlib DEFINES += OBJECTDUMP_LIBRARY diff --git a/src/plugins/phonon/mmf/plugin/plugin.pro b/src/plugins/phonon/mmf/plugin/plugin.pro index b1f3bfb..c7bb327d 100644 --- a/src/plugins/phonon/mmf/plugin/plugin.pro +++ b/src/plugins/phonon/mmf/plugin/plugin.pro @@ -62,7 +62,7 @@ SOURCES += \ debug { INCLUDEPATH += $$PHONON_MMF_DIR/mmfphonondebug - LIBS += -lmmfphonondebug + LIBS += -lphonon_mmf_debug.lib } LIBS += -lmediaclientvideo # For CVideoPlayerUtility -- cgit v0.12