I collected the library through the Linux console and connected it to the qt6 project. But instead of "friendship", it gives an error " In included file: 'QQmlEngine' file not found ".
When connecting qml, no error occurs, but the program does not start with the message
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
What can I do?