summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-26 10:50:53 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-26 10:50:53 (GMT)
commitfb9a87d80a3a1418195ae3c5258d894d9217e83b (patch)
tree1a71427ea934df04da0e9544095ea1bc3e2f411d /demos
parentafe3c2e741b372f88bf37c1df95ad30b468931e8 (diff)
downloadQt-fb9a87d80a3a1418195ae3c5258d894d9217e83b.zip
Qt-fb9a87d80a3a1418195ae3c5258d894d9217e83b.tar.gz
Qt-fb9a87d80a3a1418195ae3c5258d894d9217e83b.tar.bz2
Added missing PlatSec capabilities to spectrum demo DLL
On Symbian, spectrum.exe has UserEnvironment capability in order to allow it to use QAudioInput. This means that the capabilities of any DLL which it loads must include UserEnvironment. Prior to this patch, fftreal.dll was built without any capabilities, causing startup of the application to fail. Although granting only UserEnvironment to fftreal.dll would fix the bug, the usual pattern on Symbian OS is to grant 'all -tcb' capabilities to DLLs. The capabilities with which the DLL actually runs are inherited from its parent process. Task-number: QTBUG-10964 Reviewed-by: Liang Qi
Diffstat (limited to 'demos')
-rw-r--r--demos/spectrum/3rdparty/fftreal/fftreal.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/spectrum/3rdparty/fftreal/fftreal.pro b/demos/spectrum/3rdparty/fftreal/fftreal.pro
index 5dd02a4..75b5519 100644
--- a/demos/spectrum/3rdparty/fftreal/fftreal.pro
+++ b/demos/spectrum/3rdparty/fftreal/fftreal.pro
@@ -30,6 +30,7 @@ DEFINES += FFTREAL_LIBRARY
symbian {
# Provide unique ID for the generated binary, required by Symbian OS
TARGET.UID3 = 0xA000E3FB
+ TARGET.CAPABILITY = All -Tcb
} else {
macx {
CONFIG += lib_bundle