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
|
|
|
|
2021-08-20 19:50:06 +03:00
|
|
|
equals(QT_MAJOR_VERSION, 4) : CONFIG(uitools) {
|
|
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
2017-04-07 21:01:51 +03:00
|
|
|
}
|
2021-08-18 20:14:37 +03:00
|
|
|
|
2021-08-20 19:50:06 +03:00
|
|
|
if(equals(QT_MAJOR_VERSION, 5) | equals(QT_MAJOR_VERSION, 6)) : contains(QT, uitools) {
|
|
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
2017-04-07 21:01:51 +03:00
|
|
|
}
|
2017-04-19 01:04:14 +03:00
|
|
|
|
2021-08-20 19:50:06 +03:00
|
|
|
equals(QT_MAJOR_VERSION, 4) {
|
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
|
|
|
|
2021-08-20 19:50:06 +03:00
|
|
|
equals(QT_MAJOR_VERSION, 5) | equals(QT_MAJOR_VERSION, 6) {
|
|
|
|
QT *= designer designercomponents-private
|
|
|
|
}
|
|
|
|
|
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
|