• 9251阅读
  • 6回复

【提问】怎样在kdevelop3.2.2上编译qt4的程序?? [复制链接]

上一主题 下一主题
离线adonislsw
 
只看楼主 倒序阅读 楼主  发表于: 2005-09-06
目前kdevelop的稳定版本是3.2.2,不知道怎么编译qt4的程序,autoconf找不到qt4,然后报错。
还有,kdevelop产生的qt文件也是基于qt3的。不知道能否解决????
[ 此贴被adonislsw在2005-09-06 13:10重新编辑 ]
为了生活四处漂泊
离线adonislsw
只看该作者 1楼 发表于: 2005-09-06
是没有人用kdevelop还是什么? 没人关心?
为了生活四处漂泊
离线XChinux

只看该作者 2楼 发表于: 2005-09-06
你安裝了Qt4.0.0肯定是和系統已有的不一樣的,KDevelop使用的是系統已有的Qt,而不是4.0,所以,直接使用它的代碼編輯就行了,要明白Qt和IDE的關係。如果要使用Qt 4,你需要改變環境變量,或者自己寫個shell腳本設置環境變量來啟動KDevelop。
建議初學的時候把重點放在Qt上,不要放在和什麼IDE搭配的問題上。Qt本身代碼管理等等並不需要什麼IDE。
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线yfy002

只看该作者 3楼 发表于: 2005-09-07
可qmake生成makefile,然后用kdevelop的转换功能把makefile转换成kdevelop的工程.注:kdevelop的最新版本已支持qt4工程.
我渴望平静,风却给了我涟漪
我的blog:
http://sungaoyong.cublog.cn
离线adonislsw
只看该作者 4楼 发表于: 2005-09-07
下面是引用yfy002于2005-09-07 08:55发表的:
可qmake生成makefile,然后用kdevelop的转换功能把makefile转换成kdevelop的工程.注:kdevelop的最新版本已支持qt4工程.



kdevelop最新稳定版是3.2.2,好像不支持qt4吧?你说的最新版是3.X??kdevelop的转换功能还没有用过,可以试试。还有就是kdevelop3.2.2自动生成的kde工程是基于qt3的吧,有些qt3工程不修改代码qt4都编译通不过。
为了生活四处漂泊
离线yfy002

只看该作者 5楼 发表于: 2005-09-07
KDevelop 3.3 branchpoint (2005-07-26)
It supports KDE >= 3.2. Was branched on 2005-07-26 and not released. It contains the new features of KDevelop 3.3.x plus the changes:
NEW - Features on the KDevelop section on KDE 3.5 Feature Plan
NEW - You can now use CMAKE to compile KDevelop
IMPROVED - Cpp language support:
support for QT4
Added new tab in the C++ options dialog to configure the used Qt library. You can configure if Qt used, which major version and where the Qt library path (QTDIR) for this project is.
class wizard: - Qt checkboxes are disabled on non-qt projects. Different code is generated for Qt3.x and Qt4.x projects.
IMPROVED - Debugger:
Debugger breakpoints window made easier to use
Fixed problem with disabled breakpoints
Automatically show variables window when application stops, and hide when application terminates.
Implement editing expression/variable values in variables window.
Improved the variables view
NEW - PHP5 language support, config locate php executable
IMPROVED - Output view:
Speed optimizations
IMPROVED - Generic projectmanager:
It's based on the kdevelop platform architecture where project management GUI is abstracted from a specific buildsystem. Buildsystems are handled using plugins ("project importers, builders and editors")
Workspace support is available
Project builders: make builder
Project importers: automake, custom makefiles, qmake
IMPROVED - User Manual
FIX - around 48 bugs of the KDevelop 3.2.x release series
Here is an interactive version of the fixed bugs.
Visit the individual SVN commit logs between KDevelop 3.2.x and KDevelop 3.3 branchpoint for a more detailed list of changes.

For a less detailed list of changes visit the source ChangeLog file using WebSVN.
我渴望平静,风却给了我涟漪
我的blog:
http://sungaoyong.cublog.cn
离线adonislsw
只看该作者 6楼 发表于: 2005-09-07
3ks
为了生活四处漂泊
快速回复
限100 字节
 
上一个 下一个