一切正常。 4、切换至mainwindow.cpp文件所在目录,把该文件改名为mainwindow1.cpp(删除、备份均可) 5、再执行qmake,正常。然后,编译,错误提示:No rule to make target 'mainwindow.cpp' needed by 'mainwindow.o'.stop 发现,Linux环境下,错误提示很晦涩,但是问题症结相同:依赖的mainwindow.cpp文件不存在! 【4...
View/TarWidgdet.cpp \ 有两个,删除上面一个。 SOURCES += View/TarWidgdet.cpp \ HEADERS下也需要删除。 最后执行一下qmake就可以了。
1: error: No rule to make target './Tutorial3D-master/assets/trefoil.obj', needed by 'debug/qrc_Assets.cpp'. Stop.D:\nhy\SOURCE\QT5.12.1\Tutorial3D-master\cplusplus\MainWindow.cpp:-1: In constructor 'MainWindow::MainWindow(QWidget*)':D:\nhy\SOURCE\QT5.12.1\Tutorial3D-master\cp...
解决catkin_make时出现make[2]: *** No rule to make target ‘/usr/lib/libOpenNI2.so‘, needed by ‘***‘。 问题引出: catkin_make编译项目时出现下列错误: make[2]: *** No rule to make target ‘/usr/lib/libOpenNI2.so’, needed by ‘/home/yujie/Test_ws/devel/lib/libloam.so’。
总是提示 qt creator no rule to make target opencv2/core/hal/interface.h need by debug解决方法: 也算是花了整整两个小时踩坑了,在建立qt的opencv工程时候,同一个qt工程文件,多次修改工程文件夹名字长度实验总结出来: 原来qt编译工程时候,所有用到的源文件包括头文件和库文件的,总路径长度不能超过190个左...
QT错误:No rule to make target ‘../‘, needed by ‘debug/qrc_res,问题分析:资源文件resource.qrc已经编译生成,在resource资源目录下进行删除不能改变已经编译生成的resource.qrc所以会出现此类错误。解决方法:项目右键执行qmake即可,然后重新构建,解决。网上大部
:-1: error: No rule to make target 'wqLineItem.cpp', needed by 'debug/wqLineItem.o'. Stop. 原来这个原因是丢失文件啊 ,终于明白了 ,看来网上的代码不可信 有个已有的Makefile,执行过程中出错: CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_str_encoding/src ...
在运行QT中出现 error: No rule to make target `c:/Documents', needed by `debug/Documents.o'. Stop 在运行QT中出现 error: No rule to make target `c:/Documents', needed by `debug/Documents.o'. Stop 跪求答案。。。 找到项目构建目录,desktop或者“桌面”文
:-1: error: No rule to make target ‘C:/Qt/Qt5.8.0/5.8/mingw53_32/bin/uic.exe’, needed by ‘ui_widget.h’. Stop. mingw32-make[1]: *** No rule to make target ‘C:/Qt/Qt5.8.0/5.8/mingw53_32/bin/uic.exe’, needed by ‘ui_widget.h’. Stop. ...
把代码文件、.pro文件、资源文件留下其他全部删除,然后重新编译运行试试