qt release pdb
littlesu | 开发经验 | 2013-01-16
*.pro 中添加
# generate pdb for release version
win32-msvc* {
QMAKE_CFLAGS_RELEASE += -zi
QMAKE_LFLAGS_RELEASE += /INCREMENTAL:NO /DEBUG
}
[阅读全文]
log4qt
littlesu | 开发经验 | 2013-01-16
http://blog.csdn.net/dbzhang800/article/details/6916948
http://blog.csdn.net/dbzhang800/article/details/6917462
http://baike.baidu.com/view/25347.htm
http://slowly.ycool.com/post.3161546.html
http://blog.sina.com.cn/s/blog_659defdb0100wbz2.html
http://kdboy.iteye.com/blog/208851
http://blog.sina.com.cn/s/b... [阅读全文]
qt+openssl
littlesu | 开发经验 | 2013-01-16
http://www.qtcentre.org/threads/30523-How-to-Building-Qt-with-OpenSSL-support-using-the-Windows-SDK
http://www.openssl.org/source/
http://www.perl.org/get.html
http://slproweb.com/products/Win32OpenSSL.html
http://blog.csdn.net/halsonhe/article/details/5591291
http://blog.sina.com.cn/s/blog_55feec41... [阅读全文]
chrome 扩展 插件
littlesu | chrome | 2013-01-16
chrome 有2种扩展 1.Browser Action;2.page actions
Chrome扩展就是几个网页,那么代码当然就是网页的JavaScript
有帮助的网页:http://blog.neverbest.com/?p=276
google chrome api: http://developer.chrome.com/extensions/api_index.html
chrome.browserAction http://developer.chrome.com/exten... [阅读全文]
vs 2005 编译 Qt
littlesu | 开发经验 | 2013-01-16
configure -debug-and-release -platform win32-msvc2005 -opensource -fast -nomake examples -nomake demos
编译步骤
1.安装 vs
2.下载QT源码
3.解压QT源码
4.打开 VS command cd 到 qt 目录
5.执行 命令
6.y
7.nmake
[阅读全文]
Qt QNetworkAccessManager & multiple QNetworkReplay
littlesu | 开发经验 | 2013-01-16
http://stackoverflow.com/questions/12090786/qt-qnetworkaccessmanager-multiple-qnetworkreplay
C++
QHash<QNetworkReply*, GetMethod> hash;
QNetworkReply *reply1 = nam->post(requestUserId, data);
hash[reply1] = GetMethod::getUserId;
QNetworkReply *reply2 = nam->post(requestUse... [阅读全文]
附加键 显示隐藏数据
littlesu | Qt Gui | 2013-01-16
C++
Qt::KeyboardModifiers km = QApplication::keyboardModifiers();
dlg.showAdvancedOption(km&Qt::ControlModifier);
12
Qt::KeyboardModifiers km = QApplication::keyboardModifiers();dlg.showAdvancedOption(km&Qt::ControlModifier);
[阅读全文]
Qt 全局热键 QxtGlobalShortcut 分析与使用举例
littlesu | Qt Gui | 2013-01-16
不少人有给程序添加全局热键的需求。网上随便一搜,就能找到不少介绍windows下如何实现的方式:
首先: 使用 RegisterHotKey和 UnregisterHotKey 注册和反注册热键
其次: 在事件全局过滤器 winEventFilter 中相应热键
但是涉及其他平台的,中文资料中提到的似乎不多。
libqxt
其实Qt第三方的库 libqxt 中已经给出了... [阅读全文]
获取管理员权限 win7 uac
littlesu | 开发经验 | 2013-01-16
创建一个文本文件,内容如下:
C++
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&... [阅读全文]
漂浮框 任务栏 无显示
littlesu | 开发经验 | 2013-01-16
setWindowFlags(windowFlags () |Qt:: Tool | Qt ::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint );
[阅读全文]