Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.4.0 Beta3
-
-
124909f99c (qt/qtdeclarative/dev) 124909f99c (qt/tqtc-qtdeclarative/dev) 6c4cf6f30e (qt/qtdeclarative/6.4) 6c4cf6f30e (qt/tqtc-qtdeclarative/6.4)
Description
Install Qt6.4.0 beta3 snapshot wasm binaries on linux, configure example quickcontrols2/texteditor:
/home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/bin/qt-cmake -S /home/johanna/RTA/Qt_6.4.0/Examples/Qt-6.4.0/quickcontrols2/texteditor -B /home/johanna/RTA/Qt_6.4.0/Examples/Qt-6.4.0/quickcontrols2/texteditor/bld_wasm_32
-> finishes fine, compile in /home/johanna/RTA/Qt_6.4.0/Examples/Qt-6.4.0/quickcontrols2/texteditor/bld_wasm_32 with 'cmake --build .', fails:
[ 57%] Building CXX object CMakeFiles/texteditor.dir/documenthandler.cpp.o /home/johanna/RTA/Qt_6.4.0/Examples/Qt-6.4.0/quickcontrols2/texteditor/documenthandler.cpp:152:41: warning: 'get' is deprecated [-Wdeprecated-declarations] const QUrl path = QQmlFileSelector::get(engine)->selector()->select(fileUrl); ^ /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/include/QtQml/qqmlfileselector.h:28:5: note: 'get' has been explicitly marked deprecated here QT_DEPRECATED static QQmlFileSelector *get(QQmlEngine*); ^ /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/include/QtCore/qglobal.h:274:25: note: expanded from macro 'QT_DEPRECATED' # define QT_DEPRECATED Q_DECL_DEPRECATED ^ /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/include/QtCore/qcompilerdetection.h:938:31: note: expanded from macro 'Q_DECL_DEPRECATED' # define Q_DECL_DEPRECATED [[deprecated]] ^ 1 warning generated. [ 71%] Building CXX object CMakeFiles/texteditor.dir/texteditor.cpp.o [ 85%] Building CXX object CMakeFiles/texteditor.dir/bld_wasm_32/.rcc/qrc_texteditor.cpp.o [100%] Linking CXX executable texteditor.js wasm-ld: error: duplicate symbol: QPlatformDialogHelperForeign::staticMetaObject >>> defined in /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/./qml/Qt/labs/platform/libqtlabsplatformplugin.a(qquicklabsplatformdialog.cpp.o) >>> defined in /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/lib/libQt6QuickDialogs2.a(qtquickdialogs2foreign.cpp.o)wasm-ld: error: duplicate symbol: lcTextInput() >>> defined in /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/lib/libQt6QuickDialogs2QuickImpl.a(qquickfolderbreadcrumbbar.cpp.o) >>> defined in /home/johanna/RTA/Qt_6.4.0/6.4.0/wasm_32/lib/libQt6Quick.a(qquicktextinput.cpp.o) em++: error: '/home/johanna/git/emsdk/upstream/bin/wasm-ld @/tmp/emscripten_20magdlm.rsp.utf-8' failed (returned 1) make[2]: *** [CMakeFiles/texteditor.dir/build.make:335: texteditor.js] Error 1 make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/texteditor.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
If example is compiled with gcc, it has same warnings about the deprecated
static QQmlFileSelector* QQmlFileSelector::get(QQmlEngine*)
but the example compiles and runs fine.
Attachments
Issue Links
- relates to
-
QTBUG-105682 [REG 6.4.0 beta1 -> beta3] quick3d/principledmaterial not compiling on iOS
- Closed
For Gerrit Dashboard: QTBUG-105601 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
427962,2 | Fix duplicate symbol QPlatformDialogHelperForeign | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
428055,2 | Fix duplicate symbol QPlatformDialogHelperForeign | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |