
Qt设计
fuyoufang_dev
身处在 iOS、.Net、Web 的知识海洋中,广阔天空,任我遨游。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在 Ubuntu 下安装 QT 开发环境
我们使用的操作系统是 Ubuntu 12.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 · 462 阅读 · 0 评论 -
error: expected class-name befor…
可能的原因有两个: 1.头文件的宏定义是一样的,多个文件的下面AA是一样的 #ifndef AA #define AA .... #endif 2.继承的基类的头文件没有包含进来 错误的原因是,该类继承的那个基类的头文件没有包含进来, You can get the error expected class-name before ‘{’ token if you try原创 2014-05-06 17:32:04 · 613 阅读 · 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 · 617 阅读 · 0 评论