Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.13
-
-
33476a8cee84c1ee772350844228331dbfb005c3 (qt/qtdeclarative/dev)
Description
tst_qjsengine.cpp fails to compile with the following warnings/error:
tst_qjsengine.cpp:4325:46: warning: 'engine' is deprecated [-Wdeprecated-declarations] QCOMPARE(qjsEngine(&object), wrapper.engine()); ^ /home/qt/work/install/include/QtQml/qjsvalue.h:153:5: note: 'engine' has been explicitly marked deprecated here QT_DEPRECATED QJSEngine *engine() const; ^ /home/qt/work/install/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED' # define QT_DEPRECATED Q_DECL_DEPRECATED ^ /home/qt/work/install/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED' # define Q_DECL_DEPRECATED __attribute__ ((__deprecated__)) ^ tst_qjsengine.cpp:4902:77: warning: lambda capture 'jitThreshold' is not used [-Wunused-lambda-capture] QScopedPointer<QThread> worker(QThread::create([&engineInThread, &code, jitThreshold](){ ~~^~~~~~~~~~~~ tst_qjsengine.cpp:4902:45: error: no member named 'create' in 'QThread' QScopedPointer<QThread> worker(QThread::create([&engineInThread, &code, jitThreshold](){ ~~~~~~~~~^ 2 warnings and 1 error generated. make[3]: *** [.obj/tst_qjsengine.o] Error 1 make[3]: Leaving directory `/home/qt/work/qt/qtdeclarative/tests/auto/qml/qjsengine' make[2]: *** [sub-qjsengine-make_first] Error 2 make[2]: *** Waiting for unfinished jobs....
Attachments
Issue Links
- is required for
-
QTBUG-73512 Fix qtdeclarative tests for android
- Closed
For Gerrit Dashboard: QTBUG-76235 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
264251,2 | Skip tst_qjsengine test 'interrupt' if c++11_futures feature unavailable | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |