include(../../common.pri) include($$PWD/3rdparty/qtcreator/designerintegrationv2/designerintegration.pri) INCLUDEPATH *= $$PWD/3rdparty/designer greaterThan(QT_MAJOR_VERSION, 4) : contains(QT, uitools) { DEFINES += HAVE_QTDESIGNER_INTEGRATION } lessThan(QT_MAJOR_VERSION, 5) : CONFIG(uitools) { DEFINES += HAVE_QTDESIGNER_INTEGRATION } greaterThan(QT_MAJOR_VERSION, 4) { QT *= designer designercomponents-private } else { CONFIG *= designer qtAddLibrary(QtDesignerComponents) } SOURCES += $$PWD/lrdialogdesigner.cpp HEADERS += $$PWD/lrdialogdesigner.h RESOURCES += \ $$PWD/dialogdesigner.qrc