文章浏览阅读1.1w次,点赞8次,收藏42次。1、"error: QMainWindow: No such file or directory", 解决方法:在.pro文件#include <QMainWindow> 改为#include <QtWidgets>(若没有#include <QMainWindow>,直接添加#include <QtWidgets>),然后......
文章浏览阅读1.1w次,点赞8次,收藏42次。1、"error: QMainWindow: No such file or directory", 解决方法:在.pro文件#include <QMainWindow> 改为#include <QtWidgets>(若没有#include <QMainWindow>,直接添加#include <QtWidgets>),然后......
文章浏览阅读1.2k次。qt下qmake:提示could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory编译出现的问题解决方法:打开终端输入,qmake -v,出现错误:qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or ......