"New From Template"

Michael Hart michael.george.hart at gmail.com
Thu Jan 3 16:10:28 UTC 2013


Hey Guys
    I am NOT joking around when I tell you about a very strange behavior I
keep getting; This really happens
>From the menu
     Project=>"New From Template" then select Category "Qt",  then
selecting ANY of the *Project Type*  such as Graphical, Terminal, and Test

The ONLY time I have ever gotten a properly generated cmake system is

IF I use a "Application Name" qtttt (which I discovered completely by
accident today after pull and build of the kdevelop and kdevplatform)

As you can see from snapshot1.png , for selection of Project Type "Terminal"
where I use the application names myterminal and qtttt

Using ANY OTHER name than "qtttt" such as "myterminal" I get a project
named <project name>.kdev4  generated
where all the files generated contain exactly the same garbage as seen in
snapshot2.png

This issue has persisted for at least 3 months now --maybe as much as 7
months.
I basically pull and build kdevelop and kdeplatform at least one per months
and hoped the issue would have gone away.
I do believe I brought up the issue once before when I was testing out all
the features of Kdevelop 4 several months ago, but never pursued it since I
never use the "Category QT"

--Also I noticed Category QT is based on the content of *<installed
directory>/kdevelop4/share/apps/kdevappwizard/templates/* that contains the
files cmake_plaincpp.tar.bz2, cmake_qt4core.tar.bz2,
cmake_qt4core_qtest.tar.bz2, cmake_qt4gui.tar.bz2
(which are placed there when I do a make install of kdevelop4)


It was purely by accident I discovered that using a project named "qtttt"
would cause proper generation of projects for Category QT for all the given
Project Types

It looks almost as if someone hid a "qtttt" as a magic constant

Does anyone have any ideas what is going on here?

Although this has no effect on my usage of the kdevelop 4, it is a bit
annoying knowing that this odd things has existed for such a long time.

Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130103/c1d6e87c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot1.png
Type: image/png
Size: 23964 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130103/c1d6e87c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot2.png
Type: image/png
Size: 9575 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130103/c1d6e87c/attachment-0003.png>


More information about the KDevelop-devel mailing list