Summary: | kdevelop should support qt4 | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | arne anka <kde-bugs> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | faure |
Priority: | NOR | ||
Version: | 3.3.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
arne anka
2005-12-28 11:31:11 UTC
Last time I checked debian unstable was still using KDevelop 3.2.2 We released 3.2.3 and 3.3.0 after that. You need KDevelop 3.3.0 to get Qt4 support. Please read the KDevelop website before posting this kind of bug report. well, it _is_ 3.3.0. thought, the bugtracker would add the version of the program in question automatically -- but it's not done. got kdevelop 3.3.0 from ubuntu's breezy and compiled by myself. Did you read the FAQ and searched the forum ? yes. No, the setting isn't ignored. It's not taken into consideration at all. The "Qt4 support" added in 3.3 is a patch to the C++ Class Wizard, adding support to create the correct looking include syntax when subclassing a Qt3 or Qt4 class. That's all. The build system support has in any case no business using a setting from the C++ support and will just call the Qt tools in $PATH (or so I assume). The C++ code completion database wizard is untouched and is unaware of this Qt4 setting. You are correct that it should be updated. This is certainly confusing; choosing Qt4 should run qt4's qmake, not qt3's (which is logically in the PATH since kdevelop is in the PATH... mixing qt3 and qt4 binaries in the same environment isn't really a good idea, especially with kde3/kde4). Also this means setting things up by hand before launching kdevelop, not really intuitive. As a stopgap measure, people who want to use kdevelop for developing Qt4 projects should launch this script instead of kdevelop: #!/bin/sh export QTDIR=$HOME/src/4/qt-copy export PATH=$QTDIR/bin:$PATH exec kdevelop $* (adjust the value of QTDIR of course). For kdevelop-3.4, the qt3-vs-qt4 option should be moved out of "C++ settings" and into whatever upper layer should have it :-) Thanks. Yes. KDevelop should support Qt4. This report is still based on a misunderstanding about what the code attempts to do, so to call it a bug isn't really correct. Changing to wishlist and renaming. I'm not sure it's a case to open new wish/bug, and it seems this issue is right place. Speaking about (current state) 3.4 svn branch. There is QT4 support. Great! Thanks! The problem appears when you want to add some QT module rather QtCore/QtGui. Let it be QtXml. Of course, I can directly add '-lQtXml' to qmake subproject libs. When I change subproject property "Release" to "Debug", I must remove '-lQtXml' and add '-lQtXml_debug'. I think, some kind of 'Use modules' (sub)dialog/form woud be more "QT-way". ______________ Thanks to KDevelop development team for the IDE! Closing, everything is fixed in KDevelop3.4 |