Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
9532d4a3
Commit
9532d4a3
authored
Nov 01, 2010
by
Oswald Buddenhagen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dynamically replace creator version during build
... instead of running a sed script over a lot of files on each version increment.
parent
e160f071
Changes
47
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
241 additions
and
291 deletions
+241
-291
README
README
+2
-2
doc/doc.pri
doc/doc.pri
+6
-2
doc/qtcreator.qdoc
doc/qtcreator.qdoc
+1
-1
doc/qtcreator.qdocconf
doc/qtcreator.qdocconf
+6
-4
qtcreator.pri
qtcreator.pri
+2
-0
scripts/replaceVersion.sh
scripts/replaceVersion.sh
+0
-138
src/app/Info.plist.in
src/app/Info.plist.in
+2
-2
src/app/app.pro
src/app/app.pro
+3
-1
src/plugins/bineditor/BinEditor.pluginspec.in
src/plugins/bineditor/BinEditor.pluginspec.in
+3
-3
src/plugins/bookmarks/Bookmarks.pluginspec.in
src/plugins/bookmarks/Bookmarks.pluginspec.in
+4
-4
src/plugins/classview/ClassView.pluginspec.in
src/plugins/classview/ClassView.pluginspec.in
+5
-5
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in
...ins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in
+5
-5
src/plugins/coreplugin/Core.pluginspec.in
src/plugins/coreplugin/Core.pluginspec.in
+2
-2
src/plugins/coreplugin/coreconstants.h
src/plugins/coreplugin/coreconstants.h
+1
-3
src/plugins/coreplugin/coreplugin.pri
src/plugins/coreplugin/coreplugin.pri
+3
-0
src/plugins/coreplugin/coreplugin.pro
src/plugins/coreplugin/coreplugin.pro
+3
-1
src/plugins/coreplugin/ide_version.h.in
src/plugins/coreplugin/ide_version.h.in
+32
-0
src/plugins/cpaster/CodePaster.pluginspec.in
src/plugins/cpaster/CodePaster.pluginspec.in
+3
-3
src/plugins/cppeditor/CppEditor.pluginspec.in
src/plugins/cppeditor/CppEditor.pluginspec.in
+4
-4
src/plugins/cpptools/CppTools.pluginspec.in
src/plugins/cpptools/CppTools.pluginspec.in
+5
-5
src/plugins/cvs/CVS.pluginspec.in
src/plugins/cvs/CVS.pluginspec.in
+5
-5
src/plugins/debugger/Debugger.pluginspec.in
src/plugins/debugger/Debugger.pluginspec.in
+30
-0
src/plugins/designer/Designer.pluginspec.in
src/plugins/designer/Designer.pluginspec.in
+4
-4
src/plugins/fakevim/FakeVim.pluginspec.in
src/plugins/fakevim/FakeVim.pluginspec.in
+5
-5
src/plugins/find/Find.pluginspec.in
src/plugins/find/Find.pluginspec.in
+2
-2
src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in
...genericprojectmanager/GenericProjectManager.pluginspec.in
+4
-4
src/plugins/git/ScmGit.pluginspec.in
src/plugins/git/ScmGit.pluginspec.in
+5
-5
src/plugins/helloworld/HelloWorld.pluginspec.in
src/plugins/helloworld/HelloWorld.pluginspec.in
+2
-2
src/plugins/help/Help.pluginspec.in
src/plugins/help/Help.pluginspec.in
+4
-4
src/plugins/imageviewer/ImageViewer.pluginspec.in
src/plugins/imageviewer/ImageViewer.pluginspec.in
+2
-2
src/plugins/locator/Locator.pluginspec.in
src/plugins/locator/Locator.pluginspec.in
+2
-2
src/plugins/mercurial/Mercurial.pluginspec.in
src/plugins/mercurial/Mercurial.pluginspec.in
+5
-5
src/plugins/perforce/Perforce.pluginspec.in
src/plugins/perforce/Perforce.pluginspec.in
+5
-5
src/plugins/projectexplorer/ProjectExplorer.pluginspec.in
src/plugins/projectexplorer/ProjectExplorer.pluginspec.in
+7
-7
src/plugins/qmldesigner/QmlDesigner.pluginspec.in
src/plugins/qmldesigner/QmlDesigner.pluginspec.in
+4
-4
src/plugins/qmljseditor/QmlJSEditor.pluginspec.in
src/plugins/qmljseditor/QmlJSEditor.pluginspec.in
+4
-4
src/plugins/qmljsinspector/QmlJSInspector.pluginspec.in
src/plugins/qmljsinspector/QmlJSInspector.pluginspec.in
+7
-7
src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in
...plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in
+6
-6
src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec.in
...plugins/qt4projectmanager/Qt4ProjectManager.pluginspec.in
+6
-6
src/plugins/regexp/RegExp.pluginspec.in
src/plugins/regexp/RegExp.pluginspec.in
+2
-2
src/plugins/resourceeditor/ResourceEditor.pluginspec.in
src/plugins/resourceeditor/ResourceEditor.pluginspec.in
+2
-2
src/plugins/subversion/Subversion.pluginspec.in
src/plugins/subversion/Subversion.pluginspec.in
+5
-5
src/plugins/tasklist/TaskList.pluginspec.in
src/plugins/tasklist/TaskList.pluginspec.in
+3
-3
src/plugins/texteditor/TextEditor.pluginspec.in
src/plugins/texteditor/TextEditor.pluginspec.in
+4
-4
src/plugins/vcsbase/VCSBase.pluginspec.in
src/plugins/vcsbase/VCSBase.pluginspec.in
+4
-4
src/plugins/welcome/Welcome.pluginspec.in
src/plugins/welcome/Welcome.pluginspec.in
+2
-2
src/qtcreatorplugin.pri
src/qtcreatorplugin.pri
+18
-5
No files found.
README
View file @
9532d4a3
Qt Creator
2.1.81
Qt Creator
==========
=====
==========
Qt Creator is a crossplatform C++ IDE for development with the Qt framework.
Qt Creator is a crossplatform C++ IDE for development with the Qt framework.
Supported Platforms
Supported Platforms
...
...
doc/doc.pri
View file @
9532d4a3
QDOC_BIN = $$targetPath($$[QT_INSTALL_BINS]/qdoc3)
QDOC_BIN = $$targetPath($$[QT_INSTALL_BINS]/qdoc3)
HELPGENERATOR = $$targetPath($$[QT_INSTALL_BINS]/qhelpgenerator)
HELPGENERATOR = $$targetPath($$[QT_INSTALL_BINS]/qhelpgenerator)
VERSION_TAG = $$replace(QTCREATOR_VERSION, "[-.]", )
equals(QMAKE_DIR_SEP, /) { # unix, mingw+msys
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
} else:win32-g++* { # just mingw
# The lack of spaces in front of the && is necessary!
# 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
} else { # nmake
QDOC = set SRCDIR=$$PWD $$escape_expand(\\n\\t) \
QDOC = set SRCDIR=$$PWD $$escape_expand(\\n\\t) \
set OUTDIR=$$OUT_PWD/doc/html $$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
$$QDOC_BIN
}
}
...
...
doc/qtcreator.qdoc
View file @
9532d4a3
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
\
title
Qt
Creator
Manual
\
title
Qt
Creator
Manual
\
section1
Version
2.1.81
\
section1
Version
\
qtcversion
Qt
Creator
provides
a
cross
-
platform
,
complete
integrated
development
Qt
Creator
provides
a
cross
-
platform
,
complete
integrated
development
environment
(
IDE
)
for
application
developers
to
create
applications
for
environment
(
IDE
)
for
application
developers
to
create
applications
for
...
...
doc/qtcreator.qdocconf
View file @
9532d4a3
...
@@ -20,12 +20,12 @@ sources.fileextensions = "qtcreator.qdoc maemodev.qdoc symbiandev.qdoc addressb
...
@@ -20,12 +20,12 @@ sources.fileextensions = "qtcreator.qdoc maemodev.qdoc symbiandev.qdoc addressb
qhp.projects = QtCreator
qhp.projects = QtCreator
qhp.QtCreator.file = qtcreator.qhp
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.virtualFolder = doc
qhp.QtCreator.indexTitle = Qt Creator
qhp.QtCreator.indexTitle = Qt Creator
qhp.QtCreator.filterAttributes = qtcreator
2.1.81
qhp.QtCreator.filterAttributes = qtcreator
$QTC_VERSION
qhp.QtCreator.customFilters.QtCreator.name = Qt Creator
2.1.81
qhp.QtCreator.customFilters.QtCreator.name = Qt Creator
$QTC_VERSION
qhp.QtCreator.customFilters.QtCreator.filterAttributes = qtcreator
2.1.81
qhp.QtCreator.customFilters.QtCreator.filterAttributes = qtcreator
$QTC_VERSION
qhp.QtCreator.indexRoot =
qhp.QtCreator.indexRoot =
qhp.QtCreator.extraFiles = style/style.css \
qhp.QtCreator.extraFiles = style/style.css \
style/style_ie6.css \
style/style_ie6.css \
...
@@ -66,6 +66,8 @@ qhp.QtCreator.subprojects.manual.type = manual
...
@@ -66,6 +66,8 @@ qhp.QtCreator.subprojects.manual.type = manual
# macros.qdocconf
# macros.qdocconf
macro.qtcversion = $QTC_VERSION
macro.aring.HTML = "å"
macro.aring.HTML = "å"
macro.Auml.HTML = "Ä"
macro.Auml.HTML = "Ä"
macro.author = "\\bold{Author:}"
macro.author = "\\bold{Author:}"
...
...
qtcreator.pri
View file @
9532d4a3
!isEmpty(QTCREATOR_PRI_INCLUDED):error("qtcreator.pri already included")
!isEmpty(QTCREATOR_PRI_INCLUDED):error("qtcreator.pri already included")
QTCREATOR_PRI_INCLUDED = 1
QTCREATOR_PRI_INCLUDED = 1
QTCREATOR_VERSION = 2.1.81
defineReplace(cleanPath) {
defineReplace(cleanPath) {
win32:1 ~= s|\\\\|/|g
win32:1 ~= s|\\\\|/|g
contains(1, ^/.*):pfx = /
contains(1, ^/.*):pfx = /
...
...
scripts/replaceVersion.sh
deleted
100755 → 0
View file @
e160f071
#! /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
src/app/Info.plist
→
src/app/Info.plist
.in
View file @
9532d4a3
...
@@ -212,8 +212,8 @@
...
@@ -212,8 +212,8 @@
<key>
CFBundleIdentifier
</key>
<key>
CFBundleIdentifier
</key>
<string>
com.nokia.qtcreator
</string>
<string>
com.nokia.qtcreator
</string>
<key>
CFBundleVersion
</key>
<key>
CFBundleVersion
</key>
<string>
2.1.81
</string>
<string>
$$QTCREATOR_VERSION
</string>
<key>
CFBundleShortVersionString
</key>
<key>
CFBundleShortVersionString
</key>
<string>
2.1.81
</string>
<string>
$$QTCREATOR_VERSION
</string>
</dict>
</dict>
</plist>
</plist>
src/app/app.pro
View file @
9532d4a3
...
@@ -31,4 +31,6 @@ win32 {
...
@@ -31,4 +31,6 @@ win32 {
INSTALLS
+=
target
INSTALLS
+=
target
}
}
OTHER_FILES
+=
qtcreator
.
rc
Info
.
plist
OTHER_FILES
+=
qtcreator
.
rc
Info
.
plist
.
in
QMAKE_SUBSTITUTES
=
Info
.
plist
.
in
src/plugins/bineditor/BinEditor.pluginspec
→
src/plugins/bineditor/BinEditor.pluginspec
.in
View file @
9532d4a3
<plugin name=
"BinEditor" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"BinEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,7 +14,7 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,7 +14,7 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Binary editor component.</description>
<description>Binary editor component.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/bookmarks/Bookmarks.pluginspec
→
src/plugins/bookmarks/Bookmarks.pluginspec
.in
View file @
9532d4a3
<plugin name=
"Bookmarks" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"Bookmarks\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,8 +14,8 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,8 +14,8 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Bookmarks in text editors.</description>
<description>Bookmarks in text editors.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"ProjectExplorer" version="2.1.81
"/>
<dependency name=
\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/classview/ClassView.pluginspec
→
src/plugins/classview/ClassView.pluginspec
.in
View file @
9532d4a3
<plugin name=
"ClassView" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"ClassView\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Denis Mingulov</copyright>
<copyright>(C) 2010 Denis Mingulov</copyright>
<license>
<license>
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Class View component.</description>
<description>Class View component.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"CppTools" version="2.1.81
"/>
<dependency name=
\"CppTools\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"ProjectExplorer" version="2.1.81
"/>
<dependency name=
\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
→
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
.in
View file @
9532d4a3
<plugin name=
"CMakeProjectManager" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"CMakeProjectManager\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>CMake support</description>
<description>CMake support</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"ProjectExplorer" version="2.1.81
"/>
<dependency name=
\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"CppTools" version="2.1.81
"/>
<dependency name=
\"CppTools\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Designer" version="2.1.81
"/>
<dependency name=
\"Designer\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/coreplugin/Core.pluginspec
→
src/plugins/coreplugin/Core.pluginspec
.in
View file @
9532d4a3
<plugin name=
"Core" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"Core\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,6 +14,6 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,6 +14,6 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>The core plugin for the Qt IDE.</description>
<description>The core plugin for the Qt IDE.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<argumentList>
<argumentList>
<argument name=
"-color" parameter="color
">Override selected UI color</argument>
<argument name=
\"-color\" parameter=\"color\
">Override selected UI color</argument>
</argumentList>
</argumentList>
</plugin>
</plugin>
src/plugins/coreplugin/coreconstants.h
View file @
9532d4a3
...
@@ -35,9 +35,7 @@
...
@@ -35,9 +35,7 @@
namespace
Core
{
namespace
Core
{
namespace
Constants
{
namespace
Constants
{
#define IDE_VERSION_MAJOR 2
#include "ide_version.h"
#define IDE_VERSION_MINOR 1
#define IDE_VERSION_RELEASE 81
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
...
...
src/plugins/coreplugin/coreplugin.pri
View file @
9532d4a3
include(coreplugin_dependencies.pri)
include(coreplugin_dependencies.pri)
LIBS *= -l$$qtLibraryName(Core)
LIBS *= -l$$qtLibraryName(Core)
# for ide_version.h
INCLUDEPATH += $$IDE_BUILD_TREE/src/plugins/coreplugin
DEPENDPATH += $$IDE_BUILD_TREE/src/plugins/coreplugin
src/plugins/coreplugin/coreplugin.pro
View file @
9532d4a3
...
@@ -248,4 +248,6 @@ else:unix {
...
@@ -248,4 +248,6 @@ else:unix {
images
.
path
=
/
share
/
pixmaps
images
.
path
=
/
share
/
pixmaps
INSTALLS
+=
images
INSTALLS
+=
images
}
}
OTHER_FILES
+=
editormanager
/
BinFiles
.
mimetypes
.
xml
OTHER_FILES
+=
editormanager
/
BinFiles
.
mimetypes
.
xml
ide_version
.
h
.
in
QMAKE_SUBSTITUTES
+=
ide_version
.
h
.
in
src/plugins/coreplugin/ide_version.h.in
0 → 100644
View file @
9532d4a3
/**************************************************************************
**
** 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)
src/plugins/cpaster/CodePaster.pluginspec
→
src/plugins/cpaster/CodePaster.pluginspec
.in
View file @
9532d4a3
<plugin name=
"CodePaster" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"CodePaster\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -13,7 +13,7 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -13,7 +13,7 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Codepaster plugin for pushing/fetching diff from server</description>
<description>Codepaster plugin for pushing/fetching diff from server</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/cppeditor/CppEditor.pluginspec
→
src/plugins/cppeditor/CppEditor.pluginspec
.in
View file @
9532d4a3
<plugin name=
"CppEditor" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"CppEditor\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,8 +14,8 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,8 +14,8 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>C/C++ editor component.</description>
<description>C/C++ editor component.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"CppTools" version="2.1.81
"/>
<dependency name=
\"CppTools\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/cpptools/CppTools.pluginspec
→
src/plugins/cpptools/CppTools.pluginspec
.in
View file @
9532d4a3
<plugin name=
"CppTools" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"CppTools\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Tools for analyzing C/C++ code.</description>
<description>Tools for analyzing C/C++ code.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"ProjectExplorer" version="2.1.81
"/>
<dependency name=
\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Locator" version="2.1.81
"/>
<dependency name=
\"Locator\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Find" version="2.1.81
"/>
<dependency name=
\"Find\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/cvs/CVS.pluginspec
→
src/plugins/cvs/CVS.pluginspec
.in
View file @
9532d4a3
<plugin name=
"CVS" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"CVS\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>CVS integration.</description>
<description>CVS integration.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"ProjectExplorer" version="2.1.81
"/>
<dependency name=
\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"VCSBase" version="2.1.81
"/>
<dependency name=
\"VCSBase\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/debugger/Debugger.pluginspec
→
src/plugins/debugger/Debugger.pluginspec
.in
View file @
9532d4a3
<plugin name=
"Debugger" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"Debugger\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,17 +14,17 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,17 +14,17 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Debugger integration.</description>
<description>Debugger integration.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"CppEditor" version="2.1.81
"/><!-- Debugger plugin adds items to the editor's context menu -->
<dependency name=
\"CppEditor\" version=\"$$QTCREATOR_VERSION\
"/><!-- Debugger plugin adds items to the editor's context menu -->
<dependency name=
"ProjectExplorer" version="2.1.81
"/>
<dependency name=
\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"Find" version="2.1.81
"/>
<dependency name=
\"Find\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
<argumentList>
<argumentList>
<argument name=
"-disable-cdb
">Disable Cdb debugger engine</argument>
<argument name=
\"-disable-cdb\
">Disable Cdb debugger engine</argument>
<argument name=
"-disable-gdb
">Disable Gdb 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-sdb\
">Disable Qt Script debugger engine</argument>
<argument name=
"-disable-tcf
">Disable Tcf 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=
\"-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>
<argument name=
\"-wincrashevent\" parameter=\"event-handle\
">Event handle used for attaching to crashed processes</argument>
</argumentList>
</argumentList>
</plugin>
</plugin>
src/plugins/designer/Designer.pluginspec
→
src/plugins/designer/Designer.pluginspec
.in
View file @
9532d4a3
<plugin name=
"Designer" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"Designer\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -14,9 +14,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>Qt Designer integration.</description>
<description>Qt Designer integration.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"Core" version="2.1.81
"/>
<dependency name=
\"Core\" version=\"$$QTCREATOR_VERSION\
"/>
<!-- For compiling with CPP support enabled -->
<!-- For compiling with CPP support enabled -->
<dependency name=
"CppTools" version="2.1.81
"/>
<dependency name=
\"CppTools\" version=\"$$QTCREATOR_VERSION\
"/>
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" version=\"$$QTCREATOR_VERSION\
"/>
</dependencyList>
</dependencyList>
</plugin>
</plugin>
src/plugins/fakevim/FakeVim.pluginspec
→
src/plugins/fakevim/FakeVim.pluginspec
.in
View file @
9532d4a3
<plugin name=
"FakeVim" version="2.1.81" compatVersion="2.1.81
">
<plugin name=
\"FakeVim\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\
">
<vendor>Nokia Corporation</vendor>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
<license>
...
@@ -13,9 +13,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
...
@@ -13,9 +13,9 @@ Alternatively, this plugin may be used under the terms of the GNU Lesser General
<description>VI-style keyboard navigation.</description>
<description>VI-style keyboard navigation.</description>
<url>http://qt.nokia.com</url>
<url>http://qt.nokia.com</url>
<dependencyList>
<dependencyList>
<dependency name=
"CppEditor" version="2.1.81
"/><!-- Plugin adds items to the editor's context menu -->
<dependency name=
\"CppEditor\" version=\"$$QTCREATOR_VERSION\
"/><!-- Plugin adds items to the editor's context menu -->
<dependency name=
"TextEditor" version="2.1.81
"/>
<dependency name=
\"TextEditor\" versio