KAppTemplate and KDevelop 5.x are not coinstallable

Simon Wächter waechter.simon at gmail.com
Thu Jan 7 13:06:47 UTC 2016


Hi Alexander & Kevin

Thank you for the hint. Strange that we didn't notice that earlier
(Also that no package system complained about that file conflict). I
recommend that we delete the qmake template in KAppTemplate and keep
the one in KDevelop. KDevelop also provides other pure Qt templates.

With review request 126185 we now have a global macro and I should
port the CMake code. My personal idea for the future is that every
library/framework provides an own set of templates (Based on the new
kdetemplate_add_app_templates macro) and we move all KAppTemplate (and
KDevelop) templates to the correct project/repository. With this
approach we don't have to maintain templates (or even programming
languages like Python/Ruby) which we don't know/good enough, for
example the old KOffice, KRunnter etc. Every project should be
responsible for their own templates - they know them.

Any thoughts about this idea?

Simon

On Thu, Jan 7, 2016 at 12:36 PM, Kevin Funk <kfunk at kde.org> wrote:
> On Thursday, January 07, 2016 03:04:50 AM Alexander Potashev wrote:
>> Hi,
>>
>> I tried to install kapptemplate and kdevelop from Git master today but
>> failed because both packages install this file:
>>     /usr/share/kdevappwizard/templates/qmake_qt4guiapp.tar.bz2
>
> @Simon: Any idea?
>
> I have a hard time figuring out in what repo we should put those templates...
>
> These are the templates installed by kdevelop at the moment:
> ./app_templates/cpp/CMake/cmake_qt4gui/cmake_qt4gui.kdevtemplate
> ./app_templates/cpp/CMake/cmake_plaincpp/cmake_plaincpp.kdevtemplate
> ./app_templates/cpp/CMake/cmake_qt4core/cmake_qt4core.kdevtemplate
> ./app_templates/cpp/CMake/cmake_qt4core_qtest/cmake_qt4core_qtest.kdevtemplate
> ./app_templates/cpp/QMake/qmake_qt4guiapp/qmake_qt4guiapp.kdevtemplate
>
> Maybe they should all be moved to kapptemplate.git? Other opinions?
>
> (@Simon: Wanna take care of that?)
>
> --
> Kevin Funk | kfunk at kde.org | http://kfunk.org


More information about the KDevelop-devel mailing list