Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.0
-
None
-
Ubuntu 11.04
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Description
The compilation of the the Tech Preview v4.8 and the HEAD of the 4.8 master branch fails to compile on my Ubuntu 11.04 machine due to this error:
g++ -c -include .pch/release-shared/QtGui -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_BUNDLED_LIBPNG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I../3rdparty/libpng -I../3rdparty/freetype/builds/unix -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qrawfont_ft.o text/qrawfont_ft.cpp
text/qrawfont_ft.cpp:63:1: error: expected class-name before '{' token
text/qrawfont_ft.cpp: In constructor 'QFontEngineFTRawFont::QFontEngineFTRawFont(const QFontDef&)':
text/qrawfont_ft.cpp:67:11: error: class 'QFontEngineFTRawFont' does not have any field named 'QFontEngineX11FT'
text/qrawfont_ft.cpp: In member function 'void QFontEngineFTRawFont::updateFamilyNameAndStyle()':
text/qrawfont_ft.cpp:76:9: error: 'fontDef' was not declared in this scope
text/qrawfont_ft.cpp:76:45: error: 'freetype' was not declared in this scope
text/qrawfont_ft.cpp: In member function 'bool QFontEngineFTRawFont::initFromData(const QByteArray&)':
text/qrawfont_ft.cpp:87:9: error: 'FaceId' was not declared in this scope
text/qrawfont_ft.cpp:87:16: error: expected ';' before 'faceId'
text/qrawfont_ft.cpp:88:9: error: 'faceId' was not declared in this scope
text/qrawfont_ft.cpp:91:35: error: 'Format_None' was not declared in this scope
text/qrawfont_ft.cpp:91:56: error: 'init' was not declared in this scope
text/qrawfont_ft.cpp: In member function 'void QRawFontPrivate::platformLoadFromData(const QByteArray&, int, QFont::HintingPreference)':
text/qrawfont_ft.cpp:119:13: error: 'class QFontEngineFTRawFont' has no member named 'setDefaultHintStyle'
text/qrawfont_ft.cpp:122:13: error: 'class QFontEngineFTRawFont' has no member named 'setDefaultHintStyle'
text/qrawfont_ft.cpp:125:13: error: 'class QFontEngineFTRawFont' has no member named 'setDefaultHintStyle'
text/qrawfont_ft.cpp:132:18: error: cannot convert 'QFontEngineFTRawFont*' to 'QFontEngine*' in assignment
text/qrawfont_ft.cpp: In member function 'bool QFontEngineFTRawFont::initFromData(const QByteArray&)':
text/qrawfont_ft.cpp:92:5: warning: control reaches end of non-void function
make[1]: *** [.obj/release-shared/qrawfont_ft.o] Error 1
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.0-tp/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2
Compilation of 4.7.3 HEAD worked fine.
The only additional flag to ./configure was --prefix=/home/manuel/lib/qt-4.8.0