Merge remote-tracking branch 'origin/2.6'

Conflicts:
	share/share.qbs

Change-Id: I2ab6080a8cc5315191b33c6df21a835df888a291
This commit is contained in:
Eike Ziller
2012-10-18 13:39:47 +02:00
24 changed files with 27 additions and 82 deletions

View File

@@ -121,7 +121,7 @@ Component.prototype.createOperations = function()
"@TargetDir@\\bin\\qtcreator.exe", "@TargetDir@\\bin\\qtcreator.exe",
"@StartMenuDir@/Qt Creator.lnk", "@StartMenuDir@/Qt Creator.lnk",
"workingDirectory=@homeDir@" ); "workingDirectory=@homeDir@" );
component.addElevatedOperation("Execute", "{0,3010}", "@TargetDir@\\lib\\vcredist_msvc2010\\vcredist_x86.exe", "/norestart", "/q"); component.addElevatedOperation("Execute", "{0,3010,1638}", "@TargetDir@\\lib\\vcredist_msvc2010\\vcredist_x86.exe", "/norestart", "/q");
registerWindowsFileTypeExtensions(); registerWindowsFileTypeExtensions();
} }
if ( installer.value("os") == "x11" ) if ( installer.value("os") == "x11" )

View File

@@ -1,11 +1,6 @@
QT += core gui network QT += core gui network declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1 quick1-private core-private widgets-private gui-private script-private
} else {
QT += declarative
}
greaterThan(QT_MAJOR_VERSION, 4): QT += declarative-private core-private widgets-private gui-private script-private
greaterThan(QT_MAJOR_VERSION, 4) { greaterThan(QT_MAJOR_VERSION, 4) {
} else { } else {

View File

@@ -4,11 +4,7 @@
# It is recommended not to modify this file, since newer versions of Qt Creator # It is recommended not to modify this file, since newer versions of Qt Creator
# may offer an updated version of it. # may offer an updated version of it.
equals(QT_MAJOR_VERSION, 5) { QT += declarative
QT += quick1
} else {
QT += declarative
}
SOURCES += $$PWD/qmlapplicationviewer.cpp SOURCES += $$PWD/qmlapplicationviewer.cpp
HEADERS += $$PWD/qmlapplicationviewer.h HEADERS += $$PWD/qmlapplicationviewer.h

View File

@@ -6,10 +6,7 @@ SOURCES += $$PWD/easinggraph.cpp \
HEADERS += $$PWD/easinggraph.h \ HEADERS += $$PWD/easinggraph.h \
$$PWD/easingcontextpane.h $$PWD/easingcontextpane.h
greaterThan(QT_MAJOR_VERSION, 4) { QT += declarative
QT += quick1
} else {
QT += declarative
}
RESOURCES += $$PWD/easingpane.qrc RESOURCES += $$PWD/easingpane.qrc
FORMS += $$PWD/easingcontextpane.ui FORMS += $$PWD/easingcontextpane.ui

View File

@@ -1,9 +1,4 @@
QT += script QT += script declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
QT += declarative
}
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD

View File

@@ -1,10 +1,6 @@
INCLUDEPATH *= $$PWD INCLUDEPATH *= $$PWD
INCLUDEPATH *= $$PWD/easingpane INCLUDEPATH *= $$PWD/easingpane
greaterThan(QT_MAJOR_VERSION, 4) { QT += declarative
QT += quick1
} else {
QT += declarative
}
LIBS *= -l$$qtLibraryName(QmlEditorWidgets) LIBS *= -l$$qtLibraryName(QmlEditorWidgets)

View File

@@ -13,7 +13,7 @@ QtcLibrary {
cpp.optimization: "fast" cpp.optimization: "fast"
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["widgets", "quick1", "script"] } Depends { name: "Qt"; submodules: ["widgets", "declarative", "script"] }
Depends { name: "QmlJS" } Depends { name: "QmlJS" }
Depends { name: "Utils" } Depends { name: "Utils" }

View File

@@ -1,11 +1,6 @@
TEMPLATE = lib TEMPLATE = lib
CONFIG += qt plugin CONFIG += qt plugin
QT += script QT += script declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets quick1
} else {
QT += declarative
}
TARGET = styleplugin TARGET = styleplugin
include(../../../../qtcreator.pri) include(../../../../qtcreator.pri)

View File

@@ -6,7 +6,7 @@ DynamicLibrary {
destination: "lib/qtcreator/qtcomponents/plugin" destination: "lib/qtcreator/qtcomponents/plugin"
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["core", "widgets", "quick1", "script"] } Depends { name: "Qt"; submodules: ["core", "widgets", "declarative", "script"] }
cpp.defines: Defaults.defines(qbs) cpp.defines: Defaults.defines(qbs)

View File

@@ -60,7 +60,7 @@ linux-* {
include(../../qtcreator.pri) include(../../qtcreator.pri)
contains(QT_CONFIG, declarative)|contains(QT_CONFIG, quick1) { contains(QT_CONFIG, declarative) {
SUBDIRS += \ SUBDIRS += \
plugin_qmlprojectmanager \ plugin_qmlprojectmanager \
plugin_qmlprofiler plugin_qmlprofiler
@@ -78,7 +78,7 @@ contains(QT_CONFIG, declarative)|contains(QT_CONFIG, quick1) {
} }
} }
} else { } else {
warning("QmlProjectManager, QmlProfiler and QmlDesigner plugins have been disabled: The plugins require QtDeclarative (Qt 4.x) or QtQuick1 (Qt 5.x)"); warning("QmlProjectManager, QmlProfiler and QmlDesigner plugins have been disabled: The plugins require QtDeclarative");
} }
include (debugger/lldb/guest/qtcreator-lldb.pri) include (debugger/lldb/guest/qtcreator-lldb.pri)

