讲到Qt的IDE开发环境,本人一直在Windows下使用VC6.0 + Qt4.3.1开发程序。但转到Linux下,使用Fedora中自带的KDevelop + Qt4.3.1开发程序。 最近一直做Qt程序,今天在网上看见讲述Qt的IDE开发环境的文章,介绍了几款Qt的IDE开发环境。在此加以总结: Read More
posted @ 2017-01-05 00:11
findumars
Views(1650)
Comments(0)
Diggs(0)
文章摘要: Windows,Linux平台下安装使用Eclipse + QT4.4.3开发环境 Windows,Linux新建project时的配置(不使用QT预置项目类型,而是手工配置) 使用Eclipse开发平台的原因: 由于要在Windows/Linux上开发,希望统一开发工具. 以前开发QT Read More
posted @ 2017-01-05 00:09
findumars
Views(8509)
Comments(0)
Diggs(0)
虽然已经在Visual Studio 2005下安装Qt4已经n次了,还是打算在上写写安装方法。 qt-win-commercial-src-4.3.1.zip、qt-vs-integration-1.3.1.exe 1、配置环境变量 我的电脑->属性->高级->环境变量 QTDIR —— C:\Q Read More
posted @ 2017-01-05 00:08
findumars
Views(248)
Comments(0)
Diggs(0)
1、在FileView视图中 右键点击需要产生moc文件的头文件(就是类中包含Q_OBJECT宏,如果没有这个宏就不需要产生moc文件) 2、在右键菜单中选择Setting... 3、选择Custom Build,在Commands栏中输入:%qtdir%\bin\moc.exe $(InputDi Read More
posted @ 2017-01-05 00:07
findumars
Views(443)
Comments(0)
Diggs(0)
在Windows操作系统中,大多把配置文件信息写在注册表当中,或写在*.ini文件中,对于这两种操作都有相应的Windows API函数,在以前的文章中都提及过,这里就不多说了~ 在Qt中,提供了一个相应的配置文件的类QSetting,使用QSetting类,可以将用户设置以及应用程序的设置轻松存储 Read More
posted @ 2017-01-05 00:05
findumars
Views(8826)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号