CONFIG += testcase TARGET = tst_qmouseevent_modal QT += widgets testlib SOURCES += tst_qmouseevent_modal.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0