Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
undefined symbol: _Z26qml_register_types_QtQuickv
In Qt 5.15.1 I get this error when I launch the application. With Qt 5.12 , 5.13 it works fine.
QQmlApplicationEngine failed to load component
qrc:/qml/dashboard.qml:51:1: plugin cannot be loaded for module "QtQuick": Cannot load library /usr/local/Qt-5.15.0-3Dxx/qml/QtQuick.2/libqtquick2plugin.so: (/usr/local/Qt-5.15.0-3Dxx/qml/QtQuick.2/libqtquick2plugin.so: undefined symbol: _Z26qml_register_types_QtQuickv)
How can I solve this please help me.
Perhaps you are using qmlRegisterType overload (without arguments) which has been removed in Qt 5.15.
Thank you very much for your reply. I am not using qmlRegisterType anywhere in my code. It worked with 5.13 and and 5.12 versions.
If I have to use this , then how should i do it..? Please throw me some light on this..
Hm, if you are not using it then the error is elsewhere.
Have you recompiled your application with Qt 5.15, or only tried to launch your "old" app against newer Qt libraries?
Also, I see people having similar problems with imx6 boards: https://forum.qt.io/topic/114188/qt-5-15-undefined-symbol
Yes, I recompiled the Qt5.15.1 and recompiled my application with the newest 5.15.1.
It sounds like a bug, then. Please check if it's known and if not - report it. Qt bugtracker
Thank you I will report it