Hand editing .kdev4/myproject.kdev4

Alvin Beach alvinbeach at gmail.com
Thu Jul 31 01:29:16 BST 2014


On 30/07/14 20:47, Aleix Pol wrote:
> On Wed, Jul 30, 2014 at 7:17 PM, Alvin Beach <alvinbeach at gmail.com <mailto:alvinbeach at gmail.com>> wrote:
> 
>     Is there a way, in BASH, to edit values stored in the .kdev4 project
>     file that start with "@Variant()"?
> 
>     I have a vanilla, carefully configured KDevelop4 project and source
>     directory (think of it as an application template). I have a script
>     that copies this project and uses various command line tools (awk,
>     sed, etc.) to modify the files. When I want to start a new project, I
>     run the script and it creates a new directory with the desired project
>     name and modified source tree.
> 
>     [snip]
> 
> 
> It's KConfig generating those values. Maybe the kreadconfig and kwriteconfig tools can help you, but
> I must note this use-case is not really supported at the moment. 
> 
> Aleix

I will check those out, thanks! I agree, it's not an ideal use-case at all. Eventually, I will take
another shot at creating a kdevelop project template.

Alvin



More information about the KDevelop mailing list