diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-05-17 19:16:25 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-05-17 19:19:42 (GMT) |
commit | cd68abc3df40d8c6b03d9f0f1c8fc78f2e984ffe (patch) | |
tree | 4c94a905b1bcc9bfde9c51f4784e5e9e92c3afd4 /examples | |
parent | 445fbdb81f858546231559afce093299f8b52d52 (diff) | |
download | Qt-cd68abc3df40d8c6b03d9f0f1c8fc78f2e984ffe.zip Qt-cd68abc3df40d8c6b03d9f0f1c8fc78f2e984ffe.tar.gz Qt-cd68abc3df40d8c6b03d9f0f1c8fc78f2e984ffe.tar.bz2 |
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
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/tutorials/extending/chapter5-plugins/chapter5-plugins.pro | 5 |
1 files changed, 5 insertions, 0 deletions
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 +} |