9c3a58a913
When setting a new screen, the code calls QWindow::destroy(), which recursively destroys all child windows. It then calls create() on the top-level window, leaving child windows destroyed. This causes crashes if you have embedded native widgets. Task-number: QTBUG-40817 Change-Id: Iaace2589f48bbfd5faaf5ff95357ff43b310504a Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
11 lines
192 B
Prolog
Executable File
11 lines
192 B
Prolog
Executable File
CONFIG += testcase
|
|
CONFIG += parallel_test
|
|
TARGET = tst_qwidget_window
|
|
QT += widgets testlib core-private gui-private
|
|
SOURCES += tst_qwidget_window.cpp
|
|
|
|
x11 {
|
|
LIBS += $$QMAKE_LIBS_X11
|
|
}
|
|
|