From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12smp i686) Description of problem: The Qt Designer needs directory $QTDIR/tools/designer/templates otherwise it will try to load template files from the current directory. I'll have to agree that the relevant code in tools/designer/designer/newformimpl.cpp is ugly: static QString templatePath( const QString &t ) { if ( QFileInfo( "../templates" ).exists() ) return "../templates"; QString qtdir = getenv( "QTDIR" ); if ( QFileInfo( qtdir + "/tools/designer/templates" ).exists() ) return qtdir + "/tools/designer/templates"; return t; } Trolltech will take care of this, maybe by deleting this curious function, but $QTDIR/tools/designer/templates seems to be needed by the Qt Designer for now. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Enter a directory that contains a few files. 2. Run the Qt Designer from this directory. 3. Click on the New toobutton. 4. The files of this directory appear as templates in the dialog. Actual Results: The files of this directory appear as templates in the "New Form" dialog. Expected Results: Only the files in $QTDIR/tools/designer/templates should appear. Additional info: I suggest adding a $QTDIR/tools/designer/templates in the current version.
Unfortunately this was reported slightly too late to make it into the next release. It will be addressed for the release after that.