Files
qt-creator/share/qtcreator/templates/qt4project/customwidgetwizard/tpl_plugin.pro
Friedemann Kleint ea0d68f7d4 Qt Designer custom widget wizard: Write plugins compatible with Qt 4 / 5.
Generate plugin metadata for Qt 5 or plugin export for Qt 4.

Change-Id: I9888ebb22204c96755f82efc0dd2bceb51a19b0c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-02-13 13:45:43 +01:00

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@