forked from qt-creator/qt-creator
make the plugin template not create a _dependencies.pri file
it's pointless and counterproductive for 3rd party plugins. Task-number: QTCREATORBUG-9192 Change-Id: Id9a59e44fa37d00ff5bd68b4240517f0d014c7a2 Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -28,4 +28,20 @@ isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=%QtCreatorBuild%
|
||||
|
||||
PROVIDER = %VendorName%
|
||||
|
||||
###### If the plugin can be depended upon by other plugins, this code needs to be outsourced to
|
||||
###### <dirname>_dependencies.pri, where <dirname> is the name of the directory containing the
|
||||
###### plugin's sources.
|
||||
|
||||
QTC_PLUGIN_NAME = %PluginName%
|
||||
QTC_LIB_DEPENDS += \
|
||||
# nothing here at this time
|
||||
|
||||
QTC_PLUGIN_DEPENDS += \
|
||||
coreplugin
|
||||
|
||||
QTC_PLUGIN_RECOMMENDS += \
|
||||
# optional plugin dependencies. nothing here at this time
|
||||
|
||||
###### End _dependencies.pri contents ######
|
||||
|
||||
include($$QTCREATOR_SOURCES/src/qtcreatorplugin.pri)
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
QTC_PLUGIN_NAME = %PluginName%
|
||||
QTC_LIB_DEPENDS += \
|
||||
# nothing here at this time
|
||||
|
||||
QTC_PLUGIN_DEPENDS += \
|
||||
coreplugin
|
||||
|
||||
QTC_PLUGIN_RECOMMENDS += \
|
||||
# optional plugin dependencies. nothing here at this time
|
||||
@@ -44,7 +44,6 @@ leave room for the Qt 4 target page.
|
||||
<displaycategory>Libraries</displaycategory>
|
||||
<files>
|
||||
<file source="myplugin.pro" target="%PluginName:l%.pro" openproject="true"/>
|
||||
<file source="myplugin_dependencies.pri" target="%PluginName:l%_dependencies.pri" openeditor="true"/>
|
||||
<file source="MyPlugin.pluginspec.in" target="%PluginName%.pluginspec.in" openeditor="true"/>
|
||||
<file source="myplugin_global.h" target="%PluginName:l%_global.%CppHeaderSuffix%" openeditor="true"/>
|
||||
<file source="mypluginconstants.h" target="%PluginName:l%constants.%CppHeaderSuffix%" openeditor="true"/>
|
||||
|
||||
Reference in New Issue
Block a user