我是QT的新手。致命错误:QCoreApplication:没有这样的文件或目录,使用CMake
我在QT应用程序中创建了代码,支持QMake, ,然后我将代码迁移到CMake兼容的应用程序中。
从那时起我得到QCoreApplication没有这样的文件/目录错误。
它还提供以下消息:
23:03:11: The process "/usr/bin/cmake" exited with code 2. Error while building/deploying project HCIServer (kit: CMake-New-Kit) The kit CMake-New-Kit has configuration issues which might be the root cause for this problem. When executing step "Make"
套件配置:
OS:Ubuntu的14.04
编译器:克++
QT版本:5.8.0
请显示CMakeLists.txt。 – eyllanesc
cmake_minimum_required(2.8版) 集(CMAKE_CXX_STANDARD 11) 项目(HCIServer) add_executable($ {} PROJECT_NAME “的main.cpp” “mouseevent.cpp” “udpserver.cpp” ) 添加find_package(Qt5Widgets)给出了另一个错误,如配置不完整,发生错误! – Chaitanya