[Gambas-user] Sig 11

Benoit Minisini gambas at ...1...
Sat Jul 26 16:20:40 CEST 2008


On samedi 26 juillet 2008, Steven Lobbezoo wrote:
> I tried that, hélas to no avail.
>
> the result is :
> Making all in ext
> make[5]: entrant dans le répertoire « /home/steven/2.0/gb.qt/src/ext »
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I../.. -I/usr/lib/qt3/include/ -I -D_REENTRANT -I../../share
> -I../../src/share   -pipe -Wall -fno-exceptions -Wno-unused-value
> -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer  -MT
> CDial_moc.lo -MD -MP -MF .deps/CDial_moc.Tpo -c -o CDial_moc.lo
> CDial_moc.cpp
>  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib/qt3/include/ -I -D_REENTRANT
> -I../../share -I../../src/share -pipe -Wall -fno-exceptions
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
> -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF .deps/CDial_moc.Tpo
> -c CDial_moc.cpp  -fPIC -DPIC -o .libs/CDial_moc.o
> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
> include <QObject>."
> CDial_moc.cpp:20: error: expected constructor, destructor, or type
> conversion before 'static'
> CDial_moc.cpp:40: error: 'const QMetaObject CDial::staticMetaObject' is
> not a static member of 'class CDial'
> CDial_moc.cpp:40: error: variable 'const QMetaObject
> CDial::staticMetaObject' has initializer but incomplete type
> CDial_moc.cpp:42: error: 'qt_meta_data_CDial' was not declared in this
> scope
> CDial_moc.cpp:45: error: prototype for 'const QMetaObject*
> CDial::metaObject() const' does not match any in class 'CDial'
> CDial.h:51: error: candidate is: virtual QMetaObject*
> CDial::metaObject() const
> CDial_moc.cpp:50: error: no 'void* CDial::qt_metacast(const char*)'
> member function declared in class 'CDial'
> CDial_moc.cpp:58: error: 'int CDial::qt_metacall' is not a static member
> of 'class CDial'
> CDial_moc.cpp:58: error: incomplete type 'QMetaObject' used in nested
> name specifier
> CDial_moc.cpp:58: error: expected primary-expression before 'int'
> CDial_moc.cpp:58: error: expected primary-expression before 'void'
> CDial_moc.cpp:58: error: initializer expression list treated as compound
> expression
> CDial_moc.cpp:59: error: expected ',' or ';' before '{' token
> make[5]: *** [CDial_moc.lo] Erreur 1
> make[5]: quittant le répertoire « /home/steven/2.0/gb.qt/src/ext »
> make[4]: *** [all-recursive] Erreur 1
> make[4]: quittant le répertoire « /home/steven/2.0/gb.qt/src »
> make[3]: *** [all-recursive] Erreur 1
> make[3]: quittant le répertoire « /home/steven/2.0/gb.qt »
> make[2]: *** [all] Erreur 2
> make[2]: quittant le répertoire « /home/steven/2.0/gb.qt »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/steven/2.0 »
> make: *** [all] Erreur 2
>
> So, same error. I did ./reconf-all before running $
> QTDIR=/usr/lib/qt3 ./configure
> I'll try to completely redo the whole (rm -R 2.0 loading from trunk,
> etc.), if that changes
> anything i'll send a new message.
>
> Regards,
> Steven
>

Did you check the output of './configure', and the path it detected for moc?

-- 
Benoit Minisini




More information about the User mailing list