Bug 232696

Summary: error when create new project from template(qmake)
Product: [Developer tools] kapptemplate Reporter: dizieg
Component: generalAssignee: Anne-Marie Mahfouf <annma>
Status: RESOLVED FIXED    
Severity: normal CC: apaku
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the bug
Next screen

Description dizieg 2010-03-30 14:56:11 UTC
Version:           3.99.9-1 (using KDE 4.4.1)
OS:                Linux
Installed from:    Archlinux Packages

When I create new project from template C++/Qt(qmake)/Qt4 GUI app shows errors:

Could not load project management plugin KDevQMakeManager.
project importing plugin (KDevQMakeManager) does not support the IProjectFileManager interface.
Project could not be opened: file:///home/michal/projects/tralala/tralala.kdev4
Comment 1 Andreas Pakulat 2010-03-30 15:31:23 UTC
You're missing the unmaintained and unfinished qmake plugin from playground. The template comes from kdesdk/kapptemplate so I'm re-assigning this to that app.
Comment 2 Anne-Marie Mahfouf 2010-04-04 18:36:02 UTC
The template works perfectly: it is installed as expected in the directory and then it can be built OK manually. 
I don't see how KAppTemplate can do more in that matter. Andreas?
Comment 3 Anne-Marie Mahfouf 2010-04-04 18:42:48 UTC
Created attachment 42487 [details]
Screenshot of the bug
Comment 4 Anne-Marie Mahfouf 2010-04-04 18:45:42 UTC
Created attachment 42488 [details]
Next screen
Comment 5 Anne-Marie Mahfouf 2010-04-06 18:52:45 UTC
Andreas, is it KDevelop as I can reproduce?
Comment 6 Andreas Pakulat 2010-04-06 19:29:30 UTC
Ah, this one. Well, kapptemplate ships a .kdev4 file that references a not-per-default-installed, unmaintained and almost not working project manager plugin. Thats the bug that needs to be fixed in kapptemplate. I suggest to use KDevCustomMakeManager instead.
Comment 7 Anne-Marie Mahfouf 2010-04-07 11:37:13 UTC
SVN commit 1112081 by annma:

Andreas next time for such a bug, could you attach a patch at once instead of making me wonder what is wrong?
KAppTemplate shares its templates with KDevelop but I am not following KDevelop development as you know pretty well. So please next time either commit the fix yourself or tell me at once what the fixe is, thanks in advance.
CCBUG=232696


 M  +1 -1      HOWTO_MakeNewtemplate.txt  
 M  +1 -1      templates/C++/qmake_qt4guiapp/%{PROJECTDIRNAME}.kdev4  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1112081
Comment 8 Anne-Marie Mahfouf 2010-04-07 12:37:59 UTC
SVN commit 1112090 by annma:

fixe in branch
BUG=232696


 M  +1 -1      %{PROJECTDIRNAME}.kdev4  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1112090