diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-26 11:50:53 +0100 |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-26 11:50:53 +0100 |
commit | fb9a87d80a3a1418195ae3c5258d894d9217e83b (patch) | |
tree | 1a71427ea934df04da0e9544095ea1bc3e2f411d /demos/spectrum/3rdparty/fftreal/fftreal.pro | |
parent | afe3c2e741b372f88bf37c1df95ad30b468931e8 (diff) | |
download | qt4-tools-fb9a87d80a3a1418195ae3c5258d894d9217e83b.tar.gz |
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/spectrum/3rdparty/fftreal/fftreal.pro')
-rw-r--r-- | demos/spectrum/3rdparty/fftreal/fftreal.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/spectrum/3rdparty/fftreal/fftreal.pro b/demos/spectrum/3rdparty/fftreal/fftreal.pro index 5dd02a42f8..75b5519d2e 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 |