QT

QT3源码下载
QT4已经是如今QT的主流版本,但是仍然有一些老的项目使用QT3。下面记录一下QT3的编译过程:
1. 下载源码:
官方提供的QT3源码可以在这里下载到: ftp://ftp.trolltech.no/qt/source/qt-x11-free-3.3.8b.tar.gz
但是其中并没有指明如何编译。SourceForge上有个Q../Free项目,提供了以下下载,方便编译
http://sourceforge.net/projects/qtwin/files/Unofficial%20Qtwin/qt-win-3.3.x-8/qt-3.3.x-p8.7z/download
2. 编译QT3
用MingW编译QT3是一个漫长的过程。详细请参考这里:

Making an Application Debuggable

The release version of an application doesn't contain any debugging symbols or other debugging information. During development it is useful to produce a debugging version of the application that has the relevant information. This is easily achieved by adding debug to the CONFIG variable in the project file.

For example:


CONFIG += qt debug 
HEADERS += hello.h 
SOURCES += hello.cpp 
SOURCES += main.cpp


Use qmake as before to generate a Makefile and you will be able to obtain useful information about your application when running it in a debugging environment.




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值