diff options
author | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2020-08-18 17:32:15 +0200 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2020-08-20 14:58:18 +0200 |
commit | 2879ab208f07d2fa01ea5c8b5de1ab8c182cb2da (patch) | |
tree | b4f87fc9c41a3654802348769c5826b0d7a23605 /tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp | |
parent | ad0fd44600e689da9b04680a5905b5a81cc53641 (diff) |
tst_qjsengine: Fix comparison related failures
The new QMetaType/QVariant comparison is strict, so that several
comparisons now fail. so we try to convert before comparing.
Remaining ugliness:
QString -> QChar conversion not provided, so change input to string
QVariant(static_cast<QObject *>(x)) != QVariant(x) if x is a subclass
of QObject.
Change-Id: Ie0b7ba40d36a5e935976d1947d95295c48cd0c23
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp')
0 files changed, 0 insertions, 0 deletions