2017-04-07 21:01:51 +03:00
|
|
|
include(../../common.pri)
|
|
|
|
include($$PWD/3rdparty/qtcreator/designerintegrationv2/designerintegration.pri)
|
2021-08-18 20:14:37 +03:00
|
|
|
|
2017-04-07 21:01:51 +03:00
|
|
|
INCLUDEPATH *= $$PWD/3rdparty/designer
|
2021-08-18 20:14:37 +03:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) : contains(QT, uitools) {
|
2017-04-07 21:01:51 +03:00
|
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
|
|
|
}
|
2021-08-18 20:14:37 +03:00
|
|
|
|
|
|
|
lessThan(QT_MAJOR_VERSION, 5) : CONFIG(uitools) {
|
2017-04-07 21:01:51 +03:00
|
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
|
|
|
}
|
2017-04-19 01:04:14 +03:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
QT *= designer designercomponents-private
|
|
|
|
} else {
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG *= designer
|
|
|
|
qtAddLibrary(QtDesignerComponents)
|
2017-04-19 01:04:14 +03:00
|
|
|
}
|
2017-04-07 21:01:51 +03:00
|
|
|
|
|
|
|
SOURCES += $$PWD/lrdialogdesigner.cpp
|
|
|
|
HEADERS += $$PWD/lrdialogdesigner.h
|
2017-04-11 11:23:34 +03:00
|
|
|
|
|
|
|
RESOURCES += \
|
2021-08-18 20:14:37 +03:00
|
|
|
$$PWD/dialogdesigner.qrc
|