View File

@@ -1,11 +1,6 @@
TEMPLATE = lib TEMPLATE = lib
TARGET = ProjectExplorer TARGET = ProjectExplorer
QT += xml script network QT += xml script network declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
QT += declarative
}
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(projectexplorer_dependencies.pri) include(projectexplorer_dependencies.pri)

View File

@@ -6,7 +6,7 @@ import "../../../qbs/defaults.js" as Defaults
QtcPlugin { QtcPlugin {
name: "ProjectExplorer" name: "ProjectExplorer"
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "quick1"] } Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "declarative"] }
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "Locator" } Depends { name: "Locator" }
Depends { name: "Find" } Depends { name: "Find" }

View File

@@ -15,5 +15,5 @@ OTHER_FILES += \
qml/ItemsView.qml qml/ItemsView.qml
greaterThan(QT_MAJOR_VERSION, 4) { greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1-private core-private script-private QT += declarative-private core-private script-private
} }

View File

@@ -39,11 +39,7 @@ HEADERS += propertyeditor.h \
declarativewidgetview.h \ declarativewidgetview.h \
gradientlineqmladaptor.h gradientlineqmladaptor.h
greaterThan(QT_MAJOR_VERSION, 4) { QT += declarative
QT += quick1
} else {
QT += declarative
}
RESOURCES += propertyeditor.qrc RESOURCES += propertyeditor.qrc
FORMS += behaviordialog.ui FORMS += behaviordialog.ui

View File

@@ -7,7 +7,7 @@ QtcPlugin {
condition: qtcore.versionMajor == 4 condition: qtcore.versionMajor == 4
Depends { id: qtcore; name: "Qt.core" } Depends { id: qtcore; name: "Qt.core" }
Depends { name: "Qt"; submodules: ["widgets", "quick1"] } Depends { name: "Qt"; submodules: ["widgets", "declarative"] }
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "QmlJS" } Depends { name: "QmlJS" }
Depends { name: "QmlEditorWidgets" } Depends { name: "QmlEditorWidgets" }

View File

@@ -3,12 +3,7 @@ TARGET = QmlProfiler
DEFINES += QMLPROFILER_LIBRARY DEFINES += QMLPROFILER_LIBRARY
QT += network script QT += network script declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
QT += declarative
}
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(../../plugins/coreplugin/coreplugin.pri) include(../../plugins/coreplugin/coreplugin.pri)

View File

@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
QtcPlugin { QtcPlugin {
name: "QmlProfiler" name: "QmlProfiler"
Depends { name: "Qt"; submodules: ["widgets", "network", "script", "quick1"] } Depends { name: "Qt"; submodules: ["widgets", "network", "script", "declarative"] }
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "AnalyzerBase" } Depends { name: "AnalyzerBase" }
Depends { name: "QmlProjectManager" } Depends { name: "QmlProjectManager" }

View File

@@ -1,12 +1,7 @@
TEMPLATE = lib TEMPLATE = lib
TARGET = QmlProjectManager TARGET = QmlProjectManager
QT += network QT += network declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
QT += declarative
}
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(qmlprojectmanager_dependencies.pri) include(qmlprojectmanager_dependencies.pri)

View File

@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
QtcPlugin { QtcPlugin {
name: "QmlProjectManager" name: "QmlProjectManager"
Depends { name: "Qt"; submodules: ["widgets", "quick1"] } Depends { name: "Qt"; submodules: ["widgets", "declarative"] }
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "ProjectExplorer" } Depends { name: "ProjectExplorer" }
Depends { name: "TextEditor" } Depends { name: "TextEditor" }

View File

@@ -1,12 +1,7 @@
TEMPLATE = lib TEMPLATE = lib
TARGET = QtSupport TARGET = QtSupport
DEFINES += QT_CREATOR QTSUPPORT_LIBRARY DEFINES += QT_CREATOR QTSUPPORT_LIBRARY
QT += network QT += network declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
QT += declarative
}
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(qtsupport_dependencies.pri) include(qtsupport_dependencies.pri)

View File

@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
QtcPlugin { QtcPlugin {
name: "QtSupport" name: "QtSupport"
Depends { name: "Qt"; submodules: ["widgets", "quick1"] } Depends { name: "Qt"; submodules: ["widgets", "declarative"] }
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "ProjectExplorer" } Depends { name: "ProjectExplorer" }
Depends { name: "TextEditor" } Depends { name: "TextEditor" }

View File

@@ -1,11 +1,6 @@
TEMPLATE = lib TEMPLATE = lib
TARGET = Welcome TARGET = Welcome
QT += network QT += network declarative
greaterThan(QT_MAJOR_VERSION, 4) {
QT += quick1
} else {
QT += declarative
}
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(welcome_dependencies.pri) include(welcome_dependencies.pri)

View File

@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
QtcPlugin { QtcPlugin {
name: "Welcome" name: "Welcome"
Depends { name: "Qt"; submodules: ["widgets", "network", "quick1"] } Depends { name: "Qt"; submodules: ["widgets", "network", "declarative"] }
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "ProjectExplorer" } Depends { name: "ProjectExplorer" }

View File

@@ -4,7 +4,7 @@ include(../../../qtcreator.pri)
include(../../private_headers.pri) include(../../private_headers.pri)
greaterThan(QT_MAJOR_VERSION, 4) { greaterThan(QT_MAJOR_VERSION, 4) {
QT += qtquick1-private core-private QT += declarative-private core-private
SUBDIRS += qmlpuppet SUBDIRS += qmlpuppet
} else { } else {
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) { exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {