Hi there,

I have checked out the current Qt4 git trunk on my Ubuntu 9.10 and want to compile it. (I did not change any source code)

I just called ./configure without any arguments. "make" aborts with this error message:
Qt Code:
  1. (...)
  2. make[1]: Nothing to be done for `first'.
  3. make[1]: Leaving directory `/home/manuel/SciScript/qt/src/dbus'
  4. cd src/opengl/ && make -f Makefile
  5. make[1]: Entering directory `/home/manuel/SciScript/qt/src/opengl'
  6. g++ -c -m64 -pipe -g -g -I/usr/include/freetype2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_OPENGL_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_FREETYPE -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include/QtGui -I../../include -I../../include/QtOpenGL -I.rcc/debug-shared -I../3rdparty/harfbuzz/src -I/usr/X11R6/include -I.moc/debug-shared -o .obj/debug-shared/qgl_x11.o qgl_x11.cpp
  7. qgl_x11.cpp:982: error: variable or field 'qgl_use_font' declared void
  8. qgl_x11.cpp:982: error: 'QFontEngineFT' was not declared in this scope
  9. qgl_x11.cpp:982: error: 'engine' was not declared in this scope
  10. qgl_x11.cpp:982: error: expected primary-expression before 'int'
  11. qgl_x11.cpp:982: error: expected primary-expression before 'int'
  12. qgl_x11.cpp:982: error: expected primary-expression before 'int'
  13. make[1]: *** [.obj/debug-shared/qgl_x11.o] Error 1
  14. make[1]: Leaving directory `/home/manuel/SciScript/qt/src/opengl'
  15. make: *** [sub-opengl-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode 
(link to source code here)

I do not understand this error messages:
- "variable or field 'qgl_use_font' declared void" - so what?
- "'QFontEngineFT' was not declared in this scope" but it should be; its header file is included

Does anybody know how to fix this? Google didn't find anything.


Cheers,

Manuel

PS: My libfreetype6 package version 2.3.9-5 and fontconfig's version is 2.6.0-1ubuntu12.