Version: 3.5.0.1 (using KDE 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu1) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.22-14-generic As main target, we use a .pro file using the SUBDIRS template. We don't use actual subdirectories for the sub-projects, but .pro files in the same directory. There are a couple of problems in kdevelop using this approach: - You can't select a .pro file with the file browser, as it is set up to only show directories. - When adding for example MyLib.pro as subproject, the empty file "MyLib.pro.pro" is created - When choosing "run qmake recursively", the Makefiles are messed up. Our Makefiles are set up as "Makefile.$${TARGET}", but when we have for example a "MyLib" project, the Makefile that is created is "Makefile.MyLib.MyLib". This isn't a problem for me though, as I don't use the "run qmake recursively" feature.
SVN commit 726036 by apaku: Allow to select .pro files for a subproject and fix creation of .pro files as new subproject. BUG:150796 M +7 -4 trollprojectwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=726036
As you can see your first two points have just been solved. The third point is not a kdevelop bug, but a qmake/Qt4 bug (QMake from qt3 doesn't work with Makefile.$${TARGET} at all unless you explicitly set TARGET as well). It can be seen by just running qmake -recursive in your project dir. Please report that to Trolltech (still visible in Qt4.3.2)
Thanks man! I'll try this as soon as possible.
Allright, this works perfectly now, apart from one little issue. When you choose to remove a subproject (a .pro file in my case) and accept to remove the subproject from disk, kdevelop - asks about deleting the "directory", which is not correct in the case of .pro file subproject - doesn't delete the .pro file
SVN commit 726526 by apaku: Actually remove the .pro file when removing a subproject and the user wanted to delete the file/dir. CCBUG:150796 M +5 -0 scope.cpp M +1 -1 trollprojectwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=726526