aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qjsengine/tst_qjsengine.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-05-07 13:51:26 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-09 17:26:51 +0200
commit0640dce6cd3200979a9b98d5bbae4526fc6dcec8 (patch)
tree15cdc6be016ec728759ca9f0aed88870ed70044e /tests/auto/qml/qjsengine/tst_qjsengine.cpp
parent18a96e8f4913dd96bcead3ddde99a015737e3a3b (diff)
Fix crash on host/target word size mismatches
When compiling on a 64-bit host and using the QV4::CompileData on a 32-bit target, the size of QArrayData is different. Therefore we cannot use it in the QV4::CompiledData and have to resort to storing only the characters in there. We can at least still use fromRawData when extracting strings, but the QStringData will have to be allocated now. Change-Id: Ia9dab1722ed72186451b65ba74457051c6ce3155 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qjsengine/tst_qjsengine.cpp')
0 files changed, 0 insertions, 0 deletions