On Tue, 15 Dec 2009, Viktor Szakáts wrote:

hi,

 > Try exchanging line 56 with line 58 in contrib/hbqt/detect.mk 
 > and report results.
 > 
 > Even if this works I'd appreciate if someone could give 
 > ideas how to make moc tool detection reliable on the long 
 > run, while keeping it simple. Distros are apparently messing 
 > it up badly, but maybe someone can see the big picture here 
 > and there is logic in it.

the current one looks ok to me. i think angel has his moc 
configuration screwed up.

angel, what do you get (on a completely clean checkout) after you have 
had moc pointing to moc-qt4 by running `update-alternatives --config moc' 
(and obviously selecting moc-qt4)?

if i'm right, then viktor, i don't think an explicit test for moc-qt4 
is needed (unless the qt sdk itself has it so, which i do not know), 
but people need to learn their tools.

the logic is that (since one can have qt3 and qt4 dev installed 
simultaneously), one gets to decide which one does one want "by 
default". you trying to work around users picking the wrong one (or 
not picking the right one) is an uphill battle, and you probably have 
better things to do ;)

 > 
 > Brgds,
 > Viktor
 > 
 > On 2009 Dec 15, at 00:11, Angel Pais wrote:
 > 
 > > Hello All  
 > > 
 > > If I'm doing nothing wrong I'm getting this errors under UBUNTU
 > > 
 > >> gcc   -I. -I../../../../../include -Wall -W -O3  -I/usr/include/qt4 
 > >> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
 > >> -I/usr/include/qt4/QtNetwork  -omoc_hbqt_events.o -c moc_hbqt_events.cpp
 > >> moc_hbqt_events.cpp:15:34: error: private/qucomextra_p.h: No existe el 
 > >> fichero ó directorio
 > >> moc_hbqt_events.cpp:17:2: error: #error "This file was generated using 
 > >> the moc from 3.3.8b. It"
 > >> moc_hbqt_events.cpp:18:2: error: #error "cannot be used with the include 
 > >> files from this version of Qt."
 > >> moc_hbqt_events.cpp:19:2: error: #error "(The moc has changed too much.)"
 > >> moc_hbqt_events.cpp:22: error: no ‘const char* Events::className() const’ 
 > >> member function declared in class ‘Events’
 > >> moc_hbqt_events.cpp:27: error: ‘QMetaObject* Events::metaObj’ is not a 
 > >> static member of ‘class Events’
 > >> moc_hbqt_events.cpp:28: error: ‘QMetaObjectCleanUp’ does not name a type
 > >> moc_hbqt_events.cpp:31: error: redefinition of ‘static QString 
 > >> Events::tr(const char*, const char*)’
 > >> ../../../hbqt_events.h:68: error: ‘static QString Events::tr(const char*, 
 > >> const char*)’ previously defined here
 > >> moc_hbqt_events.cpp:39: error: redefinition of ‘static QString 
 > >> Events::trUtf8(const char*, const char*)’
 > >> ../../../hbqt_events.h:68: error: ‘static QString Events::trUtf8(const 
 > >> char*, const char*)’ previously defined here
 > >> moc_hbqt_events.cpp:50: error: no ‘QMetaObject* 
 > >> Events::staticMetaObject()’ member function declared in class ‘Events’
 > >> moc_hbqt_events.cpp:68: error: no ‘void* Events::qt_cast(const char*)’ 
 > >> member function declared in class ‘Events’
 > >> moc_hbqt_events.cpp:75: error: ‘QUObject’ has not been declared
 > >> moc_hbqt_events.cpp:75: error: no ‘bool Events::qt_invoke(int, int*)’ 
 > >> member function declared in class ‘Events’
 > >> moc_hbqt_events.cpp:80: error: ‘QUObject’ has not been declared
 > >> moc_hbqt_events.cpp:80: error: no ‘bool Events::qt_emit(int, int*)’ 
 > >> member function declared in class ‘Events’
 > >> moc_hbqt_events.cpp:86: error: no ‘bool Events::qt_property(int, int, 
 > >> QVariant*)’ member function declared in class ‘Events’
 > >> moc_hbqt_events.cpp:91: error: no ‘bool 
 > >> Events::qt_static_property(QObject*, int, int, QVariant*)’ member 
 > >> function declared in class ‘Events’
 > > 
 > >> make[3]: *** [moc_hbqt_events.o] Error 1
 > >> make[2]: *** [descend] Error 2
 > >> make[1]: *** [hbqt] Error 2
 > >> make: *** [contrib] Error 2
 > > 
 > > HTH
 > > 
 > > Angel
 > > 
 > > _______________________________________________
 > > Harbour mailing list (attachment size limit: 40KB)
 > > Harbour@harbour-project.org
 > > http://lists.harbour-project.org/mailman/listinfo/harbour
 > 
 > _______________________________________________
 > Harbour mailing list (attachment size limit: 40KB)
 > Harbour@harbour-project.org
 > http://lists.harbour-project.org/mailman/listinfo/harbour
 > 

-- 
[-]

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

Reply via email to