File Templates wizard

Andreas Pakulat apaku at gmx.de
Thu Jan 3 13:40:28 UTC 2013


Hi,

On Thu, Jan 3, 2013 at 2:25 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> On Sun, Dec 23, 2012 at 2:39 PM, Milian Wolff <mail at milianw.de> wrote:
>> On Sunday 23 December 2012 10:48:44 Andreas Pakulat wrote:
>>> - The generated include in my case is a path relative to the project
>>> directory. This might be related to using the custom-buildsystem
>>> manager, but then I would've expected at least getting the absolute
>>> path from the manager there. Ideally though it would just be
>>> <qobject.h>.
>>
>> True. We'll need to check whether this also happens with CMake and fix it then
>> either centrally or in the build system manager.
>
> Yeap, also happens with CMake, but seemingly not with a Qt4 project. A
> CMake Qt3 project however shows the same problem.

Actually this also happens with Qt4 when making sure to generate in a
subdir (due to https://bugs.kde.org/show_bug.cgi?id=312105), I get

#include <qt4/QtCore/QObject>

generated as include instead of just #include <QtCore/QObject> or
#include <QObject>

Also found yet another bug
(https://bugs.kde.org/show_bug.cgi?id=312537) in the wizard. Are there
unit-tests for this thing (hoping the logic of the dialog is separated
somewhat from the UI)?

Andreas


More information about the KDevelop-devel mailing list