-Qt Creator 2.1.81
-===============
+Qt Creator
+==========
Qt Creator is a crossplatform C++ IDE for development with the Qt framework.
Supported Platforms
QDOC_BIN = $$targetPath($$[QT_INSTALL_BINS]/qdoc3)
HELPGENERATOR = $$targetPath($$[QT_INSTALL_BINS]/qhelpgenerator)
+VERSION_TAG = $$replace(QTCREATOR_VERSION, "[-.]", )
+
equals(QMAKE_DIR_SEP, /) { # unix, mingw+msys
- QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html $$QDOC_BIN
+ QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html QTC_VERSION=$$QTCREATOR_VERSION QTC_VERSION_TAG=$$VERSION_TAG $$QDOC_BIN
} else:win32-g++* { # just mingw
# The lack of spaces in front of the && is necessary!
- QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$QDOC_BIN
+ QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& set QTC_VERSION=$$QTCREATOR_VERSION&& set QTC_VERSION_TAG=$$VERSION_TAG&& $$QDOC_BIN
} else { # nmake
QDOC = set SRCDIR=$$PWD $$escape_expand(\\n\\t) \
set OUTDIR=$$OUT_PWD/doc/html $$escape_expand(\\n\\t) \
+ set QTC_VERSION=$$QTCREATOR_VERSION $$escape_expand(\\n\\t) \
+ set QTC_VERSION_TAG=$$VERSION_TAG $$escape_expand(\\n\\t) \
$$QDOC_BIN
}
\title Qt Creator Manual
- \section1 Version 2.1.81
+ \section1 Version \qtcversion
Qt Creator provides a cross-platform, complete integrated development
environment (IDE) for application developers to create applications for
qhp.projects = QtCreator
qhp.QtCreator.file = qtcreator.qhp
-qhp.QtCreator.namespace = com.nokia.qtcreator.2181
+qhp.QtCreator.namespace = com.nokia.qtcreator.$QTC_VERSION_TAG
qhp.QtCreator.virtualFolder = doc
qhp.QtCreator.indexTitle = Qt Creator
-qhp.QtCreator.filterAttributes = qtcreator 2.1.81
-qhp.QtCreator.customFilters.QtCreator.name = Qt Creator 2.1.81
-qhp.QtCreator.customFilters.QtCreator.filterAttributes = qtcreator 2.1.81
+qhp.QtCreator.filterAttributes = qtcreator $QTC_VERSION
+qhp.QtCreator.customFilters.QtCreator.name = Qt Creator $QTC_VERSION
+qhp.QtCreator.customFilters.QtCreator.filterAttributes = qtcreator $QTC_VERSION
qhp.QtCreator.indexRoot =
qhp.QtCreator.extraFiles = style/style.css \
style/style_ie6.css \
# macros.qdocconf
+macro.qtcversion = $QTC_VERSION
+
macro.aring.HTML = "å"
macro.Auml.HTML = "Ä"
macro.author = "\\bold{Author:}"
!isEmpty(QTCREATOR_PRI_INCLUDED):error("qtcreator.pri already included")
QTCREATOR_PRI_INCLUDED = 1
+QTCREATOR_VERSION = 2.1.81
+
defineReplace(cleanPath) {
win32:1 ~= s|\\\\|/|g
contains(1, ^/.*):pfx = /
+++ /dev/null
-#! /usr/bin/env bash
-
-## Command line parameters
-if [[ $# != 2 ]]; then
- cat <<USAGE
-usage:
- $0 <old> <new>
-example:
- $0 '1.2.3' '1.2.4'
-USAGE
- exit 1
-fi
-
-
-## Process and show version
-OLD=`sed 's/\./\\\\./g' <<<"$1"`
-NEW=`sed 's/\./\\\\./g' <<<"$2"`
-
-OLD_MAJOR=`sed 's/^\([0-9]*\)\.[0-9]*\.[0-9]*/\1/' <<<"$1"`
-NEW_MAJOR=`sed 's/^\([0-9]*\)\.[0-9]*\.[0-9]*/\1/' <<<"$2"`
-
-OLD_MINOR=`sed 's/^[0-9]*\.\([0-9]*\)\.[0-9]*/\1/' <<<"$1"`
-NEW_MINOR=`sed 's/^[0-9]*\.\([0-9]*\)\.[0-9]*/\1/' <<<"$2"`
-
-OLD_RELEASE=`sed 's/^[0-9]*\.[0-9]*\.\([0-9]*\)/\1/' <<<"$1"`
-NEW_RELEASE=`sed 's/^[0-9]*\.[0-9]*\.\([0-9]*\)/\1/' <<<"$2"`
-
-OLD_THREE="${OLD_MAJOR}${OLD_MINOR}${OLD_RELEASE}"
-NEW_THREE="${NEW_MAJOR}${NEW_MINOR}${NEW_RELEASE}"
-
-OLD_DOT_THREE="${OLD_MAJOR}\\.${OLD_MINOR}\\.${OLD_RELEASE}"
-NEW_DOT_THREE="${NEW_MAJOR}\\.${NEW_MINOR}\\.${NEW_RELEASE}"
-
-OLD_DOT_FOUR="${OLD_MAJOR}\\.${OLD_MINOR}\\.${OLD_RELEASE}\\.0"
-NEW_DOT_FOUR="${NEW_MAJOR}\\.${NEW_MINOR}\\.${NEW_RELEASE}\\.0"
-
-OLD_COMMA_FOUR="${OLD_MAJOR},${OLD_MINOR},${OLD_RELEASE},0"
-NEW_COMMA_FOUR="${NEW_MAJOR},${NEW_MINOR},${NEW_RELEASE},0"
-
-echo "#==============================================="
-echo "# Plain '${OLD}' -> '${NEW}'"
-echo "#-----------------------------------------------"
-echo "# Major '${OLD_MAJOR}' -> '${NEW_MAJOR}'"
-echo "# Minor '${OLD_MINOR}' -> '${NEW_MINOR}'"
-echo "# Release '${OLD_RELEASE}' -> '${NEW_RELEASE}'"
-echo "#-----------------------------------------------"
-echo "# 3 '${OLD_THREE}' -> '${NEW_THREE}'"
-echo "# Dot 3 '${OLD_DOT_THREE}' -> '${NEW_DOT_THREE}'"
-echo "# Dot 4 '${OLD_DOT_FOUR}' -> '${NEW_DOT_FOUR}'"
-echo "# Comma 4 '${OLD_COMMA_FOUR}' -> '${NEW_COMMA_FOUR}'"
-echo "#==============================================="
-echo
-
-
-## Make script safe to call from anywhere by going home first
-SCRIPT_DIR=`dirname "${PWD}/$0"`/..
-echo "Entering directory \`${SCRIPT_DIR}'"
-pushd "${SCRIPT_DIR}" &>/dev/null || exit 1
-
-
-## Patch *.pluginspec
-while read i ; do
- echo "Patching \`$i'"
- TMPFILE=`mktemp versionPatch.XXXXXX`
- sed -e 's/version="'"${OLD}"'"/version="'"${NEW}"'"/' \
- -e 's/compatVersion="'"${OLD}"'"/compatVersion="'"${NEW}"'"/' \
- "${i}" > "${TMPFILE}"
- mv -f "${TMPFILE}" "${i}"
-done < <(find . -name '*.pluginspec')
-
-
-## Patch coreconstants.h
-TMPFILE=`mktemp versionPatch.XXXXXX`
-CORE_CONSTANT_H="${SCRIPT_DIR}/src/plugins/coreplugin/coreconstants.h"
-echo "Patching \`${CORE_CONSTANT_H}'"
-sed \
- -e 's/^\(#define IDE_VERSION_MAJOR \)'"${OLD_MAJOR}"'/\1'"${NEW_MAJOR}"'/' \
- -e 's/^\(#define IDE_VERSION_MINOR \)'"${OLD_MINOR}"'/\1'"${NEW_MINOR}"'/' \
- -e 's/^\(#define IDE_VERSION_RELEASE \)'"${OLD_RELEASE}"'/\1'"${NEW_RELEASE}"'/' \
- "${CORE_CONSTANT_H}" > "${TMPFILE}"
-mv -f "${TMPFILE}" "${CORE_CONSTANT_H}"
-
-
-## Patch Info.plist
-TMPFILE=`mktemp versionPatch.XXXXXX`
-INFO_PLIST="${SCRIPT_DIR}/src/app/Info.plist"
-echo "Patching \`${INFO_PLIST}'"
-sed \
- -e "s/"${OLD}"/"${NEW}"/" \
- "${INFO_PLIST}" > "${TMPFILE}"
-mv -f "${TMPFILE}" "${INFO_PLIST}"
-
-
-## Patch qtcreator.qdocconf
-TMPFILE=`mktemp versionPatch.XXXXXX`
-QDOCCONF="${SCRIPT_DIR}/doc/qtcreator.qdocconf"
-echo "Patching \`${QDOCCONF}'"
-sed \
- -e "s/"${OLD_DOT_THREE}"/"${NEW_DOT_THREE}"/" \
- -e "s/"${OLD_THREE}"/"${NEW_THREE}"/" \
- "${QDOCCONF}" > "${TMPFILE}"
-mv -f "${TMPFILE}" "${QDOCCONF}"
-
-## Patch qt-html-templates.qdocconf
-TMPFILE=`mktemp versionPatch.XXXXXX`
-QDOCCONF="${SCRIPT_DIR}/doc/qt-html-templates.qdocconf"
-echo "Patching \`${QDOCCONF}'"
-sed \
- -e "s/"${OLD_DOT_THREE}"/"${NEW_DOT_THREE}"/" \
- -e "s/"${OLD_THREE}"/"${NEW_THREE}"/" \
- "${QDOCCONF}" > "${TMPFILE}"
-mv -f "${TMPFILE}" "${QDOCCONF}"
-
-
-## Patch qtcreator.qdoc
-TMPFILE=`mktemp versionPatch.XXXXXX`
-QDOC="${SCRIPT_DIR}/doc/qtcreator.qdoc"
-echo "Patching \`${QDOC}'"
-sed \
- -e 's/'${OLD_DOT_THREE}'/'${NEW_DOT_THREE}'/' \
- "${QDOC}" > "${TMPFILE}"
-mv -f "${TMPFILE}" "${QDOC}"
-
-
-## Patch README
-TMPFILE=`mktemp versionPatch.XXXXXX`
-README="${SCRIPT_DIR}/README"
-echo "Patching \`${README}'"
-sed \
- -e 's/'${OLD_DOT_THREE}'/'${NEW_DOT_THREE}'/' \
- "${README}" > "${TMPFILE}"
-mv -f "${TMPFILE}" "${README}"
-
-
-## Go back to original $PWD
-echo "Leaving directory \`${SCRIPT_DIR}'"
-popd &>/dev/null || exit 1
-exit 0
<key>CFBundleIdentifier</key>
<string>com.nokia.qtcreator</string>
<key>CFBundleVersion</key>
- <string>2.1.81</string>
+ <string>$$QTCREATOR_VERSION</string>
<key>CFBundleShortVersionString</key>
- <string>2.1.81</string>
+ <string>$$QTCREATOR_VERSION</string>
</dict>
</plist>
INSTALLS += target
}
-OTHER_FILES += qtcreator.rc Info.plist
+OTHER_FILES += qtcreator.rc Info.plist.in
+
+QMAKE_SUBSTITUTES = Info.plist.in
-<plugin name="BinEditor" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"BinEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Binary editor component.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Bookmarks" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Bookmarks\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Bookmarks in text editors.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="ClassView" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"ClassView\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Denis Mingulov</copyright>
<license>
<description>Class View component.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="CppTools" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="CMakeProjectManager" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"CMakeProjectManager\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>CMake support</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="CppTools" version="2.1.81"/>
- <dependency name="Designer" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Designer\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Core" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Core\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>The core plugin for the Qt IDE.</description>
<url>http://qt.nokia.com</url>
<argumentList>
- <argument name="-color" parameter="color">Override selected UI color</argument>
+ <argument name=\"-color\" parameter=\"color\">Override selected UI color</argument>
</argumentList>
</plugin>
namespace Core {
namespace Constants {
-#define IDE_VERSION_MAJOR 2
-#define IDE_VERSION_MINOR 1
-#define IDE_VERSION_RELEASE 81
+#include "ide_version.h"
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
include(coreplugin_dependencies.pri)
LIBS *= -l$$qtLibraryName(Core)
+# for ide_version.h
+INCLUDEPATH += $$IDE_BUILD_TREE/src/plugins/coreplugin
+DEPENDPATH += $$IDE_BUILD_TREE/src/plugins/coreplugin
images.path = /share/pixmaps
INSTALLS += images
}
-OTHER_FILES += editormanager/BinFiles.mimetypes.xml
+OTHER_FILES += editormanager/BinFiles.mimetypes.xml ide_version.h.in
+
+QMAKE_SUBSTITUTES += ide_version.h.in
--- /dev/null
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** Commercial Usage
+**
+** Licensees holding valid Qt Commercial licenses may use this file in
+** accordance with the Qt Commercial License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Nokia.
+**
+** GNU Lesser General Public License Usage
+**
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** If you are unsure which license is appropriate for your use, please
+** contact the sales department at http://qt.nokia.com/contact.
+**
+**************************************************************************/
+
+#define IDE_VERSION_MAJOR $$replace(QTCREATOR_VERSION, "^(\\d+)\\.\\d+\\.\\d+(-.*)?$", \\1)
+#define IDE_VERSION_MINOR $$replace(QTCREATOR_VERSION, "^\\d+\\.(\\d+)\\.\\d+(-.*)?$", \\1)
+#define IDE_VERSION_RELEASE $$replace(QTCREATOR_VERSION, "^\\d+\\.\\d+\\.(\\d+)(-.*)?$", \\1)
-<plugin name="CodePaster" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"CodePaster\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Codepaster plugin for pushing/fetching diff from server</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="CppEditor" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"CppEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>C/C++ editor component.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="CppTools" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="CppTools" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"CppTools\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Tools for analyzing C/C++ code.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Locator" version="2.1.81"/>
- <dependency name="Find" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Locator\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Find\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="CVS" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"CVS\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>CVS integration.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="VCSBase" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"VCSBase\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
+++ /dev/null
-<plugin name="Debugger" version="2.1.81" compatVersion="2.1.81">
- <vendor>Nokia Corporation</vendor>
- <copyright>(C) 2010 Nokia Corporation</copyright>
- <license>
-Commercial Usage
-
-Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
-
-GNU Lesser General Public License Usage
-
-Alternatively, this plugin may be used under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. Please review the following information to ensure the GNU Lesser General Public License version 2.1 requirements will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
- </license>
- <category>Qt Creator</category>
- <description>Debugger integration.</description>
- <url>http://qt.nokia.com</url>
- <dependencyList>
- <dependency name="CppEditor" version="2.1.81"/><!-- Debugger plugin adds items to the editor's context menu -->
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="Find" version="2.1.81"/>
- </dependencyList>
- <argumentList>
- <argument name="-disable-cdb">Disable Cdb debugger engine</argument>
- <argument name="-disable-gdb">Disable Gdb debugger engine</argument>
- <argument name="-disable-sdb">Disable Qt Script debugger engine</argument>
- <argument name="-disable-tcf">Disable Tcf debugger engine</argument>
- <argument name="-debug" parameter="pid-or-corefile">Attach to Process-Id or Core file</argument>
- <argument name="-wincrashevent" parameter="event-handle">Event handle used for attaching to crashed processes</argument>
- </argumentList>
-</plugin>
--- /dev/null
+<plugin name=\"Debugger\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
+ <vendor>Nokia Corporation</vendor>
+ <copyright>(C) 2010 Nokia Corporation</copyright>
+ <license>
+Commercial Usage
+
+Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
+
+GNU Lesser General Public License Usage
+
+Alternatively, this plugin may be used under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. Please review the following information to ensure the GNU Lesser General Public License version 2.1 requirements will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+ </license>
+ <category>Qt Creator</category>
+ <description>Debugger integration.</description>
+ <url>http://qt.nokia.com</url>
+ <dependencyList>
+ <dependency name=\"CppEditor\" version=\"$$QTCREATOR_VERSION\"/><!-- Debugger plugin adds items to the editor's context menu -->
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Find\" version=\"$$QTCREATOR_VERSION\"/>
+ </dependencyList>
+ <argumentList>
+ <argument name=\"-disable-cdb\">Disable Cdb debugger engine</argument>
+ <argument name=\"-disable-gdb\">Disable Gdb debugger engine</argument>
+ <argument name=\"-disable-sdb\">Disable Qt Script debugger engine</argument>
+ <argument name=\"-disable-tcf\">Disable Tcf debugger engine</argument>
+ <argument name=\"-debug\" parameter=\"pid-or-corefile\">Attach to Process-Id or Core file</argument>
+ <argument name=\"-wincrashevent\" parameter=\"event-handle\">Event handle used for attaching to crashed processes</argument>
+ </argumentList>
+</plugin>
-<plugin name="Designer" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Designer\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Qt Designer integration.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
<!-- For compiling with CPP support enabled -->
- <dependency name="CppTools" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="FakeVim" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"FakeVim\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>VI-style keyboard navigation.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="CppEditor" version="2.1.81"/><!-- Plugin adds items to the editor's context menu -->
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"CppEditor\" version=\"$$QTCREATOR_VERSION\"/><!-- Plugin adds items to the editor's context menu -->
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Find" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Find\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Provides the find widget and the hooks for find implementations.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="GenericProjectManager" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"GenericProjectManager\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Generic support</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="CppTools" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="ScmGit" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"ScmGit\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Git integration.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="VCSBase" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"VCSBase\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="HelloWorld" version="2.1.81" compatVersion="2.1.81" experimental="true">
+<plugin name=\"HelloWorld\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\" experimental=\"true\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Hello World sample plugin.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Help" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Help\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Help system.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="Find" version="2.1.81"/>
- <dependency name="Locator" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Find\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Locator\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="ImageViewer" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"ImageViewer\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Denis Mingulov</copyright>
<license>
<description>Image Viewer component.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Locator" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Locator\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Provides the Locator widget and the hooks for Locator filter implementations.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Mercurial" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Mercurial\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Brian McGillion</vendor>
<copyright>(C) 2008-2009 Brian McGillion</copyright>
<license>
<description>Mercurial integration.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="VCSBase" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"VCSBase\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Perforce" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Perforce\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Perforce integration.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="VCSBase" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"VCSBase\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="ProjectExplorer" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>ProjectExplorer framework that can be extended with different kind of project types.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="Find" version="2.1.81"/>
- <dependency name="Locator" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Find\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Locator\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
<argumentList>
- <argument name="-customwizard-verbose">Verbose loading of custom wizards</argument>
- <argument name="-lastsession">Restore the last session</argument>
+ <argument name=\"-customwizard-verbose\">Verbose loading of custom wizards</argument>
+ <argument name=\"-lastsession\">Restore the last session</argument>
</argumentList>
</plugin>
-<plugin name="QmlDesigner" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"QmlDesigner\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Visual Designer for QML files.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="QmlJSEditor" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"QmlJSEditor\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="QmlJSEditor" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"QmlJSEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Editor for QML and JavaScript.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="QmlJSInspector" version="2.1.81" compatVersion="2.1.81" experimental="true">
+<plugin name=\"QmlJSInspector\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\" experimental=\"true\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Debugger for QML files</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="QmlProjectManager" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="CppTools" version="2.1.81"/>
- <dependency name="CppEditor" version="2.1.81"/>
- <dependency name="Debugger" version="2.1.81"/>
- <dependency name="QmlJSEditor" version="2.1.81"/>
+ <dependency name=\"QmlProjectManager\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Debugger\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"QmlJSEditor\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="QmlProjectManager" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"QmlProjectManager\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Qt Quick support</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="QmlJSEditor" version="2.1.81"/>
- <dependency name="Debugger" version="2.1.81" />
- <dependency name="Qt4ProjectManager" version="2.1.81" />
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"QmlJSEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Debugger\" version=\"$$QTCREATOR_VERSION\" />
+ <dependency name=\"Qt4ProjectManager\" version=\"$$QTCREATOR_VERSION\" />
</dependencyList>
</plugin>
-<plugin name="Qt4ProjectManager" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Qt4ProjectManager\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Provides project type for Qt 4 pro files and tools.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="CppTools" version="2.1.81"/>
- <dependency name="Designer" version="2.1.81"/>
- <dependency name="Debugger" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Designer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Debugger\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="RegExp" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"RegExp\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Regular Expression test widget.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="ResourceEditor" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"ResourceEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Editor for qrc files.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Subversion" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Subversion\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Subversion integration.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="VCSBase" version="2.1.81"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"VCSBase\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="TaskList" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"TaskList\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Use .tasks-files to populate the build issues view.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="TextEditor" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Text editor framework and the implementation of the basic text editor.</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="Find" version="2.1.81"/>
- <dependency name="Locator" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Find\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"Locator\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="VCSBase" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"VCSBase\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Version Control System Base Plugin</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
- <dependency name="TextEditor" version="2.1.81"/>
- <dependency name="ProjectExplorer" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
+ <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
-<plugin name="Welcome" version="2.1.81" compatVersion="2.1.81">
+<plugin name=\"Welcome\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\">
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<description>Default Welcome Screen Plugin</description>
<url>http://qt.nokia.com</url>
<dependencyList>
- <dependency name="Core" version="2.1.81"/>
+ <dependency name=\"Core\" version=\"$$QTCREATOR_VERSION\"/>
</dependencyList>
</plugin>
error("qtcreatorplugin.pri: You must provide a TARGET")
}
-PLUGINSPECS = $${_PRO_FILE_PWD_}/$${TARGET}.pluginspec
-copy2build.input = PLUGINSPECS
-copy2build.output = $$DESTDIR/${QMAKE_FUNC_FILE_IN_stripSrcDir}
+defineReplace(stripOutDir) {
+ 1 ~= s|^$$re_escape($$OUT_PWD/)||$$i_flag
+ return($$1)
+}
+
+PLUGINSPEC = $$_PRO_FILE_PWD_/$${TARGET}.pluginspec
+PLUGINSPEC_IN = $${PLUGINSPEC}.in
+exists($$PLUGINSPEC_IN) {
+ OTHER_FILES += $$PLUGINSPEC_IN
+ PLUGINSPEC = $$OUT_PWD/$${TARGET}.pluginspec
+ QMAKE_SUBSTITUTES += $${PLUGINSPEC}.in
+ copy2build.output = $$DESTDIR/${QMAKE_FUNC_FILE_IN_stripOutDir}
+} else {
+ # need to support that for external plugins
+ OTHER_FILES += $$PLUGINSPEC
+ copy2build.output = $$DESTDIR/${QMAKE_FUNC_FILE_IN_stripSrcDir}
+}
+copy2build.input = PLUGINSPEC
isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS
copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
copy2build.name = COPY ${QMAKE_FILE_IN}
copy2build.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += copy2build
-OTHER_FILES += $$PLUGINSPECS
-
macx {
!isEmpty(TIGER_COMPAT_MODE) {
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/$${PROVIDER}/