Merge remote-tracking branch 'origin/5.8' into 5.9
Conflicts: src/qml/qml/qqmlimport.cpp Change-Id: I26f8d18fe8af664ee8573116f182fe12b71e089a
This commit is contained in:
commit
435774ced1
|
@ -1,6 +1,5 @@
|
|||
HEADERS += \
|
||||
$$PWD/qquickangledirection_p.h \
|
||||
$$PWD/qquickcustomparticle_p.h \
|
||||
$$PWD/qquickcustomaffector_p.h \
|
||||
$$PWD/qquickellipseextruder_p.h \
|
||||
$$PWD/qquicktrailemitter_p.h \
|
||||
|
@ -33,7 +32,6 @@ HEADERS += \
|
|||
|
||||
SOURCES += \
|
||||
$$PWD/qquickangledirection.cpp \
|
||||
$$PWD/qquickcustomparticle.cpp \
|
||||
$$PWD/qquickcustomaffector.cpp \
|
||||
$$PWD/qquickellipseextruder.cpp \
|
||||
$$PWD/qquicktrailemitter.cpp \
|
||||
|
@ -63,6 +61,14 @@ SOURCES += \
|
|||
$$PWD/qquickparticlegroup.cpp \
|
||||
$$PWD/qquickgroupgoal.cpp
|
||||
|
||||
qtConfig(quick-shadereffect) {
|
||||
HEADERS += \
|
||||
$$PWD/qquickcustomparticle_p.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/qquickcustomparticle.cpp
|
||||
}
|
||||
|
||||
OTHER_FILES += \
|
||||
$$PWD/shaders/customparticletemplate.vert \
|
||||
$$PWD/shaders/customparticle.vert \
|
||||
|
|
|
@ -37,8 +37,12 @@
|
|||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <private/qtquickglobal_p.h>
|
||||
|
||||
#include "qquickangledirection_p.h"
|
||||
#if QT_CONFIG(quick_shadereffect)
|
||||
#include "qquickcustomparticle_p.h"
|
||||
#endif
|
||||
#include "qquickellipseextruder_p.h"
|
||||
#include "qquicktrailemitter_p.h"
|
||||
#include "qquickfriction_p.h"
|
||||
|
@ -84,7 +88,9 @@ void QQuickParticlesModule::defineModule()
|
|||
qmlRegisterType<QQuickParticleGroup>(uri, 2, 0, "ParticleGroup");
|
||||
|
||||
qmlRegisterType<QQuickImageParticle>(uri, 2, 0, "ImageParticle");
|
||||
#if QT_CONFIG(quick_shadereffect)
|
||||
qmlRegisterType<QQuickCustomParticle>(uri, 2, 0, "CustomParticle");
|
||||
#endif
|
||||
qmlRegisterType<QQuickItemParticle>(uri, 2, 0, "ItemParticle");
|
||||
|
||||
qmlRegisterType<QQuickParticleEmitter>(uri, 2, 0, "Emitter");
|
||||
|
|
|
@ -22,6 +22,19 @@
|
|||
"label": "QML network support",
|
||||
"purpose": "Provides network transparency for QML",
|
||||
"output": [ "publicFeature" ]
|
||||
},
|
||||
"qml-profiler": {
|
||||
"label": "Command line QML Profiler",
|
||||
"purpose": "The QML Profiler retrieves QML tracing data from an application.",
|
||||
"condition": [
|
||||
"features.commandlineparser",
|
||||
"features.localserver",
|
||||
"features.process",
|
||||
"features.qml-debug",
|
||||
"features.qml-network",
|
||||
"features.xmlstreamwriter"
|
||||
],
|
||||
"output": [ "privateFeature" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -791,7 +791,7 @@ void QQmlData::signalEmitted(QAbstractDeclarativeData *, QObject *object, int in
|
|||
// marshalled back onto the QObject's thread and handled by QML from there. This is tested
|
||||
// by the qqmlecmascript::threadSignal() autotest.
|
||||
if (ddata->notifyList &&
|
||||
QThread::currentThreadId() != QObjectPrivate::get(object)->threadData->threadId) {
|
||||
QThread::currentThreadId() != QObjectPrivate::get(object)->threadData->threadId.load()) {
|
||||
|
||||
if (!QObjectPrivate::get(object)->threadData->thread)
|
||||
return;
|
||||
|
|
|
@ -122,8 +122,8 @@ void QQmlNotifierEndpoint::connect(QObject *source, int sourceSignal, QQmlEngine
|
|||
disconnect();
|
||||
|
||||
Q_ASSERT(engine);
|
||||
if (QObjectPrivate::get(source)->threadData->threadId !=
|
||||
QObjectPrivate::get(engine)->threadData->threadId) {
|
||||
if (QObjectPrivate::get(source)->threadData->threadId.load() !=
|
||||
QObjectPrivate::get(engine)->threadData->threadId.load()) {
|
||||
|
||||
QString sourceName;
|
||||
QDebug(&sourceName) << source;
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
"quick-canvas": {
|
||||
"label": "Canvas item",
|
||||
"purpose": "Provides the Qt Quick Canvas Item",
|
||||
"condition": "features.quick-path",
|
||||
"output": [
|
||||
"privateFeature"
|
||||
]
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#include <qsgtextureprovider.h>
|
||||
#include <QtQuick/private/qquickpixmapcache_p.h>
|
||||
#include <QtGui/QGuiApplication>
|
||||
#include <qsgtextureprovider.h>
|
||||
|
||||
#include <qqmlinfo.h>
|
||||
#include <private/qqmlengine_p.h>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
// We mean it.
|
||||
//
|
||||
|
||||
#include "qquickpainteditem.h"
|
||||
#include "qquickitem_p.h"
|
||||
#include "qquickpainteditem.h"
|
||||
#include <QtGui/qcolor.h>
|
||||
|
|
|
@ -70,14 +70,17 @@ qtHaveModule(widgets) {
|
|||
qjsvalue
|
||||
}
|
||||
|
||||
SUBDIRS += $$PUBLICTESTS \
|
||||
qqmlextensionplugin
|
||||
SUBDIRS += $$PUBLICTESTS
|
||||
SUBDIRS += $$METATYPETESTS
|
||||
qtConfig(process) {
|
||||
!contains(QT_CONFIG, no-qml-debug): SUBDIRS += debugger
|
||||
SUBDIRS += qmllint qmlplugindump
|
||||
}
|
||||
|
||||
qtConfig(library) {
|
||||
SUBDIRS += qqmlextensionplugin
|
||||
}
|
||||
|
||||
qtConfig(private_tests): \
|
||||
SUBDIRS += $$PRIVATETESTS
|
||||
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
#include <qtest.h>
|
||||
#include <QLibraryInfo>
|
||||
#include <QDir>
|
||||
#if QT_CONFIG(process)
|
||||
#include <QProcess>
|
||||
#endif
|
||||
#include <QDebug>
|
||||
#include <QQmlError>
|
||||
#include <cstdlib>
|
||||
|
@ -42,7 +44,7 @@ public:
|
|||
|
||||
private slots:
|
||||
void initTestCase();
|
||||
#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
|
||||
#if QT_CONFIG(process) && !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
|
||||
void qmlMinify_data();
|
||||
void qmlMinify();
|
||||
#endif
|
||||
|
@ -166,7 +168,7 @@ Examples are any .qml files under the examples/ directory that start
|
|||
with a lower case letter.
|
||||
*/
|
||||
|
||||
#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
|
||||
#if QT_CONFIG(process) && !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
|
||||
void tst_qmlmin::qmlMinify_data()
|
||||
{
|
||||
QTest::addColumn<QString>("file");
|
||||
|
@ -183,7 +185,7 @@ void tst_qmlmin::qmlMinify_data()
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
|
||||
#if QT_CONFIG(process) && !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
|
||||
void tst_qmlmin::qmlMinify()
|
||||
{
|
||||
QFETCH(QString, file);
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
#include "../../shared/util.h"
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QSignalSpy>
|
||||
#if QT_CONFIG(process)
|
||||
#include <QProcess>
|
||||
#endif
|
||||
#include <QDebug>
|
||||
|
||||
class tst_qqmlapplicationengine : public QQmlDataTest
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include <qtest.h>
|
||||
#include <QLibraryInfo>
|
||||
#include <QDir>
|
||||
#include <QProcess>
|
||||
#include <QDebug>
|
||||
#include <QtQuick/QQuickItem>
|
||||
#include <QtQuick/QQuickView>
|
||||
|
|
|
@ -10,7 +10,7 @@ SUBDIRS += \
|
|||
qml \
|
||||
qmllint
|
||||
|
||||
qtConfig(qml-network):!contains(QT_CONFIG, no-qml-debug): SUBDIRS += qmlprofiler
|
||||
qtConfig(qml-profiler): SUBDIRS += qmlprofiler
|
||||
|
||||
qtHaveModule(quick) {
|
||||
!static: {
|
||||
|
@ -18,7 +18,7 @@ SUBDIRS += \
|
|||
qmlscene \
|
||||
qmltime
|
||||
|
||||
qtConfig(regularexpression) {
|
||||
qtConfig(regularexpression):qtConfig(process) {
|
||||
SUBDIRS += \
|
||||
qmlplugindump
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue