diff --git tools/designer/uic/form.cpp tools/designer/uic/form.cpp
--- tools/designer/uic/form.cpp
+++ tools/designer/uic/form.cpp
@@ -1414,7 +1414,7 @@ void Uic::createFormImpl( const TQDomElement &e )
 			}
 		    }
 
-		    out << indent << "qWarning( \"" << nameOfClass << "::" << fname << ": Not implemented yet\" );" << endl;
+		    out << indent << "tqWarning( \"" << nameOfClass << "::" << fname << ": Not implemented yet\" );" << endl;
 		    if ( !retVal.isEmpty() )
 			out << indent << "return " << retVal << ";" << endl;
 		}
