1、Qt的dos创建过程
第一步:使用Qt Designer设计好自己想要的界面
第二步:将设计好的界面保存起来,保存文件的后缀一定要是.ui,即如下形式:filename.ui。假设我的界面保存在自己的D盘的Qt for Qt creator目录下的gotocell目录下
第三步:到保存了.ui文件的目录下创建.cpp文件,这个文件是要运行的文件,且要调用到.ui文件
...
分类:
其他好文 时间:
2015-03-22 09:13:42
阅读次数:
581
//安装CentOS7 1.用LinuxLive USB Creator,LiveUSB Creator设置U盘安装不成功,UltraISO可以. 2.旧电脑(x8le)安装时报"/dev/disk/by-label/... does not exist"(Fedora安装时也可能碰到). 解决:在做好的U盘里面的i...
分类:
其他好文 时间:
2015-03-15 21:29:32
阅读次数:
165
在Qt Creator 里打开其他编辑器的代码时有时会提示: 无法用"UTF-8"编码解码 在文件上右键使用NotePad++编辑器打开: 选择->格式->转为UTF-8 无BOM编码格式 然后保存关闭,在使用Qt Creator打开即可
分类:
其他好文 时间:
2015-03-12 19:05:39
阅读次数:
201
Qt项目在打包发布之后都需要有个个性的程序图标和窗口图标,这样会使程序更加美观大方,下面我们分别来看如何给程序和窗口分别添加图标。我们需要两种格式的图片,一种是.ico的,用来给程序添加图标,一种是.bmp或是.png的,用来给窗口添加图标。- 程序添加图标如果使用的Qt Creator,那么用记事...
分类:
其他好文 时间:
2015-03-12 06:19:22
阅读次数:
188
Pclzip 使用入门
PclZip::PclZip() :
Class creator #实例化类
PclZip::create() :
Create the PKZIP file and add files or folders #创建压缩文件
PclZip::listContent() :
List content of an archive ...
分类:
其他好文 时间:
2015-03-11 19:49:56
阅读次数:
174
JS代码(jquery.showup.js):/** * @Creator: Nelson Kuang/Fast Mover * @showup 翻页插件;实现原理,用margin-top来控制页面容器位置来实现上下翻页 * @License:The MIT License (MIT) * @...
分类:
Web程序 时间:
2015-03-10 23:04:39
阅读次数:
193
mac 安装2.2.6为例1、进入cocos2d-x/tools/project-creator/ 2、输入python create_project.py -projectHelloWorld-packagecom.bjmzs.org-languagecpp其中HelloWorld为工程名称com...
分类:
其他好文 时间:
2015-03-10 11:36:37
阅读次数:
138
1. Parcelable接口 Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must also have a static field called CREATOR, ...
分类:
移动开发 时间:
2015-03-09 21:01:37
阅读次数:
224
1.Qt Creator 官网下载Community版本——offline Installer——Qt 5.4.1 for Linux 64-bit2.打开终端安装gcc,g++,xterm,依次执行以下语句sudo apt-get install gccsudo apt-get install g...
分类:
其他好文 时间:
2015-03-07 13:40:55
阅读次数:
130
装完QT5.4 及 QT Creator3.3 后创建第一个QT Widgets Application(相当于窗体) 应用程序报如上错误。执行sudo apt-get install libqt4-dev重新编译, OK我也不知道为什么这局就OK, 目前没时间去探究,如果你知道,请留个言给我, 谢...
分类:
系统相关 时间:
2015-03-04 09:39:15
阅读次数:
146