summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-28 11:19:42 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-04-03 14:37:56 +0200
commit06acd82adad090a3aeb92fbe997f1757aa982d95 (patch)
tree97060af0ce2709252d50094736567ee064cb3d4c /src
parent66a3553107a43f56372f756b218e268e71390d19 (diff)
downloadqt-creator-06acd82adad090a3aeb92fbe997f1757aa982d95.tar.gz
derive TARGET from QTC_{LIB,PLUGIN}_NAME
the information is redundant now Change-Id: Icc8c8b4ace11538d45c6c9e1dbe5a7976f4743e1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/libs/aggregation/aggregation.pro2
-rw-r--r--src/libs/cplusplus/cplusplus.pro2
-rw-r--r--src/libs/extensionsystem/extensionsystem.pro1
-rw-r--r--src/libs/glsl/glsl.pro1
-rw-r--r--src/libs/languageutils/languageutils.pro2
-rw-r--r--src/libs/qmldebug/qmldebug.pro1
-rw-r--r--src/libs/qmleditorwidgets/qmleditorwidgets.pro2
-rw-r--r--src/libs/qmljs/qmljs.pro1
-rw-r--r--src/libs/ssh/ssh.pro1
-rw-r--r--src/libs/utils/utils.pro1
-rw-r--r--src/libs/zeroconf/zeroconf.pro2
-rw-r--r--src/plugins/analyzerbase/analyzerbase.pro2
-rw-r--r--src/plugins/android/android.pro2
-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.pro2
-rw-r--r--src/plugins/classview/classview.pro1
-rw-r--r--src/plugins/clearcase/clearcase.pro1
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro2
-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.pro2
-rw-r--r--src/plugins/debugger/debugger.pro2
-rw-r--r--src/plugins/designer/designer.pro1
-rw-r--r--src/plugins/diffeditor/diffeditor.pro1
-rw-r--r--src/plugins/fakevim/fakevim.pro2
-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.pro2
-rw-r--r--src/plugins/help/help.pro2
-rw-r--r--src/plugins/imageviewer/imageviewer.pro1
-rw-r--r--src/plugins/locator/locator.pro1
-rw-r--r--src/plugins/macros/macros.pro2
-rw-r--r--src/plugins/madde/madde.pro1
-rw-r--r--src/plugins/mercurial/mercurial.pro1
-rw-r--r--src/plugins/perforce/perforce.pro2
-rw-r--r--src/plugins/projectexplorer/projectexplorer.pro1
-rw-r--r--src/plugins/pythoneditor/pythoneditor.pro2
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectmanager.pro2
-rw-r--r--src/plugins/qmldesigner/qmldesignerplugin.pro2
-rw-r--r--src/plugins/qmljseditor/qmljseditor.pro1
-rw-r--r--src/plugins/qmljstools/qmljstools.pro1
-rw-r--r--src/plugins/qmlprofiler/qmlprofiler.pro2
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectmanager.pro2
-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.pro2
-rw-r--r--src/plugins/subversion/subversion.pro2
-rw-r--r--src/plugins/tasklist/tasklist.pro2
-rw-r--r--src/plugins/texteditor/texteditor.pro1
-rw-r--r--src/plugins/todo/todo.pro2
-rw-r--r--src/plugins/updateinfo/updateinfo.pro1
-rw-r--r--src/plugins/valgrind/valgrind.pro2
-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
64 files changed, 2 insertions, 88 deletions
diff --git a/src/libs/aggregation/aggregation.pro b/src/libs/aggregation/aggregation.pro
index 3dd667bf0f..0321e74896 100644
--- a/src/libs/aggregation/aggregation.pro
+++ b/src/libs/aggregation/aggregation.pro
@@ -1,5 +1,3 @@
-TARGET = Aggregation
-
include(../../qtcreatorlibrary.pri)
DEFINES += AGGREGATION_LIBRARY
diff --git a/src/libs/cplusplus/cplusplus.pro b/src/libs/cplusplus/cplusplus.pro
index 8a586162df..3d18fc3db8 100644
--- a/src/libs/cplusplus/cplusplus.pro
+++ b/src/libs/cplusplus/cplusplus.pro
@@ -1,5 +1,3 @@
-TARGET = CPlusPlus
-
DEFINES += NDEBUG
#DEFINES += DEBUG_LOOKUP
unix:QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/src/libs/extensionsystem/extensionsystem.pro b/src/libs/extensionsystem/extensionsystem.pro
index 18314279c5..b7f6bc22eb 100644
--- a/src/libs/extensionsystem/extensionsystem.pro
+++ b/src/libs/extensionsystem/extensionsystem.pro
@@ -1,4 +1,3 @@
-TARGET = ExtensionSystem
DEFINES += EXTENSIONSYSTEM_LIBRARY
include(../../qtcreatorlibrary.pri)
diff --git a/src/libs/glsl/glsl.pro b/src/libs/glsl/glsl.pro
index 089a9d04c6..fa91556368 100644
--- a/src/libs/glsl/glsl.pro
+++ b/src/libs/glsl/glsl.pro
@@ -1,4 +1,3 @@
-TARGET = GLSL
DEFINES += \
GLSL_BUILD_LIB
diff --git a/src/libs/languageutils/languageutils.pro b/src/libs/languageutils/languageutils.pro
index e643380b09..d6fc7588ac 100644
--- a/src/libs/languageutils/languageutils.pro
+++ b/src/libs/languageutils/languageutils.pro
@@ -1,5 +1,3 @@
-TARGET = LanguageUtils
-
unix:QMAKE_CXXFLAGS_DEBUG += -O3
include(../../qtcreatorlibrary.pri)
diff --git a/src/libs/qmldebug/qmldebug.pro b/src/libs/qmldebug/qmldebug.pro
index 1a4e2441f6..38b901f860 100644
--- a/src/libs/qmldebug/qmldebug.pro
+++ b/src/libs/qmldebug/qmldebug.pro
@@ -1,4 +1,3 @@
-TARGET = QmlDebug
QT += network
include(../../qtcreatorlibrary.pri)
diff --git a/src/libs/qmleditorwidgets/qmleditorwidgets.pro b/src/libs/qmleditorwidgets/qmleditorwidgets.pro
index 05d6b29eb7..2f9830d4c1 100644
--- a/src/libs/qmleditorwidgets/qmleditorwidgets.pro
+++ b/src/libs/qmleditorwidgets/qmleditorwidgets.pro
@@ -1,5 +1,3 @@
-TARGET = QmlEditorWidgets
-
DEFINES += QWEAKPOINTER_ENABLE_ARROW
unix:QMAKE_CXXFLAGS_DEBUG += -O3
diff --git a/src/libs/qmljs/qmljs.pro b/src/libs/qmljs/qmljs.pro
index 6bac9b8987..c9c018de5c 100644
--- a/src/libs/qmljs/qmljs.pro
+++ b/src/libs/qmljs/qmljs.pro
@@ -1,4 +1,3 @@
-TARGET = QmlJS
DEFINES += QMLJS_BUILD_DIR
QT +=script
diff --git a/src/libs/ssh/ssh.pro b/src/libs/ssh/ssh.pro
index 2dd4d12aab..80379d01b4 100644
--- a/src/libs/ssh/ssh.pro
+++ b/src/libs/ssh/ssh.pro
@@ -1,4 +1,3 @@
-TARGET = QtcSsh
QT += gui network
DEFINES += QSSH_LIBRARY
diff --git a/src/libs/utils/utils.pro b/src/libs/utils/utils.pro
index d68d998b37..3980a15d93 100644
--- a/src/libs/utils/utils.pro
+++ b/src/libs/utils/utils.pro
@@ -1,4 +1,3 @@
-TARGET = Utils
QT += gui network
include(../../qtcreatorlibrary.pri)
diff --git a/src/libs/zeroconf/zeroconf.pro b/src/libs/zeroconf/zeroconf.pro
index 86a3029881..4980a869c8 100644
--- a/src/libs/zeroconf/zeroconf.pro
+++ b/src/libs/zeroconf/zeroconf.pro
@@ -2,8 +2,6 @@ QT -= gui
QT += network
CONFIG += exceptions
-TARGET = zeroconf
-
DEFINES += ZEROCONF_LIBRARY
SOURCES += servicebrowser.cpp \
diff --git a/src/plugins/analyzerbase/analyzerbase.pro b/src/plugins/analyzerbase/analyzerbase.pro
index 7d68a9cce4..4eb207e786 100644
--- a/src/plugins/analyzerbase/analyzerbase.pro
+++ b/src/plugins/analyzerbase/analyzerbase.pro
@@ -1,5 +1,3 @@
-TARGET = AnalyzerBase
-
DEFINES += ANALYZER_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/android/android.pro b/src/plugins/android/android.pro
index 106526a666..c4e6534bd4 100644
--- a/src/plugins/android/android.pro
+++ b/src/plugins/android/android.pro
@@ -1,5 +1,3 @@
-TARGET = Android
-
include(../../qtcreatorplugin.pri)
isEmpty(ANDROID_ENABLE):ANDROID_EXPERIMENTAL_STR="true"
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro b/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro
index 57bcafb10e..4feae8c564 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectmanager.pro
@@ -1,4 +1,3 @@
-TARGET = AutotoolsProjectManager
#PROVIDER = Openismus
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/bazaar/bazaar.pro b/src/plugins/bazaar/bazaar.pro
index 1446cf975c..06259346df 100644
--- a/src/plugins/bazaar/bazaar.pro
+++ b/src/plugins/bazaar/bazaar.pro
@@ -1,4 +1,3 @@
-TARGET = Bazaar
include(../../qtcreatorplugin.pri)
SOURCES += \
bazaarclient.cpp \
diff --git a/src/plugins/bineditor/bineditor.pro b/src/plugins/bineditor/bineditor.pro
index 22e8903aba..0dbd986b25 100644
--- a/src/plugins/bineditor/bineditor.pro
+++ b/src/plugins/bineditor/bineditor.pro
@@ -1,4 +1,3 @@
-TARGET = BinEditor
include(../../qtcreatorplugin.pri)
HEADERS += bineditorplugin.h \
diff --git a/src/plugins/bookmarks/bookmarks.pro b/src/plugins/bookmarks/bookmarks.pro
index a422e78516..f6d176aeec 100644
--- a/src/plugins/bookmarks/bookmarks.pro
+++ b/src/plugins/bookmarks/bookmarks.pro
@@ -1,5 +1,3 @@
-TARGET = Bookmarks
-
include(../../qtcreatorplugin.pri)
HEADERS += bookmarksplugin.h \
diff --git a/src/plugins/classview/classview.pro b/src/plugins/classview/classview.pro
index 1ff31926c8..86352ed98f 100644
--- a/src/plugins/classview/classview.pro
+++ b/src/plugins/classview/classview.pro
@@ -1,4 +1,3 @@
-TARGET = ClassView
include(../../qtcreatorplugin.pri)
HEADERS += \
diff --git a/src/plugins/clearcase/clearcase.pro b/src/plugins/clearcase/clearcase.pro
index 7dc257068d..d4fa42c38b 100644
--- a/src/plugins/clearcase/clearcase.pro
+++ b/src/plugins/clearcase/clearcase.pro
@@ -1,4 +1,3 @@
-TARGET = ClearCase
# PROVIDER = AudioCodes
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro
index 81e651cc3e..4b20e57114 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.pro
@@ -1,5 +1,3 @@
-TARGET = CMakeProjectManager
-
include(../../qtcreatorplugin.pri)
HEADERS = cmakeproject.h \
diff --git a/src/plugins/coreplugin/coreplugin.pro b/src/plugins/coreplugin/coreplugin.pro
index 78742ec37e..c2a89de0cc 100644
--- a/src/plugins/coreplugin/coreplugin.pro
+++ b/src/plugins/coreplugin/coreplugin.pro
@@ -1,4 +1,3 @@
-TARGET = Core
DEFINES += CORE_LIBRARY
QT += network \
script \
diff --git a/src/plugins/cpaster/cpaster.pro b/src/plugins/cpaster/cpaster.pro
index 67f6762202..d73d615280 100644
--- a/src/plugins/cpaster/cpaster.pro
+++ b/src/plugins/cpaster/cpaster.pro
@@ -1,5 +1,4 @@
QT += network
-TARGET = CodePaster
include(../../qtcreatorplugin.pri)
HEADERS += cpasterplugin.h \
settingspage.h \
diff --git a/src/plugins/cppeditor/cppeditor.pro b/src/plugins/cppeditor/cppeditor.pro
index 6465fdd5ca..1fb2568caa 100644
--- a/src/plugins/cppeditor/cppeditor.pro
+++ b/src/plugins/cppeditor/cppeditor.pro
@@ -1,4 +1,3 @@
-TARGET = CppEditor
DEFINES += CPPEDITOR_LIBRARY
include(../../qtcreatorplugin.pri)
HEADERS += cppplugin.h \
diff --git a/src/plugins/cpptools/cpptools.pro b/src/plugins/cpptools/cpptools.pro
index 361fb45ad0..ff8999f7fd 100644
--- a/src/plugins/cpptools/cpptools.pro
+++ b/src/plugins/cpptools/cpptools.pro
@@ -1,4 +1,3 @@
-TARGET = CppTools
include(../../qtcreatorplugin.pri)
DEFINES += CPPTOOLS_LIBRARY
diff --git a/src/plugins/cvs/cvs.pro b/src/plugins/cvs/cvs.pro
index 0578df6d15..9ecb32b06e 100644
--- a/src/plugins/cvs/cvs.pro
+++ b/src/plugins/cvs/cvs.pro
@@ -1,5 +1,3 @@
-TARGET = CVS
-
include(../../qtcreatorplugin.pri)
HEADERS += annotationhighlighter.h \
diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro
index 9c10d6acbc..ad5e6deee0 100644
--- a/src/plugins/debugger/debugger.pro
+++ b/src/plugins/debugger/debugger.pro
@@ -1,5 +1,3 @@
-TARGET = Debugger
-
# DEFINES += QT_USE_FAST_OPERATOR_PLUS
# DEFINES += QT_USE_FAST_CONCATENATION
# CONFIG += single
diff --git a/src/plugins/designer/designer.pro b/src/plugins/designer/designer.pro
index a51cf20c80..f739561cd5 100644
--- a/src/plugins/designer/designer.pro
+++ b/src/plugins/designer/designer.pro
@@ -1,4 +1,3 @@
-TARGET = Designer
DEFINES += DESIGNER_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/diffeditor/diffeditor.pro b/src/plugins/diffeditor/diffeditor.pro
index bba1658557..9e36bdbf77 100644
--- a/src/plugins/diffeditor/diffeditor.pro
+++ b/src/plugins/diffeditor/diffeditor.pro
@@ -1,4 +1,3 @@
-TARGET = DiffEditor
DEFINES += DIFFEDITOR_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/fakevim/fakevim.pro b/src/plugins/fakevim/fakevim.pro
index e28f787d65..95a5aa5aef 100644
--- a/src/plugins/fakevim/fakevim.pro
+++ b/src/plugins/fakevim/fakevim.pro
@@ -1,5 +1,3 @@
-TARGET = FakeVim
-
# CONFIG += single
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/find/find.pro b/src/plugins/find/find.pro
index 2437c80dfe..8666b26bde 100644
--- a/src/plugins/find/find.pro
+++ b/src/plugins/find/find.pro
@@ -1,4 +1,3 @@
-TARGET = Find
include(../../qtcreatorplugin.pri)
DEFINES += FIND_LIBRARY
HEADERS += findtoolwindow.h \
diff --git a/src/plugins/genericprojectmanager/genericprojectmanager.pro b/src/plugins/genericprojectmanager/genericprojectmanager.pro
index 3f603e26f6..008002bb0d 100644
--- a/src/plugins/genericprojectmanager/genericprojectmanager.pro
+++ b/src/plugins/genericprojectmanager/genericprojectmanager.pro
@@ -1,4 +1,3 @@
-TARGET = GenericProjectManager
include(../../qtcreatorplugin.pri)
HEADERS = genericproject.h \
diff --git a/src/plugins/git/git.pro b/src/plugins/git/git.pro
index dc32a33ab5..d5dca2d4fe 100644
--- a/src/plugins/git/git.pro
+++ b/src/plugins/git/git.pro
@@ -1,4 +1,3 @@
-TARGET = Git
include(../../qtcreatorplugin.pri)
HEADERS += gitplugin.h \
gitconstants.h \
diff --git a/src/plugins/glsleditor/glsleditor.pro b/src/plugins/glsleditor/glsleditor.pro
index ad36551071..6d6c8543f6 100644
--- a/src/plugins/glsleditor/glsleditor.pro
+++ b/src/plugins/glsleditor/glsleditor.pro
@@ -1,4 +1,3 @@
-TARGET = GLSLEditor
include(../../qtcreatorplugin.pri)
DEFINES += \
diff --git a/src/plugins/helloworld/helloworld.pro b/src/plugins/helloworld/helloworld.pro
index ab18eacc30..01a63735b5 100644
--- a/src/plugins/helloworld/helloworld.pro
+++ b/src/plugins/helloworld/helloworld.pro
@@ -1,5 +1,3 @@
-TARGET = HelloWorld
-
include(../../qtcreatorplugin.pri)
HEADERS += helloworldplugin.h \
diff --git a/src/plugins/help/help.pro b/src/plugins/help/help.pro
index ba0c3fea6e..fa984b93c9 100644
--- a/src/plugins/help/help.pro
+++ b/src/plugins/help/help.pro
@@ -1,5 +1,3 @@
-TARGET = Help
-
QT += network
greaterThan(QT_MAJOR_VERSION, 4) {
QT += printsupport help
diff --git a/src/plugins/imageviewer/imageviewer.pro b/src/plugins/imageviewer/imageviewer.pro
index 6be7741241..c422cf993c 100644
--- a/src/plugins/imageviewer/imageviewer.pro
+++ b/src/plugins/imageviewer/imageviewer.pro
@@ -1,4 +1,3 @@
-TARGET = ImageViewer
include(../../qtcreatorplugin.pri)
HEADERS += \
diff --git a/src/plugins/locator/locator.pro b/src/plugins/locator/locator.pro
index 324a0f0255..80cef75467 100644
--- a/src/plugins/locator/locator.pro
+++ b/src/plugins/locator/locator.pro
@@ -1,4 +1,3 @@
-TARGET = Locator
DEFINES += LOCATOR_LIBRARY
include(../../qtcreatorplugin.pri)
HEADERS += locatorplugin.h \
diff --git a/src/plugins/macros/macros.pro b/src/plugins/macros/macros.pro
index 23347ce72f..e328cd59a3 100644
--- a/src/plugins/macros/macros.pro
+++ b/src/plugins/macros/macros.pro
@@ -1,5 +1,3 @@
-TARGET = Macros
-
DEFINES += MACROS_LIBRARY
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/madde/madde.pro b/src/plugins/madde/madde.pro
index a167cd0b3e..2ab51455d1 100644
--- a/src/plugins/madde/madde.pro
+++ b/src/plugins/madde/madde.pro
@@ -1,4 +1,3 @@
-TARGET = Madde
QT += network
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/mercurial/mercurial.pro b/src/plugins/mercurial/mercurial.pro
index 08703827d6..f103139049 100644
--- a/src/plugins/mercurial/mercurial.pro
+++ b/src/plugins/mercurial/mercurial.pro
@@ -1,4 +1,3 @@
-TARGET = Mercurial
include(../../qtcreatorplugin.pri)
SOURCES += mercurialplugin.cpp \
optionspage.cpp \
diff --git a/src/plugins/perforce/perforce.pro b/src/plugins/perforce/perforce.pro
index aed73d5ec3..796a0c7a67 100644
--- a/src/plugins/perforce/perforce.pro
+++ b/src/plugins/perforce/perforce.pro
@@ -1,5 +1,3 @@
-TARGET = Perforce
-
include(../../qtcreatorplugin.pri)
HEADERS += \
diff --git a/src/plugins/projectexplorer/projectexplorer.pro b/src/plugins/projectexplorer/projectexplorer.pro
index 36ea292dfb..12d0db35f3 100644
--- a/src/plugins/projectexplorer/projectexplorer.pro
+++ b/src/plugins/projectexplorer/projectexplorer.pro
@@ -1,4 +1,3 @@
-TARGET = ProjectExplorer
QT += xml script declarative
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/pythoneditor/pythoneditor.pro b/src/plugins/pythoneditor/pythoneditor.pro
index 39a394412b..b064e94581 100644
--- a/src/plugins/pythoneditor/pythoneditor.pro
+++ b/src/plugins/pythoneditor/pythoneditor.pro
@@ -1,5 +1,3 @@
-TARGET = PythonEditor
-
include(../../qtcreatorplugin.pri)
include(pythoneditor_dependencies.pri)
diff --git a/src/plugins/qbsprojectmanager/qbsprojectmanager.pro b/src/plugins/qbsprojectmanager/qbsprojectmanager.pro
index 3e17a6c897..e6c4b383ab 100644
--- a/src/plugins/qbsprojectmanager/qbsprojectmanager.pro
+++ b/src/plugins/qbsprojectmanager/qbsprojectmanager.pro
@@ -1,5 +1,3 @@
-TARGET = QbsProjectManager
-
include(../../qtcreatorplugin.pri)
# Look for qbs in the environment (again)
diff --git a/src/plugins/qmldesigner/qmldesignerplugin.pro b/src/plugins/qmldesigner/qmldesignerplugin.pro
index 4bb8dfce77..401c51d722 100644
--- a/src/plugins/qmldesigner/qmldesignerplugin.pro
+++ b/src/plugins/qmldesigner/qmldesignerplugin.pro
@@ -1,5 +1,3 @@
-TARGET = QmlDesigner
-
CONFIG += exceptions
INCLUDEPATH += $$PWD
diff --git a/src/plugins/qmljseditor/qmljseditor.pro b/src/plugins/qmljseditor/qmljseditor.pro
index 9b8d20569a..2b1aaa156c 100644
--- a/src/plugins/qmljseditor/qmljseditor.pro
+++ b/src/plugins/qmljseditor/qmljseditor.pro
@@ -1,4 +1,3 @@
-TARGET = QmlJSEditor
include(../../qtcreatorplugin.pri)
QT += script
diff --git a/src/plugins/qmljstools/qmljstools.pro b/src/plugins/qmljstools/qmljstools.pro
index 74706cea50..93021dd6a8 100644
--- a/src/plugins/qmljstools/qmljstools.pro
+++ b/src/plugins/qmljstools/qmljstools.pro
@@ -1,4 +1,3 @@
-TARGET = QmlJSTools
include(../../qtcreatorplugin.pri)
DEFINES += QMLJSTOOLS_LIBRARY
diff --git a/src/plugins/qmlprofiler/qmlprofiler.pro b/src/plugins/qmlprofiler/qmlprofiler.pro
index 11acc07d2a..208b4df8ab 100644
--- a/src/plugins/qmlprofiler/qmlprofiler.pro
+++ b/src/plugins/qmlprofiler/qmlprofiler.pro
@@ -1,5 +1,3 @@
-TARGET = QmlProfiler
-
DEFINES += QMLPROFILER_LIBRARY
QT += network script declarative
diff --git a/src/plugins/qmlprojectmanager/qmlprojectmanager.pro b/src/plugins/qmlprojectmanager/qmlprojectmanager.pro
index f2cabb403b..56f0100184 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectmanager.pro
+++ b/src/plugins/qmlprojectmanager/qmlprojectmanager.pro
@@ -1,5 +1,3 @@
-TARGET = QmlProjectManager
-
QT += network declarative
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/qnx/qnx.pro b/src/plugins/qnx/qnx.pro
index e6fc1a0432..7467c4f522 100644
--- a/src/plugins/qnx/qnx.pro
+++ b/src/plugins/qnx/qnx.pro
@@ -1,4 +1,3 @@
-TARGET = Qnx
QT += network xml
PROVIDER = BlackBerry
diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.pro b/src/plugins/qt4projectmanager/qt4projectmanager.pro
index 7ed43bfaa4..f76f2aaad2 100644
--- a/src/plugins/qt4projectmanager/qt4projectmanager.pro
+++ b/src/plugins/qt4projectmanager/qt4projectmanager.pro
@@ -1,4 +1,3 @@
-TARGET = Qt4ProjectManager
QT += network
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/qtsupport/qtsupport.pro b/src/plugins/qtsupport/qtsupport.pro
index 87d4fc6ae2..8e2f5a83aa 100644
--- a/src/plugins/qtsupport/qtsupport.pro
+++ b/src/plugins/qtsupport/qtsupport.pro
@@ -1,4 +1,3 @@
-TARGET = QtSupport
DEFINES += QTSUPPORT_LIBRARY
QT += network declarative
diff --git a/src/plugins/remotelinux/remotelinux.pro b/src/plugins/remotelinux/remotelinux.pro
index 65baabd089..6fba2022f1 100644
--- a/src/plugins/remotelinux/remotelinux.pro
+++ b/src/plugins/remotelinux/remotelinux.pro
@@ -1,4 +1,3 @@
-TARGET = RemoteLinux
QT += network
include(../../qtcreatorplugin.pri)
diff --git a/src/plugins/resourceeditor/resourceeditor.pro b/src/plugins/resourceeditor/resourceeditor.pro
index 8af1c099aa..d10ddc591b 100644
--- a/src/plugins/resourceeditor/resourceeditor.pro
+++ b/src/plugins/resourceeditor/resourceeditor.pro
@@ -1,5 +1,3 @@
-TARGET = ResourceEditor
-
include(../../qtcreatorplugin.pri)
include(qrceditor/qrceditor.pri)
diff --git a/src/plugins/subversion/subversion.pro b/src/plugins/subversion/subversion.pro
index 6316266f05..6d2d9e21c0 100644
--- a/src/plugins/subversion/subversion.pro
+++ b/src/plugins/subversion/subversion.pro
@@ -1,5 +1,3 @@
-TARGET = Subversion
-
include(../../qtcreatorplugin.pri)
HEADERS += annotationhighlighter.h \
diff --git a/src/plugins/tasklist/tasklist.pro b/src/plugins/tasklist/tasklist.pro
index 99b5dff0f5..9fccf0a4c1 100644
--- a/src/plugins/tasklist/tasklist.pro
+++ b/src/plugins/tasklist/tasklist.pro
@@ -1,5 +1,3 @@
-TARGET = TaskList
-
include(../../qtcreatorplugin.pri)
HEADERS += tasklistplugin.h \
diff --git a/src/plugins/texteditor/texteditor.pro b/src/plugins/texteditor/texteditor.pro
index 92f6cdf252..a5193ff862 100644
--- a/src/plugins/texteditor/texteditor.pro
+++ b/src/plugins/texteditor/texteditor.pro
@@ -1,4 +1,3 @@
-TARGET = TextEditor
DEFINES += TEXTEDITOR_LIBRARY
QT += xml network
CONFIG += exceptions
diff --git a/src/plugins/todo/todo.pro b/src/plugins/todo/todo.pro
index 2ca6adc04c..aa2a436fc1 100644
--- a/src/plugins/todo/todo.pro
+++ b/src/plugins/todo/todo.pro
@@ -1,5 +1,3 @@
-TARGET = Todo
-
include(../../qtcreatorplugin.pri)
HEADERS += todoplugin.h \
diff --git a/src/plugins/updateinfo/updateinfo.pro b/src/plugins/updateinfo/updateinfo.pro
index 3b5425b819..262c30cd3c 100644
--- a/src/plugins/updateinfo/updateinfo.pro
+++ b/src/plugins/updateinfo/updateinfo.pro
@@ -1,4 +1,3 @@
-TARGET = UpdateInfo
QT += network xml
HEADERS += updateinfoplugin.h \
diff --git a/src/plugins/valgrind/valgrind.pro b/src/plugins/valgrind/valgrind.pro
index 87ba3a1a15..e3ebcb1e99 100644
--- a/src/plugins/valgrind/valgrind.pro
+++ b/src/plugins/valgrind/valgrind.pro
@@ -1,5 +1,3 @@
-TARGET = Valgrind
-
include(../../qtcreatorplugin.pri)
include(callgrind/callgrind.pri)
include(memcheck/memcheck.pri)
diff --git a/src/plugins/vcsbase/vcsbase.pro b/src/plugins/vcsbase/vcsbase.pro
index 72e553b7a2..0cfdef3b92 100644
--- a/src/plugins/vcsbase/vcsbase.pro
+++ b/src/plugins/vcsbase/vcsbase.pro
@@ -1,4 +1,3 @@
-TARGET = VcsBase
DEFINES += VCSBASE_LIBRARY
include(../../qtcreatorplugin.pri)
HEADERS += vcsbase_global.h \
diff --git a/src/plugins/welcome/welcome.pro b/src/plugins/welcome/welcome.pro
index 824184133d..70a58cf42f 100644
--- a/src/plugins/welcome/welcome.pro
+++ b/src/plugins/welcome/welcome.pro
@@ -1,4 +1,3 @@
-TARGET = Welcome
QT += network declarative
include(../../qtcreatorplugin.pri)
diff --git a/src/qtcreatorlibrary.pri b/src/qtcreatorlibrary.pri
index 9184fd03d4..e74d50a0e2 100644
--- a/src/qtcreatorlibrary.pri
+++ b/src/qtcreatorlibrary.pri
@@ -1,4 +1,5 @@
include($$replace(_PRO_FILE_PWD_, ([^/]+$), \\1/\\1_dependencies.pri))
+TARGET = $$QTC_LIB_NAME
include(../qtcreator.pri)
diff --git a/src/qtcreatorplugin.pri b/src/qtcreatorplugin.pri
index 37b4c5778c..4f2c1b0019 100644
--- a/src/qtcreatorplugin.pri
+++ b/src/qtcreatorplugin.pri
@@ -1,4 +1,5 @@
include($$replace(_PRO_FILE_PWD_, ([^/]+$), \\1/\\1_dependencies.pri))
+TARGET = $$QTC_PLUGIN_NAME
include(../qtcreator.pri)