[Gambas-user] Sig 11

Benoit Minisini gambas at ...1...
Sat Jul 26 14:32:49 CEST 2008


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,

-- 
Benoit Minisini




More information about the User mailing list