forked from qt-creator/qt-creator
Generate plugin metadata for Qt 5 or plugin export for Qt 4. Change-Id: I9888ebb22204c96755f82efc0dd2bceb51a19b0c Reviewed-by: Daniel Teske <daniel.teske@digia.com>
20 lines
404 B
Prolog
20 lines
404 B
Prolog
CONFIG += plugin debug_and_release
|
|
TARGET = $$qtLibraryTarget(@PLUGIN_NAME@)
|
|
TEMPLATE = lib
|
|
|
|
HEADERS =@PLUGIN_HEADERS@
|
|
SOURCES =@PLUGIN_SOURCES@
|
|
RESOURCES = @PLUGIN_RESOURCES@
|
|
LIBS += -L. @WIDGET_LIBS@
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
QT += designer
|
|
} else {
|
|
CONFIG += designer
|
|
}
|
|
|
|
target.path = $$[QT_INSTALL_PLUGINS]/designer
|
|
INSTALLS += target
|
|
|
|
@INCLUSIONS@
|