Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc-3.3.5 OS: Solaris Duplicate of this bug: http://bugs.kde.org/show_bug.cgi?id=114816#c2 But the patch was not applied to kalziumutils.cpp.
SVN commit 480820 by pino: Fix the compilation on Solaris. Hope to backport it to the 3.5 branch before KDE 3.5.0. CCBUG: 116507 M +4 -0 kalziumutils.cpp --- trunk/KDE/kdeedu/kalzium/src/kalziumutils.cpp #480819:480820 @@ -14,6 +14,7 @@ #include "kalziumutils.h" #include <qfont.h> +#include <qglobal.h> #include <qrect.h> #include <qpainter.h> @@ -26,6 +27,9 @@ #include "prefs.h" #include <math.h> +#if defined(Q_OS_SOLARIS) +#include <ieeefp.h> +#endif int KalziumUtils::maxSize( const QString& string, const QRect& rect, QFont font, QPainter* p, int minFontSize, int maxFontSize ) {
SVN commit 480823 by pino: Fix compilation on Solaris. Don't know if it will actually be in KDE 3.5.0. For sure it will be in KDE 3.5.1. BUG: 116507 M +4 -0 kalziumutils.cpp --- branches/KDE/3.5/kdeedu/kalzium/src/kalziumutils.cpp #480822:480823 @@ -16,8 +16,12 @@ #include <qfont.h> #include <qrect.h> #include <qpainter.h> +#include <qglobal.h> #include <math.h> +#if defined(Q_OS_SOLARIS) +#include <ieeefp.h> +#endif int KalziumUtils::maxSize( const QString& string, const QRect& rect, QFont font, QPainter* p, int minFontSize, int maxFontSize ) {