[Uml-devel] Problems compiling umbrello in kdesdk-3.2.0 on Tru64 UNIX 5.1

Albert Chin uml-devel at mlists.thewrittenword.com
Mon Mar 8 12:33:07 UTC 2004


I'm trying to build umbrello from the kdesdk-3.2.0 package on Tru64
UNIX 5.1 with the native C++ compiler and have this error:

cxx: Error: umlwidget.cpp, line 917: more than one instance of overloaded
          function "UMLWidget::setFontMetrics" matches the argument list:
            function "UMLWidget::setFontMetrics(UMLWidget::FontType,
                      QFontMetrics &)"
            function "UMLWidget::setFontMetrics(UMLWidget::FontType,
                      QFontMetrics)"
            argument types are: (UMLWidget::FontType, QFontMetrics)
     setFontMetrics(fontType, static_cast<QFontMetrics>(QFontMetrics(m_Font)));
--------^
cxx: Error: umlwidget.cpp, line 969: more than one instance of overloaded
          function "UMLWidget::setFontMetrics" matches the argument list:
            function "UMLWidget::setFontMetrics(UMLWidget::FontType,
                      QFontMetrics &)"
            function "UMLWidget::setFontMetrics(UMLWidget::FontType,
                      QFontMetrics)"
            argument types are: (UMLWidget::FontType, QFontMetrics)
     setFontMetrics(fontType, painter.fontMetrics());
--------^
cxx: Info: 2 errors detected in the compilation of "umlwidget.cpp".

Any ideas on how to fix?

-- 
albert chin (china at thewrittenword.com)




More information about the umbrello-devel mailing list