Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0 Beta2
-
None
Description
When I try building a simple qtquick app with QtVurtualKeyboard enabled, the build fails with the error:
(it cannot find the QtQuick::VirtualKeyboard::StylesBuiltinPlugin
error: undefined symbol: _Z61qt_static_plugin_QtQuick_VirtualKeyboard_Styles_BuiltinPluginv (referenced by top-level compiled C/C++ code)
Fails the same using both cmake and qmake.
[full error]
FAILED: appwasm-vkbd-cmake.js : && /Users/lpotter/emsdk/upstream/emscripten/em++ -g -s EXPORTED_RUNTIME_METHODS=UTF16ToString,stringToUTF16 -s INITIAL_MEMORY=50MB -s ERROR_ON_UNDEFINED_SYMBOLS=1 -s MAX_WEBGL_VERSION=2 -s FETCH=1 -s WASM_BIGINT=1 -s MODULARIZE=1 -s EXPORT_NAME=createQtAppInstance -s DISABLE_EXCEPTION_CATCHING=1 -s ALLOW_MEMORY_GROWTH=1 -s DEMANGLE_SUPPORT=1 -s GL_DEBUG=1 --profiling-funcs /Users/lpotter/development/builds/qt6/qtbase/src/plugins/tls/certonly/CMakeFiles/QTlsBackendCertOnlyPlugin_init.dir/QTlsBackendCertOnlyPlugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin_init.dir/QGifPlugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/plugins/imageformats/ico/CMakeFiles/QICOPlugin_init.dir/QICOPlugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/plugins/imageformats/jpeg/CMakeFiles/QJpegPlugin_init.dir/QJpegPlugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtsvg/src/plugins/iconengines/svgiconengine/CMakeFiles/QSvgIconPlugin_init.dir/QSvgIconPlugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtsvg/src/plugins/imageformats/svg/CMakeFiles/QSvgPlugin_init.dir/QSvgPlugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/plugins/platforms/wasm/CMakeFiles/QWasmIntegrationPlugin_init.dir/QWasmIntegrationPlugin_init.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/appwasm-vkbd-cmake_autogen/mocs_compilation.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/main.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/appwasm-vkbd-cmake_qmltyperegistrations.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/.rcc/qrc_qmake_wasm-vkbd-cmake.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/.rcc/qmlcache/appwasm-vkbd-cmake_qmlcache_loader.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/.rcc/qmlcache/appwasm-vkbd-cmake_main_qml.cpp.o CMakeFiles/appwasm-vkbd-cmake.dir/.rcc/qrc_appwasm-vkbd-cmake_raw_qml_0.cpp.o -o appwasm-vkbd-cmake.js /Users/lpotter/development/builds/qt6/qtdeclarative/src/qml/CMakeFiles/Qml_resources_1.dir/./.rcc/qrc_qmake_QtQml.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quick/CMakeFiles/Quick_resources_1.dir/./.rcc/qrc_qmake_QtQuick.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quick/CMakeFiles/Quick_resources_2.dir/./.rcc/qrc_scenegraph_shaders.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quick/CMakeFiles/qtquick2plugin_init.dir/./qtquick2plugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/qml/CMakeFiles/qmlplugin_init.dir/./qmlplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/qmlmodels/CMakeFiles/modelsplugin_init.dir/./modelsplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/virtualkeyboard/CMakeFiles/qtvkbplugin_init.dir/./qtvkbplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quick/window/CMakeFiles/quickwindow_resources_1.dir/./.rcc/qrc_qmake_QtQuick_Window.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quick/window/CMakeFiles/quickwindow_init.dir/./quickwindow_init.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quicklayouts/CMakeFiles/qquicklayoutsplugin_init.dir/./qquicklayoutsplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/labs/folderlistmodel/CMakeFiles/qmlfolderlistmodelplugin_init.dir/./qmlfolderlistmodelplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/settings/CMakeFiles/qtvkbsettingsplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Settings.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/settings/CMakeFiles/qtvkbsettingsplugin_init.dir/./qtvkbsettingsplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/CMakeFiles/qtvkbstylesplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Styles.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/CMakeFiles/qtvkbstylesplugin_qmlcache.dir/./.rcc/qmlcache/qtvkbstylesplugin_qmlcache_loader.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/CMakeFiles/qtvkbstylesplugin_resources_2.dir/./.rcc/qrc_qtvkbstylesplugin_raw_qml_0.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/CMakeFiles/qtvkbstylesplugin_init.dir/./qtvkbstylesplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/CMakeFiles/qtvkbpluginsplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Plugins.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/CMakeFiles/qtvkbpluginsplugin_init.dir/./qtvkbpluginsplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/layouts/CMakeFiles/qtvkblayoutsplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Layouts.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/layouts/CMakeFiles/qtvkblayoutsplugin_init.dir/./qtvkblayoutsplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/layouts/CMakeFiles/qtvkblayoutsplugin_resources_2.dir/./.rcc/qrc_qmake_virtualkeyboard_layouts.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/components/CMakeFiles/qtvkbcomponentsplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Components.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/components/CMakeFiles/qtvkbcomponentsplugin_qmlcache.dir/./.rcc/qmlcache/qtvkbcomponentsplugin_qmlcache_loader.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/components/CMakeFiles/qtvkbcomponentsplugin_resources_2.dir/./.rcc/qrc_qtvkbcomponentsplugin_raw_qml_0.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/components/CMakeFiles/qtvkbcomponentsplugin_init.dir/./qtvkbcomponentsplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/builtin/CMakeFiles/qtvkbbuiltinstylesplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Styles_Builtin.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/builtin/CMakeFiles/qtvkbbuiltinstylesplugin_init.dir/./qtvkbbuiltinstylesplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/builtin/CMakeFiles/qtvkbbuiltinstylesplugin_resources_2.dir/./.rcc/qrc_virtualkeyboard_default_style.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/styles/builtin/CMakeFiles/qtvkbbuiltinstylesplugin_resources_3.dir/./.rcc/qrc_virtualkeyboard_retro_style.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/hangul/CMakeFiles/qtvkbhangulplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Plugins_Hangul.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/hangul/CMakeFiles/qtvkbhangulplugin_init.dir/./qtvkbhangulplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/hangul/CMakeFiles/qtvkbhangulplugin_resources_2.dir/./.rcc/qrc_qmake_virtualkeyboard_hangul_layouts.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/openwnn/CMakeFiles/qtvkbopenwnnplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Plugins_OpenWNN.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/openwnn/CMakeFiles/qtvkbopenwnnplugin_init.dir/./qtvkbopenwnnplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/openwnn/CMakeFiles/qtvkbopenwnnplugin_resources_2.dir/./.rcc/qrc_qmake_virtualkeyboard_openwnn_layouts.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/tcime/CMakeFiles/qtvkbtcimeplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Plugins_TCIme.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/tcime/CMakeFiles/qtvkbtcimeplugin_init.dir/./qtvkbtcimeplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/tcime/CMakeFiles/qtvkbtcimeplugin_resources_2.dir/./.rcc/qrc_qmake_virtualkeyboard_tcime_layouts.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/tcime/CMakeFiles/qtvkbtcimeplugin_resources_3.dir/./.rcc/qrc_qmake_tcime.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/thai/CMakeFiles/qtvkbthaiplugin_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard_Plugins_Thai.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/thai/CMakeFiles/qtvkbthaiplugin_init.dir/./qtvkbthaiplugin_init.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/plugins/thai/CMakeFiles/qtvkbthaiplugin_resources_2.dir/./.rcc/qrc_qmake_virtualkeyboard_thai_layouts.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/plugins/platforms/wasm/CMakeFiles/QWasmIntegrationPlugin_resources_1.dir/./.rcc/qrc_wasmfonts.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/qmlmodels/CMakeFiles/QmlModels_resources_1.dir/./.rcc/qrc_qmake_QtQml_Models.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/virtualkeyboard/CMakeFiles/VirtualKeyboard_resources_1.dir/./.rcc/qrc_qmake_QtQuick_VirtualKeyboard.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/virtualkeyboard/CMakeFiles/VirtualKeyboard_qmlcache.dir/./.rcc/qmlcache/VirtualKeyboard_qmlcache_loader.cpp.o /Users/lpotter/development/builds/qt6/qtvirtualkeyboard/src/virtualkeyboard/CMakeFiles/VirtualKeyboard_resources_2.dir/./.rcc/qrc_VirtualKeyboard_raw_qml_0.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/quicklayouts/CMakeFiles/QuickLayouts_resources_1.dir/./.rcc/qrc_qmake_QtQuick_Layouts.cpp.o /Users/lpotter/development/builds/qt6/qtdeclarative/src/labs/folderlistmodel/CMakeFiles/LabsFolderListModel_resources_1.dir/./.rcc/qrc_qmake_Qt_labs_folderlistmodel.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/gui/CMakeFiles/Gui_resources_1.dir/./.rcc/qrc_qpdf.cpp.o /Users/lpotter/development/builds/qt6/qtbase/src/gui/CMakeFiles/Gui_resources_2.dir/./.rcc/qrc_gui_shaders.cpp.o /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Core.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Qml.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Core.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Quick.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/libqtquick2plugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQml/libqmlplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQml/Models/libmodelsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/libqtvkbplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/Window/libquickwindowplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/Layouts/libqquicklayoutsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Settings/libqtvkbsettingsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Styles/libqtvkbstylesplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Plugins/libqtvkbpluginsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Layouts/libqtvkblayoutsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Components/libqtvkbcomponentsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Styles/Builtin/libqtvkbbuiltinstylesplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Plugins/Hangul/libqtvkbhangulplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Plugins/OpenWNN/libqtvkbopenwnnplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Plugins/TCIme/libqtvkbtcimeplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/Plugins/Thai/libqtvkbthaiplugin.a /Users/lpotter/development/builds/qt6/qtbase/plugins/tls/libqcertonlybackend.a /Users/lpotter/development/builds/qt6/qtbase/plugins/imageformats/libqgif.a /Users/lpotter/development/builds/qt6/qtbase/plugins/imageformats/libqico.a /Users/lpotter/development/builds/qt6/qtbase/plugins/imageformats/libqjpeg.a /Users/lpotter/development/builds/qt6/qtbase/plugins/iconengines/libqsvgicon.a /Users/lpotter/development/builds/qt6/qtbase/plugins/imageformats/libqsvg.a /Users/lpotter/development/builds/qt6/qtbase/plugins/platforms/libqwasm.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6QuickLayouts.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6LabsFolderListModel.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledOpenwnn.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledTcime.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/VirtualKeyboard/libqtvkbplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQuick/libqtquick2plugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQml/Models/libmodelsplugin.a /Users/lpotter/development/builds/qt6/qtbase/qml/QtQml/libqmlplugin.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6VirtualKeyboard.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Quick.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6QmlModels.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Qml.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Network.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledLibjpeg.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Svg.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6OpenGL.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Gui.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledHarfbuzz.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledFreetype.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledLibpng.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6Core.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledZLIB.a /Users/lpotter/development/builds/qt6/qtbase/lib/libQt6BundledPcre2.a -lembind && : error: undefined symbol: _Z61qt_static_plugin_QtQuick_VirtualKeyboard_Styles_BuiltinPluginv (referenced by top-level compiled C/C++ code) warning: Link with `-sLLD_REPORT_UNDEFINED` to get more information on undefined symbols warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` warning: __Z61qt_static_plugin_QtQuick_VirtualKeyboard_Styles_BuiltinPluginv may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library Error: Aborting compilation due to previous errors em++: error: '/Users/lpotter/emsdk/node/14.18.2_64bit/bin/node /Users/lpotter/emsdk/upstream/emscripten/src/compiler.js /var/folders/n4/qrpzb2x93hl6gfbdhvk9_hm40000gn/T/tmpvutoh33x.json' failed (returned 1) ninja: build stopped: subcommand failed.