summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-28 11:22:28 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-04-02 17:13:17 +0200
commit9631fb88cff9d4458216f39dac18cfa974a085db (patch)
tree54d1bb2b38551b39f9ed22554e41e27987ef1670
parentedf3eb99ec8825522cf940f226b9f437824c70d2 (diff)
downloadqt-creator-9631fb88cff9d4458216f39dac18cfa974a085db.tar.gz
centralize assignment of TEMPLATE = lib
Change-Id: I4025539f3875e79f03743ba9ed3fd09cd31b998d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
-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 b601bbc061..3dd667bf0f 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 bc8d2f23e0..8a586162df 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 dd510b0901..18314279c5 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 3678588a47..089a9d04c6 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 b1d7649aaa..e643380b09 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 26a1a40856..1a4e2441f6 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 a6cb68e158..05d6b29eb7 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 a5d788151c..6bac9b8987 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 c99f940d94..2b7c09f3a2 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 2d8f9efe19..2dd4d12aab 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 9747f74ae3..d68d998b37 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 0d5c07b31c..86a3029881 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 e9ac91cfae..7d68a9cce4 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 9e55db74f3..106526a666 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 e68b6383b4..57bcafb10e 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 3dd86dbb1f..1446cf975c 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 edd8c53799..22e8903aba 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 2a84388335..a422e78516 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 0fa8a18253..1ff31926c8 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 3e7eaf150c..7dc257068d 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 715412ed7b..81e651cc3e 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 34e562bdf7..78742ec37e 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 215d865bd8..67f6762202 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 470b2b9907..6465fdd5ca 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 5232d6c5e7..448b72326e 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 4bef655f54..0578df6d15 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 4ab6115ee2..9c10d6acbc 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 cc5f330baf..a51cf20c80 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 38266d4772..bba1658557 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 308343a0e5..e28f787d65 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 f5e662a2dd..2437c80dfe 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 3dfa78deaa..3f603e26f6 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 3b2a852669..dc32a33ab5 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 98c241d57c..ad36551071 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 0bfe6a52d9..ab18eacc30 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 c568adeef9..ba0c3fea6e 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 764ed97b95..6be7741241 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 e3f395baff..324a0f0255 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 3ddac11ef5..23347ce72f 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 5253241e19..a167cd0b3e 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 fdf345e5f3..08703827d6 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 b3d17a2467..aed73d5ec3 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 a840754267..36ea292dfb 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 6e3561315c..39a394412b 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 845e33de73..3e17a6c897 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 264b230083..4bb8dfce77 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 48631aa79f..9b8d20569a 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 6ddfc3c977..74706cea50 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 be47f04149..11acc07d2a 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 52cbe4105c..f2cabb403b 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 a6b6d64a23..e6fc1a0432 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 4f4188aa18..7ed43bfaa4 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 3c9e29d59b..87d4fc6ae2 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 a7841aa0f1..65baabd089 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 f6641e841d..8af1c099aa 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 ff5d8f0221..6316266f05 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 058553f489..99b5dff0f5 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 b846fd2f7b..92f6cdf252 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 83fb3af968..2ca6adc04c 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 07037b4094..3b5425b819 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 85a3e076f1..87ba3a1a15 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 75b41c7c67..72e553b7a2 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 30d02d54ff..824184133d 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 ae3fdc3b98..2860c84c11 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 758e83ea28..a5369fccab 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