undefined reference to `QQmlApplicationEngine::QQmlApplicationEngine(QObject*)' LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\LinuxProject1.cpp 10
undefined reference to `QQmlApplicationEngine::objectCreated(QObject*, QUrl const&)' LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\LinuxProject1.cpp 12
undefined reference to `QQmlApplicationEngine::objectCreated(QObject*, QUrl const&)' LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\LinuxProject1.cpp 12
undefined reference to `QQmlApplicationEngine::load(QUrl const&)' LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\LinuxProject1.cpp 20
undefined reference to `QQmlApplicationEngine::~QQmlApplicationEngine()' LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\LinuxProject1.cpp 10
undefined reference to `QQmlApplicationEngine::~QQmlApplicationEngine()' LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\LinuxProject1.cpp 10
undefined reference to `QQmlApplicationEngine::staticMetaObject' LinuxProject1 C:\Users\Game\AppData\Local\VisualGDB\RemoteSourceCache\192.168.1.104\0000\include\aarch64-linux-gnu\qt5\QtCore\qobject.h 339
undefined reference to `QQmlApplicationEngine::staticMetaObject' LinuxProject1 C:\Users\Game\AppData\Local\VisualGDB\RemoteSourceCache\192.168.1.104\0000\include\aarch64-linux-gnu\qt5\QtCore\qobject.h 339
ld returned 1 exit status LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\collect2 1
Command-line action failed LinuxProject1 D:\Project\QT\LinuxProject1\LinuxProject1\VisualGDB 1
原因 没有在pro文件指定 QT+=quick 找不到 lib 文件
时段 | 个数 |
---|---|
{{f.startingTime}}点 - {{f.endTime}}点 | {{f.fileCount}} |