Win下Eclipse + MinGW + Qt安装及设置摘录地址:http://hi.baidu.com/lalahu007/blog/item/54d5050f7b2a03ed37d122d8.html1. 安装Qt1.1 安装qt和mingw到Qt(http://trolltech.com/developer/downloads/qt),直接下载qt-win-opensource-4.3.2-mingw.exe,安装即可。此版本已经集成了编译环境Mingw(注意:只是编译环境不包括IDE,Eclipse才是真正的IDE),在安装过程中选择自动下载并安装Mingw即可(如果你安装时没有选择 Read More
posted @ 2011-03-27 23:06 AriLee Views(1350) Comments(0) Diggs(0) Edit
这篇是我10年学习QT的一些学习笔记,和大家一起分享:1. 安装Qt1.1 安装qt和mingw到Qt(http://trolltech.com/developer/downloads/qt),直接下载qt-win-opensource-4.3.2-mingw.exe,安装即可。此版本已经集成了编译环境Mingw(注意:只是编译环境不包括IDE,Eclipse才是真正的IDE),在安装过程中选择自动下载并安装Mingw即可(如果你安装时没有选择安装Mingw那么你也可以手动安装)。1.2安装调试工具GDB首先下载GDB(http://jaist.dl.sourceforge.net/sourc Read More
posted @ 2011-03-27 23:05 AriLee Views(2643) Comments(1) Diggs(0) Edit
这篇是在10年测试QT过程中遇到的问题:1、中文显示问题:#include <QApplication>#include <QLabel>#include <QTextCodec>int main(int argc, char* argv[]){ QApplication app(argc,argv); QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); QLabel *label = new QLabel(tr("这里是中文")); label- Read More
posted @ 2011-03-27 23:03 AriLee Views(2545) Comments(0) Diggs(0) Edit
这篇是在C#中注册COM+组建测试用例.....项目创建:1.添加引用System.EnterpriseServices,并且using System.EnterpriseServices; 2.Public class public class ComSample:ServicedComponent //类要从ServicedComponent继承在类的前面要添加 [Transaction(TransactionOption.Required)],以启用事务步骤1:(实例:如下图1)(1)给类一个强名称,创建强名称,可以使用 sn 工具。 在 Visual Studio .NET 命令提示符 Read More
posted @ 2011-03-27 22:58 AriLee Views(9399) Comments(0) Diggs(0) Edit
js:$(function () { $.ajax({ type: 'GET', url: 'GetJson.ashx', dataType: 'json', success: function (data) { //$.each(data.menus, function (idx, item) { // alert(idx); // alert(item.street); //}); var menulist = ""; //alert(data); $.each(data.menus, function (i, n) { Read More
posted @ 2011-03-27 22:54 AriLee Views(2060) Comments(7) Diggs(0) Edit