![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Qt设计
fuyoufang_dev
身处在 iOS、.Net、Web 的知识海洋中,广阔天空,任我遨游。
展开
-
在 Ubuntu 下安装 QT 开发环境
我们使用的操作系统是 Ubuntu12.04,使用目前最新版本的QT,安装起来即为简单,只要运行以下命令就行:sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer注意在这个版本的软件包中,qt4-dev-tools 包含了Qt Assistant及Qt Linguist等工具原创 2014-05-06 17:31:56 · 430 阅读 · 0 评论 -
error: expected class-name befor…
可能的原因有两个:1.头文件的宏定义是一样的,多个文件的下面AA是一样的#ifndef AA#define AA....#endif 2.继承的基类的头文件没有包含进来错误的原因是,该类继承的那个基类的头文件没有包含进来, You can get the errorexpected class-name before ‘{’ tokenif you try原创 2014-05-06 17:32:04 · 545 阅读 · 0 评论 -
Qt 编译过程,出现的问题和解决方…
在学习C++ GUI Qt4的过程中编写hello程序建立hello目录进入hello目录,编写hello.cpp程序文件进行编译生成一个与平台无关的文件$ qmake -project输入如下命令,从这个目录文件生成一个与平台相关的makefile文件$ qmake hello.pro键入make命令就可以构建这个程序$ make出现的问题g++ -c -pipe原创 2014-05-06 17:31:58 · 583 阅读 · 0 评论