Version: 3.4.1 (using KDE KDE 3.5.5) Installed from: SuSE RPMs OS: Linux Open QMake manager, right click on an .ui file in FORMS. Select "Open ui.h file" - nothing happens. The implementation may simply be missing, or the file is not found due to an wrong name (*.ui.h instead of *.h?). See also: bug #148130, addressing autogenerated files. DoDi
SVN commit 691261 by apaku: Do not include .ui in the generated header file name, Qt3 uses foo.h. BUG:148131 M +3 -2 trollprojectwidget.cpp --- branches/KDE/3.5/kdevelop/buildtools/qmake/trollprojectwidget.cpp #691260:691261 @@ -504,7 +504,7 @@ { QListViewItem* i = details->firstChild(); while( i ) - { + { QListViewItem* old = i; i = i->nextSibling(); details->takeItem(old); @@ -1771,8 +1771,9 @@ } else if ( r == idViewUIH ) { + kdDebug(9024) << "Opening:" << fitem->text(0) << ";" << fitem->text(0).replace(".ui","") << endl; m_part->partController() ->editDocument( KURL( m_shownSubproject->scope->projectDir() + QString( QChar( QDir::separator() ) ) + - QString( fitem->text( 0 ) + ".h" ) ) ); + QString( fitem->text( 0 ).replace(".ui","") + ".h" ) ) ); } else if ( r == idSubclassWidget )
Quoting Andreas Pakulat: >> Also note: ui.h is not Qt3, uic from Qt3 generates .h+.cpp file, while qt4 uic generates ui.h. << A distinction between Qt3 and Qt4 seems to be required.
There already are Qt-specific settings, in particular which qmake and designer to use. See Project Options -> C++ Support -> Qt.