On Ubuntu 10.04 32 bits today compiling from svn. i get this error:

! Using QT 'moc' executable: /usr/bin/moc (autodetected)
make[3]: `../../../../../lib/linux/gcc/libhbqt.a' is up to date.
make[4]: `../../../../../../lib/linux/gcc/libhbqtcore.a' is up to date.
gcc   -I. -I../../../../../../include -W -Wall -O3
-DHB_LEGACY_TYPES_OFF  -I/usr/include/qt4  -oQApplication.o -c
../../../QApplication.cpp
../../../QApplication.cpp:86:30: error: QtGui/QFontmetrics: No such
file or directory
../../../QApplication.cpp: In function ‘void
HB_FUN_QT_QAPPLICATION_FONTMETRICS()’:
../../../QApplication.cpp:532: error: invalid use of incomplete type
‘struct QFontMetrics’
/usr/include/qt4/QtGui/qwindowdefs.h:71: error: forward declaration of
‘struct QFontMetrics’
../../../QApplication.cpp:532: error: invalid use of incomplete type
‘struct QFontMetrics’
/usr/include/qt4/QtGui/qwindowdefs.h:71: error: forward declaration of
‘struct QFontMetrics’
../../../QApplication.cpp: At global scope:
../../../QApplication.cpp:141: warning: ‘static_int__hb_hbqt_init_’
defined but not used
make[4]: *** [QApplication.o] Error 1
make[3]: *** [descend] Error 2
make[2]: *** [qtgui] Error 2
make[1]: *** [hbqt] Error 2
make: *** [contrib] Error 2

Many thanks and best regards

Marco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to