From cd68abc3df40d8c6b03d9f0f1c8fc78f2e984ffe Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 17 May 2010 21:16:25 +0200 Subject: Fix 'chapter5_plugins.dll.sym contains initialized writable data' That's an error that you get when building a qml plugin for a Symbian device. Solution: Add 'TARGET.EPOCALLOWDLLDATA = 1' to the plugin .pro file --- .../tutorials/extending/chapter5-plugins/chapter5-plugins.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/declarative/tutorials/extending/chapter5-plugins/chapter5-plugins.pro b/examples/declarative/tutorials/extending/chapter5-plugins/chapter5-plugins.pro index 7ec68e9..a8fb565 100644 --- a/examples/declarative/tutorials/extending/chapter5-plugins/chapter5-plugins.pro +++ b/examples/declarative/tutorials/extending/chapter5-plugins/chapter5-plugins.pro @@ -13,3 +13,8 @@ SOURCES += musician.cpp \ DESTDIR = lib OBJECTS_DIR = tmp MOC_DIR = tmp + +symbian { + include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) + TARGET.EPOCALLOWDLLDATA = 1 +} -- cgit v0.12