Please correct an include QFontMetrics file name typo...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Please correct an include QFontMetrics file name typo...

marco bra
On Ubuntu 9.10 and 10.04 i get this error on compile from svn

../../../QApplication.cpp:86:30: error: QtGui/QFontmetrics: Nessun
file o 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] Errore 1
make[3]: *** [descend] Errore 2
make[2]: *** [qtgui.inst] Errore 2
make[1]: *** [hbqt.inst] Errore 2
make: *** [contrib.inst] Errore 2

The include file in both system is QtGui/QFontMetrics and not
QtGui/QFontmetrics:

please correct the uppercase of metric to avoid the above error.

harbour/contrib/hbqt/qtgui/QApplication.cpp at line 86

Thank you and best regards.

Marco

--
Linux Infinite Freedom
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[hidden email]
http://lists.harbour-project.org/mailman/listinfo/harbour