In QT-Designer, it isn't possible to use the "Create Template.." option as a normal user. As for now, I haven't found another way to create dialogs inheriting from the KCMDialog class. With the command "strace -v -e trace=open /usr/qt/3/bin/designer" I've been able to find it that qt-designer tries to create a template file in /usr/qt/3/tools/designer/templates/ When the program runs as root, it can't find any kde-related settings and directories. The KCMDialog option also isn't available in the "Create Template.." menu option. Reproducible: Always Steps to Reproduce:
Which version of qt?
Sorry, the QT version is 3.3.0 (current stable version)
Does /usr/qt/3/tools/designer/templates/ exist for you?
yes it does exist. I think I could have explained it a little bit better, this folder can't be modified by a normal user off course. It's a permissions issue, but imho, qtdesigner should write the new template in the home folder of the user.
still an issue with Qt 3.3
I can reproduce this one. There's a workaround: create '~/.qt/templates' and then run the designer with 'QTDIR="~/.qt" designer'. We can't do anything though, this behaviour is hardcoded in the Qt sources... a bug should be filed for Qt, but all this code has been redesigned for Qt4 anyway...