diff options
author | Thomas McGuire <thomas.mcguire.qnx@kdab.com> | 2012-08-06 07:36:05 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-31 13:08:29 (GMT) |
commit | 3c4c970962d75a902ff14a1c8b3adb36895c4ffa (patch) | |
tree | 6f6a4060c3e6b9179ac731398f7832427aa28fb1 /tests/auto/declarative/qdeclarativenotifier/qdeclarativenotifier.pro | |
parent | 43669c58027b9e6ba76b6b2ca6059ab3d9e8c0ea (diff) | |
download | Qt-3c4c970962d75a902ff14a1c8b3adb36895c4ffa.zip Qt-3c4c970962d75a902ff14a1c8b3adb36895c4ffa.tar.gz Qt-3c4c970962d75a902ff14a1c8b3adb36895c4ffa.tar.bz2 |
Make connectNotify() work with QML
Call connectNotify() and disconnectNotify() in QML signal
handlers and in QML bindings.
This is a backport of Qt5's QtDeclarative commit
26ea8e01e9ee2a8c8c09266147b94c9ac92d09f9.
Task-number: QTBUG-11284
Change-Id: If5c3701426208875f3b775040c4e7bcbaac2b0a9
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativenotifier/qdeclarativenotifier.pro')
-rw-r--r-- | tests/auto/declarative/qdeclarativenotifier/qdeclarativenotifier.pro | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativenotifier/qdeclarativenotifier.pro b/tests/auto/declarative/qdeclarativenotifier/qdeclarativenotifier.pro new file mode 100644 index 0000000..e7f5b19 --- /dev/null +++ b/tests/auto/declarative/qdeclarativenotifier/qdeclarativenotifier.pro @@ -0,0 +1,12 @@ +load(qttest_p4) +contains(QT_CONFIG,declarative): QT += declarative +SOURCES += tst_qdeclarativenotifier.cpp +macx:CONFIG -= app_bundle + +wince*: { + DEFINES += SRCDIR=\\\".\\\" +} else:!symbian: { + DEFINES += SRCDIR=\\\"$$PWD\\\" +} + +CONFIG += parallel_test |