为了解决这个问题,我创建了一个TestApp,它重复了我遇到的相同问题。QObject::connect: No such slot TestApp::run() in ..QQmlEngine: Illegal attempt to connect to TestApp(0x29cfb8) that is in
我用Qml Quick2.6用Qt 5.7.1写了一些应用程序。它不能在另一台未安装Qt的pc上运行。在日志中我看到这个错误:"WRN QQmlComponent: Component is not ready“。在Windows的任务管理器中,我看到应用程序正在运行,但没有应用程序的窗口。所有我放在资源文件中的qml文件。new QQmlComponent(&(this->engine),