Version: git master (using KDE 4.6.4) OS: Linux Hi, we are using project layouts like this: project/ - branches/ - 0.0.1/ - bla.kdev4 - src/ - ... - trunk/ - bla.kdev4 - src/ - ... As I created an application template for this layout, I recognized that kdevelop expect the .kdev4 file in the root project directory. for new projects, with this layout, the root folder is project/trunk/. So I need the possibility to store the template .kdev4 file in the trunk directory I apply this feature to kdevplatform/plugins/appwizard/appwizardplugin.cpp. the attached patch adds 6 lines to appwizardplugin.cpp. I hope you can add this patch to the master branch. Thanks and bye Reproducible: Always Expected Results: Storing the .kdev4 file in ONE template subdirectory.
Created attachment 61445 [details] patch for the requested feature
please repost this patch on git.reviewboard.kde.org and/or use git diff for the patch creation, so we see some context instead of only the raw changes.
Hi, the patch is posted on git.reviewboard.kde.org. Here the link: https://git.reviewboard.kde.org/r/101853/
Git commit d2ac0610857aa4f859d71c74fe3605eac5732a91 by Milian Wolff. Committed on 16/03/2012 at 16:54. Pushed by mwolff into branch 'master'. Loop through the new project directory and try to detect the first .kdev4 file. If one is found this file will be used. So .kdev4 file can be stored in any subdirectory and the project templates can be more complex. REVIEW: 101853 Many thanks to Bastian Schmidt for this patch! M +11 -1 plugins/appwizard/appwizardplugin.cpp http://commits.kde.org/kdevplatform/d2ac0610857aa4f859d71c74fe3605eac5732a91