Files
qt-creator/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin.pro

38 lines
1.1 KiB
Prolog
Raw Normal View History

2010-05-05 18:40:30 +02:00
TARGET = %PluginName%
TEMPLATE = lib
DEFINES += %PluginName:u%_LIBRARY
# %PluginName% files
SOURCES += %PluginName:l%plugin.cpp
2010-05-05 18:40:30 +02:00
HEADERS += %PluginName:l%plugin.h\
%PluginName:l%_global.h\
%PluginName:l%constants.h
2010-05-05 18:40:30 +02:00
# Qt Creator linking
## set the QTC_SOURCE environment variable to override the setting here
2010-05-05 18:40:30 +02:00
QTCREATOR_SOURCES = $$(QTC_SOURCE)
isEmpty(QTCREATOR_SOURCES):QTCREATOR_SOURCES=%QtCreatorSources%
## set the QTC_BUILD environment variable to override the setting here
2010-05-05 18:40:30 +02:00
IDE_BUILD_TREE = $$(QTC_BUILD)
isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=%QtCreatorBuild%
## uncomment to build plugin into user config directory
## <localappdata>/plugins/<ideversion>
## where <localappdata> is e.g.
## "%LOCALAPPDATA%\QtProject\qtcreator" on Windows Vista and later
## "$XDG_DATA_HOME/QtProject/qtcreator" or "~/.local/share/data/QtProject/qtcreator" on Linux
## "~/Library/Application Support/QtProject/Qt Creator" on Mac
%DestDir%USE_USER_DESTDIR = yes
2010-05-05 18:40:30 +02:00
PROVIDER = %VendorName%
include($$QTCREATOR_SOURCES/src/qtcreatorplugin.pri)
include($$QTCREATOR_SOURCES/src/plugins/coreplugin/coreplugin.pri)
LIBS += -L$$IDE_PLUGIN_PATH/QtProject