mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
53683a8c89
It doesn't compile yet on Qt 6 but I'm working on it.
28 lines
705 B
Plaintext
28 lines
705 B
Plaintext
include(../../common.pri)
|
|
include($$PWD/3rdparty/qtcreator/designerintegrationv2/designerintegration.pri)
|
|
|
|
INCLUDEPATH *= $$PWD/3rdparty/designer
|
|
|
|
equals(QT_MAJOR_VERSION, 4) : CONFIG(uitools) {
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
|
}
|
|
|
|
if(equals(QT_MAJOR_VERSION, 5) | equals(QT_MAJOR_VERSION, 6)) : contains(QT, uitools) {
|
|
DEFINES += HAVE_QTDESIGNER_INTEGRATION
|
|
}
|
|
|
|
equals(QT_MAJOR_VERSION, 4) {
|
|
CONFIG *= designer
|
|
qtAddLibrary(QtDesignerComponents)
|
|
}
|
|
|
|
equals(QT_MAJOR_VERSION, 5) | equals(QT_MAJOR_VERSION, 6) {
|
|
QT *= designer designercomponents-private
|
|
}
|
|
|
|
SOURCES += $$PWD/lrdialogdesigner.cpp
|
|
HEADERS += $$PWD/lrdialogdesigner.h
|
|
|
|
RESOURCES += \
|
|
$$PWD/dialogdesigner.qrc
|