QDialog不是这样的文件或目录 – Qt Windows
我刚刚安装了基于Qt 5.0的Qt Creator 2.6.1.
我正在尝试打开4.8上的项目,但我无法编译它.它不断向我显示“不是这样的文件或目录”的错误. error: C1083: Cannot open include file: 'QtGui/QApplication': No such file or directory error: C1083: Cannot open include file: 'QDialog': No such file or directory error: C1083: Cannot open include file: 'QMainWindow': No such file or directory error: C1083: Cannot open include file: 'QWidget': No such file or directory 还有很多. 我将qmake.exe路径添加到PATH …我还需要做其他事吗?
阅读从Qt4到Qt5的过渡指南.
Link1
Link2
Link3
#include <QtGui/QWidget> This must be updated to either #include <QtWidgets/QWidget> Or more portably (Which works in Qt 4 and Qt 5): #include <QWidget> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- Windows文件和文件夹“属性”A或C.
- windows-registry – 用于reg部署的MSI包
- 如何确定Windows Installer(msiexec)正在执行的操作?
- Windows Vista是否具有应用级别的远程处理或者我是否产生幻
- windows-server-2008-r2 – 如何使用Centreon Nagios监控Wi
- Windows Azure – 硬盘大小
- 如何在Windows上的C和PHP之间进行通信?
- 深入理解Windows系统——2.Windows对象管理器
- 导航 – 如何在Windows Phone 7中弹出/完成视图
- windows-server-2008 – 如何在Windows Server 2008 R2中获
- wpf – SCE – 自定义数据源
- 什么是Windows等价的pwd.getpwnam(用户名).pw_di
- email – 从Windows服务器发送PHP邮件
- 从PowerShell访问Windows凭据管理器
- Win7安装Oracle10 无法定位程序输入点GetProcess
- .net – 什么是Microsoft.Contracts以及它来自哪
- 如何在Windows上为Emacs 23.1.50编译CEDET 1.0pr
- twilio – 可编程聊天 – Xamarin表示面向Window
- 为Windows编写跨平台(32位和64位兼容)程序(如.NE
- windows – 命名管道232管道正在关闭