Hi,

I can see there is code in tests that depending on e.g. Q_OS_WIN32 and
Q_OS_UNIX conditionally includes, for the platform, universally available
headers like <sys/socket.h>. I would like to add a unit test that requires
checking state on the native window behind QWindow. Doing this on windows
with Q_OS_WIN32 should be fine, but how do I make the corresponding test
that requires a bit of XCB/Xlib code?

Specifically I would like to add a test to tst_qwindow.cpp and perhaps
tst_qwidget.cpp that check that the window state (minimized, maximized,
fullscreen) on the native window is what we expect it to be.

Regards,
Thomas
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to