我是 Qt 的新手。我试图在 CLion 中使用 Qt,并且已经修改了 CLion 中的 CMake 设置以使其使用 Qt 中的 CMake。然后我写了一段测试代码:
#include <iostream>
#include <QApplication>
#include <QDebug>
int main() {
std::cout << "Hello, World!" << std::endl;
qDebug() << QT_VERSION_STR;
return 0;
}
构建成功,但是当我尝试运行它时发生了错误Process finished with exit code -1073741515 (0xC0000135)。任何人都可以就为什么会发生此错误以及如何修复它提供一些说明吗?