
Qt
oh-wine
本人性格稳重,逻辑分析能力强,责任心强,对待事情善始善终. 能够较快适应新环境,喜欢与人打交道,有合作精神。对待学习和工作,有点完美主义.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Qt透明按钮控件
午餐后的一袋酸奶,留作积累。QPushButton *bt =new QPushButton(this);bt->setText("ok");bt->move(200,100);bt->setFlat(true);//就是这句能够实现透明原创 2013-09-30 13:05:35 · 2665 阅读 · 1 评论 -
Linux平台下的Qt50应用发布
0.说明:在Linux平台下开发的Qt应用,发布时有两种方式:1.静态编译;2.将全部链接赋值到目标目录下一同发布。介于现在Qt5(目前最新为Qt5.4.1)下载后直接是.run可执行程序,静态编译需要在source上打钩,且安装完后进src目录下再执行静态源码编译,不是很方便,因此采用方式2.1.准备工作:1.需要cde工具,下载方式:sudo apt-get ins原创 2015-03-16 16:51:16 · 1221 阅读 · 0 评论 -
windows Qt编程之wchar_t * to QString格式转化
QString str1= QString::fromWCharArray(szMsg);原创 2014-06-27 14:45:21 · 6743 阅读 · 0 评论 -
Qt记录(二)
一 qt设置字体大小(目前用于textEdit)infoTextEdit->setFontPointSize(9);二 qt调用外部程序://1.通过调用linux C 函数system("opt/myApp");//2.通过QProcess,阻塞调用QProcess::execute("/opt/myApp");//3.通过QProcess,非阻塞调用原创 2013-12-02 15:49:41 · 872 阅读 · 0 评论 -
qt环境搭建预先需要的所有库
Qt在linux平台上搭建开发环境的时候,总需要一些依赖库,而在configure检测时Qt又不对依赖库进行fucking检测!!!而在make 时又fucking的时间特别长!!!如果在同时需要编译pc版和arm版,看到中途的make error就会又被插的阵痛……如果为了节省时间而放在夜间编译就会有菊花fucking的亚嘛呆爽感~!!!! 为了不让这些蛋疼菊紧的事铺面而来,特收集原创 2013-11-29 09:37:50 · 928 阅读 · 0 评论 -
Qt记录(一)
一. QTest:没有那个文件或目录在你工程的 .pro 文件中加上下面这一行QT += testlib如果前面已经有一些其他选项了,则QT += sql \ qt3support \ testlib原创 2013-10-21 17:52:13 · 2664 阅读 · 0 评论 -
Qt设置窗体大小不可变/edit只能输入数字
Qt设置窗体大小不可变:frame.setFixedSize(width, height);Qt edit只能输入数字:QValidator *validator=new QIntValidator(0,100,this); // 0-100 only accept numberQLineEdit *edit = new QLineEdit(); edit->setV原创 2013-10-16 23:08:57 · 3852 阅读 · 0 评论 -
Qt源码编译完成后,执行中出现undefined symbol: _ZN16QCoreApplicationC1ERiPPci错误解决方案
编译成功,但在移植到其他设备时出错,信息为:undefined symbol: _ZN16QCoreApplicationC1ERiPPci 解决方案是:1. 查看是否动态库路径不同或错误,在linux平台中执行env查看环境变量,看有关于Qt lib库的指定是否与编译平台的路径相同,如果不同通过export修改。关于怎么对应,网上很多,Google一下即可。2.原创 2013-10-15 14:53:06 · 8756 阅读 · 0 评论 -
Qt动画----窗体渐进开启
在窗体继承类的构造函数中加入:QPropertyAnimation *animation = new QPropertyAnimation(this, "windowOpacity");animation->setDuration(1000);animation->setStartValue(0);animation->setEndValue(1);animation->start原创 2013-10-12 15:47:27 · 1627 阅读 · 0 评论 -
Qt ftp客户端 官方说明 开会时看手机版
The user of the example can enter the address or hostname of an FTP server in the Ftp Server line edit, and then push the Connect button to connect to it. A list of the server's top-level directory is原创 2013-09-26 13:45:31 · 1498 阅读 · 0 评论 -
Qt FTP客户端官方说明
The user of the example can enter the address or hostname of an FTP server in the Ftp Server line edit, and then push the Connect button to connect to it. A list of the server's top-level directory is原创 2013-09-26 13:43:39 · 3393 阅读 · 0 评论 -
Qt的QNetworkConfigurationManager 类参考翻译
详细描述: Qt的 QNetworkConfigurationManager类用于管理系统提供的网络配置(the network configurations provided by the system)。 QNetworkConfigurationManager提供从系统获取的网络配置接口,并可以用于对操作系统权能(在网络话务期)运行时进行实时监控(de翻译 2013-10-10 09:57:59 · 6252 阅读 · 0 评论 -
关于Qt GUI 的背景色及背景图片的设计
m_videoWindow->setStyleSheet("background-color:rgb(0, 0, 0);");原创 2013-09-24 13:40:48 · 1029 阅读 · 0 评论 -
QT 进行网络监测----获取本地IP
获取本地IP地址,排除127回环:QString MainWindow::getLocalIP(){ QList list = QNetworkInterface::allAddresses(); foreach (QHostAddress address, list) { //使用IPv4地址 if(address.protocol()原创 2013-10-09 15:43:34 · 2048 阅读 · 0 评论 -
Qt监控系统进程 网址 留着一会用
http://www.rritw.com/a/caozuoxitong/Linux/20130411/295766.html原创 2013-09-29 15:25:56 · 1963 阅读 · 0 评论 -
QT 嵌入式编译出错:cc1: fatal error: .pch/release-shared-emb-arm/QtGui: No such file or directory 解决方案:
configure参数:./configure -confirm-license -release -shared -opensource -embedded arm -xplatform qws/linux-arm-g++ -little-endian -qt-sql-sqlite -no-qt3support -no-webkit -no-javascript-jit -no-script原创 2014-01-23 10:14:53 · 7885 阅读 · 0 评论