********* Start testing of tst_qquickwindow ********* Config: Using QtTest library 5.10.0, Qt 5.10.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2017) PASS : tst_qquickwindow::initTestCase() QDEBUG : tst_qquickwindow::attachedProperty() QWindow::setVisible QQuickWindowQmlImpl(0x2b42bf8d280, name="extraWindow") true geom= QRect(0,0 0x0) plat= 0x0 QDEBUG : tst_qquickwindow::attachedProperty() QPlatformWindow::initialGeometry topl QRect(1760,880 320x320) QDEBUG : tst_qquickwindow::attachedProperty() CreateWindowEx: QQuickWindowQmlImpl(0x2b42bf8d280, name="extraWindow") class="Qt5QWindowOwnDCIcon" title="extra window" WindowCreationData: QFlags(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint) topLevel=true popup=false dialog=false embedded=false tool=false style=0x86cf0000 WS_POPUP WS_CLIPSIBLINGS WS_CLIPCHILDREN WS_THICKFRAME WS_DLGFRAME WS_SYSMENU WS_MINIMIZEBOX WS_MAXIMIZEBOX requested: QRect(1760,880 320x320): 346x391+1747+822 custom margins: QMargins(0, 0, 0, 0) QDEBUG : tst_qquickwindow::attachedProperty() CreateWindowEx: returns QQuickWindowQmlImpl(0x2b42bf8d280, name="extraWindow") 0x670292 obtained geometry: QRect(1760,880 320x320) QMargins(13, 58, 13, 13) QDEBUG : tst_qquickwindow::attachedProperty() QWindowsIntegration::createPlatformWindow QQuickWindowQmlImpl(0x2b42bf8d280, name="extraWindow") Requested: QRect(0,0 0x0) frame incl.=false QFlags(Window) Obtained : QRect(1760,880 320x320) margins=QMargins(13, 58, 13, 13) handle=0x670292 QFlags(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint) QDEBUG : tst_qquickwindow::attachedProperty() QWindowsWindow::initialize QRect(1760,880 320x320) QRect(1760,880 320x320) QDEBUG : tst_qquickwindow::attachedProperty() qml: Component.onCompleted extraWindow.width=160 Window.width=0 extraText.windowWidth=0 QDEBUG : tst_qquickwindow::attachedProperty() QWindow::setVisible QQuickView(0xcb3536e448) true geom= QRect(0,0 100x100) plat= 0x0 QDEBUG : tst_qquickwindow::attachedProperty() QPlatformWindow::initialGeometry topl QRect(1820,940 200x200) QDEBUG : tst_qquickwindow::attachedProperty() CreateWindowEx: QQuickView(0xcb3536e448) class="Qt5QWindowOwnDCIcon" title="attachedProperty" WindowCreationData: QFlags(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint) topLevel=true popup=false dialog=false embedded=false tool=false style=0x86cf0000 WS_POPUP WS_CLIPSIBLINGS WS_CLIPCHILDREN WS_THICKFRAME WS_DLGFRAME WS_SYSMENU WS_MINIMIZEBOX WS_MAXIMIZEBOX requested: QRect(1820,940 200x200): 226x271+1807+882 custom margins: QMargins(0, 0, 0, 0) QDEBUG : tst_qquickwindow::attachedProperty() CreateWindowEx: returns QQuickView(0xcb3536e448) 0x13048e obtained geometry: QRect(1820,940 232x200) QMargins(13, 58, 13, 13) QDEBUG : tst_qquickwindow::attachedProperty() QWindowsIntegration::createPlatformWindow QQuickView(0xcb3536e448) Requested: QRect(0,0 200x200) frame incl.=false QFlags(Window) Obtained : QRect(1820,940 232x200) margins=QMargins(13, 58, 13, 13) handle=0x13048e QFlags(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint) QDEBUG : tst_qquickwindow::attachedProperty() QWindowsWindow::initialize QRect(1820,940 200x200) QRect(1820,940 232x200) QDEBUG : tst_qquickwindow::attachedProperty() QWindowSystemInterface::handleGeometryChange QQuickView(0xcb3536e448) QRect(1820,940 232x200) QDEBUG : tst_qquickwindow::attachedProperty() tst_qquickwindow::attachedProperty innerWindow= QRect(880,440 160x160) innerWindow->property("width") QVariant(int, 160) FAIL! : tst_qquickwindow::attachedProperty() Compared values are not the same Actual (text->property("windowWidth").toInt()): 0 Expected (innerWindow->width()) : 160 .\tst_qquickwindow.cpp(2185) : failure location QDEBUG : tst_qquickwindow::attachedProperty() QWindow::setVisible QWindow(0x2b42bf8d280, name="extraWindow") false geom= QRect(880,440 160x160) plat= 0x2b425b760b0 QDEBUG : tst_qquickwindow::attachedProperty() QWindow::setVisible QWindow(0xcb3536e448) false geom= QRect(910,470 116x100) plat= 0x2b425b762f0 PASS : tst_qquickwindow::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 496ms ********* Finished testing of tst_qquickwindow *********