Allocate QQuickView on heap instead of stack
authorCharles Yin <charles.yin@nokia.com>
Fri, 30 Mar 2012 04:25:56 +0000 (14:25 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 30 Mar 2012 11:05:25 +0000 (13:05 +0200)
commit0c86eaf0068024757bc5bda0ced3c4f1ef79e47a
tree63a4fbeeb4649baadf616a25277904d8b6bb55c9
parent8ab5f4ade2157559b6a999a36537ed638f501e74
Allocate QQuickView on heap instead of stack

Some qpa plugin will crash when delete the QApplication instance if
QQuickView is created on stack, this is a workaround fix, the real
reason still need to be investigated further.

Change-Id: Iea75541e53a94f65454e78f8020003e6533c0bd0
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/qmltest/quicktest.cpp