aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2013-03-28 11:22:28 +0100
committerOswald Buddenhagen <[email protected]>2013-04-02 17:13:17 +0200
commit9631fb88cff9d4458216f39dac18cfa974a085db (patch)
tree54d1bb2b38551b39f9ed22554e41e27987ef1670 /src
parentedf3eb99ec8825522cf940f226b9f437824c70d2 (diff)
centralize assignment of TEMPLATE = lib
Change-Id: I4025539f3875e79f03743ba9ed3fd09cd31b998d Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/libs/aggregation/aggregation.pro1
-rw-r--r--src/libs/cplusplus/cplusplus.pro1
-rw-r--r--src/libs/extensionsystem/extensionsystem.pro1
-rw-r--r--src/libs/glsl/glsl.pro1
-rw-r--r--src/libs/languageutils/languageutils.pro1
-rw-r--r--src/libs/qmldebug/qmldebug.pro1
-rw-r--r--src/libs/qmleditorwidgets/qmleditorwidgets.pro1
-rw-r--r--src/libs/qmljs/qmljs.pro1
-rw-r--r--src/libs/qtcreatorcdbext/qtcreatorcdbext.pro1
-rw-r--r--src/libs/ssh/ssh.pro1
-rw-r--r--src/libs/utils/utils.pro1
-rw-r--r--src/libs/zeroconf/zeroconf.pro1
-rw-r--r--src/plugins/analyzerbase/analyzerbase.pro1
-rw-r--r--src/plugins/android/android.pro1
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro1
-rw-r--r--src/plugins/bazaar/bazaar.pro1
-rw-r--r--src/plugins/bineditor/bineditor.pro1
-rw-r--r--src/plugins/bookmarks/bookmarks.pro1
-rw-r--r--src/plugins/classview/classview.pro1
-rw-r--r--src/plugins/clearcase/clearcase.pro1
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro1
-rw-r--r--src/plugins/coreplugin/coreplugin.pro1
-rw-r--r--src/plugins/cpaster/cpaster.pro1
-rw-r--r--src/plugins/cppeditor/cppeditor.pro1
-rw-r--r--src/plugins/cpptools/cpptools.pro1
-rw-r--r--src/plugins/cvs/cvs.pro1
-rw-r--r--src/plugins/debugger/debugger.pro1
-rw-r--r--src/plugins/designer/designer.pro1
-rw-r--r--src/plugins/diffeditor/diffeditor.pro1
-rw-r--r--src/plugins/fakevim/fakevim.pro1
-rw-r--r--src/plugins/find/find.pro1
-rw-r--r--src/plugins/genericprojectmanager/genericprojectmanager.pro1
-rw-r--r--src/plugins/git/git.pro1
-rw-r--r--src/plugins/glsleditor/glsleditor.pro1
-rw-r--r--src/plugins/helloworld/helloworld.pro1
-rw-r--r--src/plugins/help/help.pro1
-rw-r--r--src/plugins/imageviewer/imageviewer.pro1
-rw-r--r--src/plugins/locator/locator.pro1
-rw-r--r--src/plugins/macros/macros.pro1
-rw-r--r--src/plugins/madde/madde.pro1
-rw-r--r--src/plugins/mercurial/mercurial.pro1
-rw-r--r--src/plugins/perforce/perforce.pro1
-rw-r--r--src/plugins/projectexplorer/projectexplorer.pro1
-rw-r--r--src/plugins/pythoneditor/pythoneditor.pro1
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectmanager.pro1
-rw-r--r--src/plugins/qmldesigner/qmldesignerplugin.pro1
-rw-r--r--src/plugins/qmljseditor/qmljseditor.pro1
-rw-r--r--src/plugins/qmljstools/qmljstools.pro1
-rw-r--r--src/plugins/qmlprofiler/qmlprofiler.pro1
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectmanager.pro1
-rw-r--r--src/plugins/qnx/qnx.pro1
-rw-r--r--src/plugins/qt4projectmanager/qt4projectmanager.pro1
-rw-r--r--src/plugins/qtsupport/qtsupport.pro1
-rw-r--r--src/plugins/remotelinux/remotelinux.pro1
-rw-r--r--src/plugins/resourceeditor/resourceeditor.pro1
-rw-r--r--src/plugins/subversion/subversion.pro1
-rw-r--r--src/plugins/tasklist/tasklist.pro1
-rw-r--r--src/plugins/texteditor/texteditor.pro1
-rw-r--r--src/plugins/todo/todo.pro1
-rw-r--r--src/plugins/updateinfo/updateinfo.pro1
-rw-r--r--src/plugins/valgrind/valgrind.pro1
-rw-r--r--src/plugins/vcsbase/vcsbase.pro1
-rw-r--r--src/plugins/welcome/welcome.pro1
-rw-r--r--src/qtcreatorlibrary.pri1
-rw-r--r--src/qtcreatorplugin.pri1
65 files changed, 2 insertions, 63 deletions
diff --git a/src/libs/aggregation/aggregation.pro b/src/libs/aggregation/aggregation.pro
index b601bbc0610..3dd667bf0fd 100644
--- a/src/libs/aggregation/aggregation.pro
+++ b/src/libs/aggregation/aggregation.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Aggregation
include(../../qtcreatorlibrary.pri)
diff --git a/src/libs/cplusplus/cplusplus.pro b/src/libs/cplusplus/cplusplus.pro
index bc8d2f23e01..8a586162df2 100644
--- a/src/libs/cplusplus/cplusplus.pro
+++ b/src/libs/cplusplus/cplusplus.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = CPlusPlus
DEFINES += NDEBUG
diff --git a/src/libs/extensionsystem/extensionsystem.pro b/src/libs/extensionsystem/extensionsystem.pro
index dd510b09013..18314279c55 100644
--- a/src/libs/extensionsystem/extensionsystem.pro
+++ b/src/libs/extensionsystem/extensionsystem.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = ExtensionSystem
DEFINES += EXTENSIONSYSTEM_LIBRARY
include(../../qtcreatorlibrary.pri)
diff --git a/src/libs/glsl/glsl.pro b/src/libs/glsl/glsl.pro
index 3678588a471..089a9d04c68 100644
--- a/src/libs/glsl/glsl.pro
+++ b/src/libs/glsl/glsl.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = GLSL
DEFINES += \
GLSL_BUILD_LIB
diff --git a/src/libs/languageutils/languageutils.pro b/src/libs/languageutils/languageutils.pro
index b1d7649aaa7..e643380b090 100644
--- a/src/libs/languageutils/languageutils.pro
+++ b/src/libs/languageutils/languageutils.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = LanguageUtils
unix:QMAKE_CXXFLAGS_DEBUG += -O3
diff --git a/src/libs/qmldebug/qmldebug.pro b/src/libs/qmldebug/qmldebug.pro
index 26a1a408566..1a4e2441f66 100644
--- a/src/libs/qmldebug/qmldebug.pro
+++ b/src/libs/qmldebug/qmldebug.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlDebug
QT += network
diff --git a/src/libs/qmleditorwidgets/qmleditorwidgets.pro b/src/libs/qmleditorwidgets/qmleditorwidgets.pro
index a6cb68e158d..05d6b29eb72 100644
--- a/src/libs/qmleditorwidgets/qmleditorwidgets.pro
+++ b/src/libs/qmleditorwidgets/qmleditorwidgets.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlEditorWidgets
DEFINES += QWEAKPOINTER_ENABLE_ARROW
diff --git a/src/libs/qmljs/qmljs.pro b/src/libs/qmljs/qmljs.pro
index a5d788151c4..6bac9b89872 100644
--- a/src/libs/qmljs/qmljs.pro
+++ b/src/libs/qmljs/qmljs.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlJS
DEFINES += QMLJS_BUILD_DIR
diff --git a/src/libs/qtcreatorcdbext/qtcreatorcdbext.pro b/src/libs/qtcreatorcdbext/qtcreatorcdbext.pro
index c99f940d94c..2b7c09f3a2d 100644
--- a/src/libs/qtcreatorcdbext/qtcreatorcdbext.pro
+++ b/src/libs/qtcreatorcdbext/qtcreatorcdbext.pro
@@ -1,5 +1,4 @@
# Build the Qt Creator CDB extension
-TEMPLATE = lib
include(../../../qtcreator.pri)
include(cdb_detect.pri)
diff --git a/src/libs/ssh/ssh.pro b/src/libs/ssh/ssh.pro
index 2d8f9efe191..2dd4d12aab9 100644
--- a/src/libs/ssh/ssh.pro
+++ b/src/libs/ssh/ssh.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QtcSsh
QT += gui network
DEFINES += QSSH_LIBRARY
diff --git a/src/libs/utils/utils.pro b/src/libs/utils/utils.pro
index 9747f74ae3c..d68d998b375 100644
--- a/src/libs/utils/utils.pro
+++ b/src/libs/utils/utils.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Utils
QT += gui network
diff --git a/src/libs/zeroconf/zeroconf.pro b/src/libs/zeroconf/zeroconf.pro
index 0d5c07b31cc..86a3029881f 100644
--- a/src/libs/zeroconf/zeroconf.pro
+++ b/src/libs/zeroconf/zeroconf.pro
@@ -3,7 +3,6 @@ QT += network
CONFIG += exceptions
TARGET = zeroconf
-TEMPLATE = lib
DEFINES += ZEROCONF_LIBRARY
diff --git a/src/plugins/analyzerbase/analyzerbase.pro b/src/plugins/analyzerbase/analyzerbase.pro
index e9ac91cfae3..7d68a9cce4f 100644
--- a/src/plugins/analyzerbase/analyzerbase.pro
+++ b/src/plugins/analyzerbase/analyzerbase.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = AnalyzerBase
DEFINES += ANALYZER_LIBRARY
diff --git a/src/plugins/android/android.pro b/src/plugins/android/android.pro
index 9e55db74f3e..106526a6663 100644
--- a/src/plugins/android/android.pro
+++ b/src/plugins/android/android.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Android
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro b/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro
index e68b6383b4a..57bcafb10e1 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = AutotoolsProjectManager
#PROVIDER = Openismus
diff --git a/src/plugins/bazaar/bazaar.pro b/src/plugins/bazaar/bazaar.pro
index 3dd86dbb1fe..1446cf975c0 100644
--- a/src/plugins/bazaar/bazaar.pro
+++ b/src/plugins/bazaar/bazaar.pro
@@ -1,5 +1,4 @@
TARGET = Bazaar
-TEMPLATE = lib
include(../../qtcreatorplugin.pri)
SOURCES += \
bazaarclient.cpp \
diff --git a/src/plugins/bineditor/bineditor.pro b/src/plugins/bineditor/bineditor.pro
index edd8c537999..22e8903aba0 100644
--- a/src/plugins/bineditor/bineditor.pro
+++ b/src/plugins/bineditor/bineditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = BinEditor
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/bookmarks/bookmarks.pro b/src/plugins/bookmarks/bookmarks.pro
index 2a84388335d..a422e785165 100644
--- a/src/plugins/bookmarks/bookmarks.pro
+++ b/src/plugins/bookmarks/bookmarks.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Bookmarks
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/classview/classview.pro b/src/plugins/classview/classview.pro
index 0fa8a182537..1ff31926c84 100644
--- a/src/plugins/classview/classview.pro
+++ b/src/plugins/classview/classview.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = ClassView
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/clearcase/clearcase.pro b/src/plugins/clearcase/clearcase.pro
index 3e7eaf150ce..7dc257068dc 100644
--- a/src/plugins/clearcase/clearcase.pro
+++ b/src/plugins/clearcase/clearcase.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = ClearCase
# PROVIDER = AudioCodes
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro
index 715412ed7b1..81e651cc3e7 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = CMakeProjectManager
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/coreplugin/coreplugin.pro b/src/plugins/coreplugin/coreplugin.pro
index 34e562bdf71..78742ec37ee 100644
--- a/src/plugins/coreplugin/coreplugin.pro
+++ b/src/plugins/coreplugin/coreplugin.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Core
DEFINES += CORE_LIBRARY
QT += network \
diff --git a/src/plugins/cpaster/cpaster.pro b/src/plugins/cpaster/cpaster.pro
index 215d865bd80..67f67622023 100644
--- a/src/plugins/cpaster/cpaster.pro
+++ b/src/plugins/cpaster/cpaster.pro
@@ -1,5 +1,4 @@
QT += network
-TEMPLATE = lib
TARGET = CodePaster
include(../../qtcreatorplugin.pri)
HEADERS += cpasterplugin.h \
diff --git a/src/plugins/cppeditor/cppeditor.pro b/src/plugins/cppeditor/cppeditor.pro
index 470b2b9907f..6465fdd5ca4 100644
--- a/src/plugins/cppeditor/cppeditor.pro
+++ b/src/plugins/cppeditor/cppeditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = CppEditor
DEFINES += CPPEDITOR_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/cpptools/cpptools.pro b/src/plugins/cpptools/cpptools.pro
index 5232d6c5e7f..448b72326ec 100644
--- a/src/plugins/cpptools/cpptools.pro
+++ b/src/plugins/cpptools/cpptools.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = CppTools
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/cvs/cvs.pro b/src/plugins/cvs/cvs.pro
index 4bef655f54e..0578df6d155 100644
--- a/src/plugins/cvs/cvs.pro
+++ b/src/plugins/cvs/cvs.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = CVS
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro
index 4ab6115ee2a..9c10d6acbc0 100644
--- a/src/plugins/debugger/debugger.pro
+++ b/src/plugins/debugger/debugger.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Debugger
# DEFINES += QT_USE_FAST_OPERATOR_PLUS
diff --git a/src/plugins/designer/designer.pro b/src/plugins/designer/designer.pro
index cc5f330baf0..a51cf20c800 100644
--- a/src/plugins/designer/designer.pro
+++ b/src/plugins/designer/designer.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Designer
DEFINES += DESIGNER_LIBRARY
diff --git a/src/plugins/diffeditor/diffeditor.pro b/src/plugins/diffeditor/diffeditor.pro
index 38266d47725..bba1658557f 100644
--- a/src/plugins/diffeditor/diffeditor.pro
+++ b/src/plugins/diffeditor/diffeditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = DiffEditor
DEFINES += DIFFEDITOR_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/fakevim/fakevim.pro b/src/plugins/fakevim/fakevim.pro
index 308343a0e54..e28f787d656 100644
--- a/src/plugins/fakevim/fakevim.pro
+++ b/src/plugins/fakevim/fakevim.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = FakeVim
# CONFIG += single
diff --git a/src/plugins/find/find.pro b/src/plugins/find/find.pro
index f5e662a2ddc..2437c80dfe9 100644
--- a/src/plugins/find/find.pro
+++ b/src/plugins/find/find.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Find
include(../../qtcreatorplugin.pri)
DEFINES += FIND_LIBRARY
diff --git a/src/plugins/genericprojectmanager/genericprojectmanager.pro b/src/plugins/genericprojectmanager/genericprojectmanager.pro
index 3dfa78deaa7..3f603e26f6d 100644
--- a/src/plugins/genericprojectmanager/genericprojectmanager.pro
+++ b/src/plugins/genericprojectmanager/genericprojectmanager.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = GenericProjectManager
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/git/git.pro b/src/plugins/git/git.pro
index 3b2a852669f..dc32a33ab5e 100644
--- a/src/plugins/git/git.pro
+++ b/src/plugins/git/git.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Git
include(../../qtcreatorplugin.pri)
HEADERS += gitplugin.h \
diff --git a/src/plugins/glsleditor/glsleditor.pro b/src/plugins/glsleditor/glsleditor.pro
index 98c241d57ce..ad36551071a 100644
--- a/src/plugins/glsleditor/glsleditor.pro
+++ b/src/plugins/glsleditor/glsleditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = GLSLEditor
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/helloworld/helloworld.pro b/src/plugins/helloworld/helloworld.pro
index 0bfe6a52d95..ab18eacc30c 100644
--- a/src/plugins/helloworld/helloworld.pro
+++ b/src/plugins/helloworld/helloworld.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = HelloWorld
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/help/help.pro b/src/plugins/help/help.pro
index c568adeef9f..ba0c3fea6e9 100644
--- a/src/plugins/help/help.pro
+++ b/src/plugins/help/help.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Help
QT += network
diff --git a/src/plugins/imageviewer/imageviewer.pro b/src/plugins/imageviewer/imageviewer.pro
index 764ed97b95a..6be7741241f 100644
--- a/src/plugins/imageviewer/imageviewer.pro
+++ b/src/plugins/imageviewer/imageviewer.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = ImageViewer
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/locator/locator.pro b/src/plugins/locator/locator.pro
index e3f395bafff..324a0f02553 100644
--- a/src/plugins/locator/locator.pro
+++ b/src/plugins/locator/locator.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Locator
DEFINES += LOCATOR_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/macros/macros.pro b/src/plugins/macros/macros.pro
index 3ddac11ef5c..23347ce72f1 100644
--- a/src/plugins/macros/macros.pro
+++ b/src/plugins/macros/macros.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Macros
DEFINES += MACROS_LIBRARY
diff --git a/src/plugins/madde/madde.pro b/src/plugins/madde/madde.pro
index 5253241e199..a167cd0b3ec 100644
--- a/src/plugins/madde/madde.pro
+++ b/src/plugins/madde/madde.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Madde
QT += network
diff --git a/src/plugins/mercurial/mercurial.pro b/src/plugins/mercurial/mercurial.pro
index fdf345e5f3c..08703827d63 100644
--- a/src/plugins/mercurial/mercurial.pro
+++ b/src/plugins/mercurial/mercurial.pro
@@ -1,5 +1,4 @@
TARGET = Mercurial
-TEMPLATE = lib
include(../../qtcreatorplugin.pri)
SOURCES += mercurialplugin.cpp \
optionspage.cpp \
diff --git a/src/plugins/perforce/perforce.pro b/src/plugins/perforce/perforce.pro
index b3d17a24671..aed73d5ec3d 100644
--- a/src/plugins/perforce/perforce.pro
+++ b/src/plugins/perforce/perforce.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Perforce
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/projectexplorer/projectexplorer.pro b/src/plugins/projectexplorer/projectexplorer.pro
index a840754267c..36ea292dfbc 100644
--- a/src/plugins/projectexplorer/projectexplorer.pro
+++ b/src/plugins/projectexplorer/projectexplorer.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = ProjectExplorer
QT += xml script declarative
diff --git a/src/plugins/pythoneditor/pythoneditor.pro b/src/plugins/pythoneditor/pythoneditor.pro
index 6e3561315ce..39a394412b5 100644
--- a/src/plugins/pythoneditor/pythoneditor.pro
+++ b/src/plugins/pythoneditor/pythoneditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = PythonEditor
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/qbsprojectmanager/qbsprojectmanager.pro b/src/plugins/qbsprojectmanager/qbsprojectmanager.pro
index 845e33de732..3e17a6c8977 100644
--- a/src/plugins/qbsprojectmanager/qbsprojectmanager.pro
+++ b/src/plugins/qbsprojectmanager/qbsprojectmanager.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QbsProjectManager
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/qmldesigner/qmldesignerplugin.pro b/src/plugins/qmldesigner/qmldesignerplugin.pro
index 264b2300832..4bb8dfce777 100644
--- a/src/plugins/qmldesigner/qmldesignerplugin.pro
+++ b/src/plugins/qmldesigner/qmldesignerplugin.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlDesigner
CONFIG += exceptions
diff --git a/src/plugins/qmljseditor/qmljseditor.pro b/src/plugins/qmljseditor/qmljseditor.pro
index 48631aa79f7..9b8d20569a7 100644
--- a/src/plugins/qmljseditor/qmljseditor.pro
+++ b/src/plugins/qmljseditor/qmljseditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlJSEditor
include(../../qtcreatorplugin.pri)
QT += script
diff --git a/src/plugins/qmljstools/qmljstools.pro b/src/plugins/qmljstools/qmljstools.pro
index 6ddfc3c9773..74706cea50e 100644
--- a/src/plugins/qmljstools/qmljstools.pro
+++ b/src/plugins/qmljstools/qmljstools.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlJSTools
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/qmlprofiler/qmlprofiler.pro b/src/plugins/qmlprofiler/qmlprofiler.pro
index be47f04149a..11acc07d2ae 100644
--- a/src/plugins/qmlprofiler/qmlprofiler.pro
+++ b/src/plugins/qmlprofiler/qmlprofiler.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlProfiler
DEFINES += QMLPROFILER_LIBRARY
diff --git a/src/plugins/qmlprojectmanager/qmlprojectmanager.pro b/src/plugins/qmlprojectmanager/qmlprojectmanager.pro
index 52cbe4105cd..f2cabb403b9 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectmanager.pro
+++ b/src/plugins/qmlprojectmanager/qmlprojectmanager.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QmlProjectManager
QT += network declarative
diff --git a/src/plugins/qnx/qnx.pro b/src/plugins/qnx/qnx.pro
index a6b6d64a23e..e6fc1a04321 100644
--- a/src/plugins/qnx/qnx.pro
+++ b/src/plugins/qnx/qnx.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Qnx
QT += network xml
PROVIDER = BlackBerry
diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.pro b/src/plugins/qt4projectmanager/qt4projectmanager.pro
index 4f4188aa18c..7ed43bfaa43 100644
--- a/src/plugins/qt4projectmanager/qt4projectmanager.pro
+++ b/src/plugins/qt4projectmanager/qt4projectmanager.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Qt4ProjectManager
QT += network
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/qtsupport/qtsupport.pro b/src/plugins/qtsupport/qtsupport.pro
index 3c9e29d59bb..87d4fc6ae28 100644
--- a/src/plugins/qtsupport/qtsupport.pro
+++ b/src/plugins/qtsupport/qtsupport.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = QtSupport
DEFINES += QTSUPPORT_LIBRARY
QT += network declarative
diff --git a/src/plugins/remotelinux/remotelinux.pro b/src/plugins/remotelinux/remotelinux.pro
index a7841aa0f13..65baabd0895 100644
--- a/src/plugins/remotelinux/remotelinux.pro
+++ b/src/plugins/remotelinux/remotelinux.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = RemoteLinux
QT += network
diff --git a/src/plugins/resourceeditor/resourceeditor.pro b/src/plugins/resourceeditor/resourceeditor.pro
index f6641e841d6..8af1c099aa6 100644
--- a/src/plugins/resourceeditor/resourceeditor.pro
+++ b/src/plugins/resourceeditor/resourceeditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = ResourceEditor
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/subversion/subversion.pro b/src/plugins/subversion/subversion.pro
index ff5d8f02214..6316266f057 100644
--- a/src/plugins/subversion/subversion.pro
+++ b/src/plugins/subversion/subversion.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Subversion
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/tasklist/tasklist.pro b/src/plugins/tasklist/tasklist.pro
index 058553f489a..99b5dff0f59 100644
--- a/src/plugins/tasklist/tasklist.pro
+++ b/src/plugins/tasklist/tasklist.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = TaskList
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/texteditor/texteditor.pro b/src/plugins/texteditor/texteditor.pro
index b846fd2f7b5..92f6cdf252b 100644
--- a/src/plugins/texteditor/texteditor.pro
+++ b/src/plugins/texteditor/texteditor.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = TextEditor
DEFINES += TEXTEDITOR_LIBRARY
QT += xml network
diff --git a/src/plugins/todo/todo.pro b/src/plugins/todo/todo.pro
index 83fb3af9682..2ca6adc04c7 100644
--- a/src/plugins/todo/todo.pro
+++ b/src/plugins/todo/todo.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Todo
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/updateinfo/updateinfo.pro b/src/plugins/updateinfo/updateinfo.pro
index 07037b40945..3b5425b819b 100644
--- a/src/plugins/updateinfo/updateinfo.pro
+++ b/src/plugins/updateinfo/updateinfo.pro
@@ -1,5 +1,4 @@
TARGET = UpdateInfo
-TEMPLATE = lib
QT += network xml
HEADERS += updateinfoplugin.h \
diff --git a/src/plugins/valgrind/valgrind.pro b/src/plugins/valgrind/valgrind.pro
index 85a3e076f17..87ba3a1a15e 100644
--- a/src/plugins/valgrind/valgrind.pro
+++ b/src/plugins/valgrind/valgrind.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Valgrind
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/vcsbase/vcsbase.pro b/src/plugins/vcsbase/vcsbase.pro
index 75b41c7c67a..72e553b7a20 100644
--- a/src/plugins/vcsbase/vcsbase.pro
+++ b/src/plugins/vcsbase/vcsbase.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = VcsBase
DEFINES += VCSBASE_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/welcome/welcome.pro b/src/plugins/welcome/welcome.pro
index 30d02d54ff3..824184133db 100644
--- a/src/plugins/welcome/welcome.pro
+++ b/src/plugins/welcome/welcome.pro
@@ -1,4 +1,3 @@
-TEMPLATE = lib
TARGET = Welcome
QT += network declarative
diff --git a/src/qtcreatorlibrary.pri b/src/qtcreatorlibrary.pri
index ae3fdc3b98b..2860c84c119 100644
--- a/src/qtcreatorlibrary.pri
+++ b/src/qtcreatorlibrary.pri
@@ -15,6 +15,7 @@ include(rpath.pri)
TARGET = $$qtLibraryName($$TARGET)
+TEMPLATE = lib
CONFIG += shared dll
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
diff --git a/src/qtcreatorplugin.pri b/src/qtcreatorplugin.pri
index 758e83ea285..a5369fccab8 100644
--- a/src/qtcreatorplugin.pri
+++ b/src/qtcreatorplugin.pri
@@ -108,6 +108,7 @@ CONFIG += include_source_dir
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
+TEMPLATE = lib
CONFIG += plugin plugin_with_soname
linux*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF