2017-04-07 21:01:51 +03:00
|
|
|
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){
|
|
|
|
contains(CONFIG,uitools){
|
|
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
|
|
|
}
|
|
|
|
}
|
2017-04-19 01:04:14 +03:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
QT *= designer designercomponents-private
|
|
|
|
|
|
|
|
} else {
|
|
|
|
CONFIG *= designer
|
|
|
|
qtAddLibrary( QtDesignerComponents )
|
|
|
|
}
|
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 += \
|
|
|
|
$$PWD/dialogdesigner.qrc
|