diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2013-07-04 09:56:48 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2013-07-04 09:56:48 +0100 |
commit | b13755a2411dca01e65bb443a399ed130d5dd738 (patch) | |
tree | e9d0b0439122a2db05714ab143053035e65d24ca | |
parent | 9abdb1cfd8e7399cf50fcfc7ae838af8ea795308 (diff) | |
parent | c3eae1e470b219c25d04cf4ad60eff665f11f1b7 (diff) | |
download | qtquick1-b13755a2411dca01e65bb443a399ed130d5dd738.tar.gz |
Merge v5.1.0 releasebaserock/morph
-rw-r--r-- | dist/changes-5.1.0 | 28 | ||||
-rw-r--r-- | src/imports/builtins.qmltypes | 21 | ||||
-rw-r--r-- | src/imports/folderlistmodel/plugins.qmltypes | 8 | ||||
-rw-r--r-- | tools/qml/qml.pro | 7 | ||||
-rw-r--r-- | tools/qmlplugindump/main.cpp | 17 | ||||
-rw-r--r-- | tools/qmlplugindump/qmlplugindump.pro | 9 | ||||
-rw-r--r-- | tools/tools.pro | 7 |
7 files changed, 79 insertions, 18 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0 new file mode 100644 index 00000000..9c46cb7f --- /dev/null +++ b/dist/changes-5.1.0 @@ -0,0 +1,28 @@ +Qt 5.1 introduces many new features and improvements as well as bugfixes +over the 5.0.x series. For more details, refer to the online documentation +included in this distribution. The documentation is also available online: + + http://qt-project.org/doc/qt-5.1 + +The Qt version 5.1 series is binary compatible with the 5.0.x series. +Applications compiled for 5.0 will continue to run with 5.1. + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + + http://bugreports.qt-project.org/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* General * +**************************************************************************** + + - Fix a bug where completed was emitted twice when duration was zero. + - Makes QSmoothedAnimation respect zero duration. + - Add qmlRegisterType method that allows registration of files to types + + - [QTBUG-29584] Move exports conflicting with QtQml into namespace + - [QTBUG-31388] Update all plugins.qmltypes files except webview + - [QTCREATORBUG-9232] Move debugger plugins into separate qml1tooling directory diff --git a/src/imports/builtins.qmltypes b/src/imports/builtins.qmltypes index 0e888ff0..e0afc68b 100644 --- a/src/imports/builtins.qmltypes +++ b/src/imports/builtins.qmltypes @@ -2720,9 +2720,11 @@ Module { "SplashScreen": 15, "Desktop": 17, "SubWindow": 18, + "ForeignWindow": 33, "WindowType_Mask": 255, "MSWindowsFixedSizeDialogHint": 256, "MSWindowsOwnDC": 512, + "BypassWindowManagerHint": 1024, "X11BypassWindowManagerHint": 1024, "FramelessWindowHint": 2048, "WindowTitleHint": 4096, @@ -2761,9 +2763,11 @@ Module { "SplashScreen": 15, "Desktop": 17, "SubWindow": 18, + "ForeignWindow": 33, "WindowType_Mask": 255, "MSWindowsFixedSizeDialogHint": 256, "MSWindowsOwnDC": 512, + "BypassWindowManagerHint": 1024, "X11BypassWindowManagerHint": 1024, "FramelessWindowHint": 2048, "WindowTitleHint": 4096, @@ -2959,7 +2963,8 @@ Module { "AA_X11InitThreads": 10, "AA_SynthesizeTouchForUnhandledMouseEvents": 11, "AA_SynthesizeMouseForUnhandledTouchEvents": 12, - "AA_AttributeCount": 13 + "AA_UseHighDpiPixmaps": 13, + "AA_AttributeCount": 14 } } Enum { @@ -3644,6 +3649,15 @@ Module { } } Enum { + name: "Edge" + values: { + "TopEdge": 1, + "LeftEdge": 2, + "RightEdge": 4, + "BottomEdge": 8 + } + } + Enum { name: "ConnectionType" values: { "AutoConnection": 0, @@ -3770,6 +3784,7 @@ Module { "ImhDate": 128, "ImhTime": 256, "ImhPreferLatin": 512, + "ImhMultiLine": 1024, "ImhDigitsOnly": 65536, "ImhFormattedNumbersOnly": 131072, "ImhUppercaseOnly": 262144, @@ -3795,6 +3810,7 @@ Module { "ImhDate": 128, "ImhTime": 256, "ImhPreferLatin": 512, + "ImhMultiLine": 1024, "ImhDigitsOnly": 65536, "ImhFormattedNumbersOnly": 131072, "ImhUppercaseOnly": 262144, @@ -3864,7 +3880,8 @@ Module { "ItemIsDropEnabled": 8, "ItemIsUserCheckable": 16, "ItemIsEnabled": 32, - "ItemIsTristate": 64 + "ItemIsTristate": 64, + "ItemNeverHasChildren": 128 } } Enum { diff --git a/src/imports/folderlistmodel/plugins.qmltypes b/src/imports/folderlistmodel/plugins.qmltypes index cfe64f0c..5745a829 100644 --- a/src/imports/folderlistmodel/plugins.qmltypes +++ b/src/imports/folderlistmodel/plugins.qmltypes @@ -9,6 +9,14 @@ Module { Component { name: "QAbstractItemModel" prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } Signal { name: "dataChanged" Parameter { name: "topLeft"; type: "QModelIndex" } diff --git a/tools/qml/qml.pro b/tools/qml/qml.pro index 80b1e19a..f9106876 100644 --- a/tools/qml/qml.pro +++ b/tools/qml/qml.pro @@ -1,6 +1,4 @@ -TEMPLATE = app CONFIG += uic declarative_debug declarative -DESTDIR = $$QT.declarative.bins include(qml.pri) @@ -8,9 +6,6 @@ SOURCES += main.cpp DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII -target.path = $$[QT_INSTALL_BINS] -INSTALLS += target - wince* { QT += xml @@ -35,3 +30,5 @@ mac { } else { TARGET=qmlviewer } + +load(qt_app) diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 8d87c750..2b2bb85a 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -314,17 +314,13 @@ public: qSort(exportStrings); qml->writeArrayBinding(QLatin1String("exports"), exportStrings); - // write meta object revisions unless they're all zero + // write meta object revisions QStringList metaObjectRevisions; - bool shouldWriteMetaObjectRevisions = false; foreach (const QString &exportString, exportStrings) { int metaObjectRevision = exports[exportString]->metaObjectRevision(); - if (metaObjectRevision != 0) - shouldWriteMetaObjectRevisions = true; metaObjectRevisions += QString::number(metaObjectRevision); } - if (shouldWriteMetaObjectRevisions) - qml->writeArrayBinding(QLatin1String("exportMetaObjectRevisions"), metaObjectRevisions); + qml->writeArrayBinding(QLatin1String("exportMetaObjectRevisions"), metaObjectRevisions); if (const QMetaObject *attachedType = (*qmlTypes.begin())->attachedPropertiesType()) { // Can happen when a type is registered that returns itself as attachedPropertiesType() @@ -528,7 +524,7 @@ void sigSegvHandler(int) { void printUsage(const QString &appName) { qWarning() << qPrintable(QString( - "Usage: %1 [-v] [-notrelocatable] module.uri version [module/import/path]\n" + "Usage: %1 [-v] [-[non]relocatable] module.uri version [module/import/path]\n" " %1 [-v] -path path/to/qmldir/directory [version]\n" " %1 [-v] -builtins\n" "Example: %1 Qt.labs.particles 1.0 /home/user/dev/qt-install/imports").arg( @@ -579,8 +575,13 @@ int main(int argc, char *argv[]) } if (arg == QLatin1String("--notrelocatable") - || arg == QLatin1String("-notrelocatable")) { + || arg == QLatin1String("-notrelocatable") + || arg == QLatin1String("--nonrelocatable") + || arg == QLatin1String("-nonrelocatable")) { relocatable = false; + } else if (arg == QLatin1String("--relocatable") + || arg == QLatin1String("-relocatable")) { + relocatable = true; } else if (arg == QLatin1String("--path") || arg == QLatin1String("-path")) { action = Path; diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro index ba71223b..cf812859 100644 --- a/tools/qmlplugindump/qmlplugindump.pro +++ b/tools/qmlplugindump/qmlplugindump.pro @@ -11,7 +11,12 @@ SOURCES += \ HEADERS += \ qmlstreamwriter.h -OTHER_FILES += Info.plist -macx: QMAKE_INFO_PLIST = Info.plist +mac { + # Prevent qmlplugindump from popping up in the dock when launched. + # We embed the Info.plist file, so the application doesn't need to + # be a bundle. + QMAKE_LFLAGS += -sectcreate __TEXT __info_plist $$shell_quote($$PWD/Info.plist) + CONFIG -= app_bundle +} load(qt_tool) diff --git a/tools/tools.pro b/tools/tools.pro index 5d3fa37b..f37bead6 100644 --- a/tools/tools.pro +++ b/tools/tools.pro @@ -1,2 +1,7 @@ TEMPLATE = subdirs -!ios: SUBDIRS += qml qmlplugindump +SUBDIRS += qml qmlplugindump + +qtNomakeTools( \ + qml \ + qmlplugindump \ +) |