[Gambas-user] Sig 11

Steven Lobbezoo steven at ...1652...
Sat Jul 26 16:12:04 CEST 2008


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
 

Le samedi 26 juillet 2008 à 14:32 +0200, Benoit Minisini a écrit :

> On samedi 26 juillet 2008, Steven Lobbezoo wrote:
> > Hi Benoit,
> >
> > Correct, I have QT3 and QT4 installed.
> >
> > I did the following :
> > ./reconf-all
> > gb.qte.am:3: `%'-style pattern rules are a GNU make extension
> > src/Makefile.am:3:   `gb.qte.am' included from here
> > gb.qte.am:3: `%'-style pattern rules are a GNU make extension
> > src/ext/Makefile.am:3:   `gb.qte.am' included from here
> >
> > Then :
> > steven at ...1948...:~/2.0> ./configure -C > temp.txt
> > configure: WARNING: *** foreign function interface is disabled
> > configure: WARNING: *** ODBC driver is disabled
> > configure: WARNING: *** PostgreSQL driver is disabled
> > configure: WARNING: *** SQLite 2 driver is disabled
> > configure: WARNING: *** firebird driver is disabled
> > configure: WARNING: *** QT/Embedded component is disabled
> > configure: WARNING: *** CORBA component is disabled
> >
> > The temp.txt is attached !
> >
> > Then :
> > make > temp2.txt
> > 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[4]: *** [all-recursive] Erreur 1
> > make[3]: *** [all-recursive] Erreur 1
> > make[2]: *** [all] Erreur 2
> > make[1]: *** [all-recursive] Erreur 1
> > make: *** [all] Erreur 2
> > /~/2.0>
> >
> > The temp2.txt file is also attached.
> >
> > Hope this helps
> >
> > Steven
> >
> 
> As a temporary workaround, you can define the QTDIR environment variable so 
> that it points at QT installation directory.
> 
> For example, if QT3 is installed in /usr/lib/qt3, as in Mandriva, do:
> 
> $ QTDIR=/usr/lib/qt3 ./configure
> 
> I will modify the configure script so that it always look in "qt3" and "qt" 
> directories, and no any directory whose name begins with "qt".
> 
> Regards,
> 



More information about the User mailing list