CONFIG += testcase TARGET = tst_qtextdocumentlayout QT += testlib qtHaveModule(widgets): QT += widgets SOURCES += tst_qtextdocumentlayout.cpp