Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.2.1
Description
Install Qt6.2.1 Wasm binaries, configure example quickcontrols2/texteditor
/home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/bin/qt-cmake --trace-expand -S /home/qt/RTA/Qt_6.2.1/Examples/Qt-6.2.1/quickcontrols2/texteditor -B /home/qt/RTA/Qt_6.2.1/Examples/Qt-6.2.1/quickcontrols2/texteditor/bld_wasm_32
No errors found, compile with cmake --build . in bld_wasm_32. Fails with:
wasm-ld: error: duplicate symbol: QQuickPlatformFileDialog::QQuickPlatformFileDialog(QObject*) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/./qml/Qt/labs/platform/libqtlabsplatformplugin.a(qquickplatformfiledialog.cpp.o) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/lib/libQt6QuickDialogs2QuickImpl.a(qquickplatformfiledialog.cpp.o)wasm-ld: error: duplicate symbol: QQuickPlatformFileDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/./qml/Qt/labs/platform/libqtlabsplatformplugin.a(mocs_compilation.cpp.o) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/lib/libQt6QuickDialogs2QuickImpl.a(mocs_compilation.cpp.o)wasm-ld: error: duplicate symbol: QQuickPlatformFileDialog::metaObject() const >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/./qml/Qt/labs/platform/libqtlabsplatformplugin.a(mocs_compilation.cpp.o) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/lib/libQt6QuickDialogs2QuickImpl.a(mocs_compilation.cpp.o)wasm-ld: error: duplicate symbol: QQuickPlatformFileDialog::staticMetaObject >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/./qml/Qt/labs/platform/libqtlabsplatformplugin.a(mocs_compilation.cpp.o) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/lib/libQt6QuickDialogs2QuickImpl.a(mocs_compilation.cpp.o)wasm-ld: error: duplicate symbol: QQuickPlatformFileDialog::qt_metacast(char const*) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/./qml/Qt/labs/platform/libqtlabsplatformplugin.a(mocs_compilation.cpp.o) >>> defined in /home/qt/RTA/Qt_6.2.1/6.2.1/wasm_32/lib/libQt6QuickDialogs2QuickImpl.a(mocs_compilation.cpp.o)
Full log attached.
Attachments
Issue Links
- duplicates
-
QTBUG-97465 [REG 6.2.0->6.2.1] quickcontrols2/texteditor not compiling on Wasm
- Closed