J'aimerai apprendre � programmer en C en utilisant l'interface graphique. Comme je n'utilise que KDE, j'ai donc pris Qt. Bonne id�e?
Je fais un qmake puis un make qui plante. Comment r�parer ce pb?
Voici les sympt�mes.
[EMAIL PROTECTED]/maison/bs/xfconfig]$ /usr/lib/qt3/bin/qmake essai.pro
[EMAIL PROTECTED]/maison/bs/xfconfig]$ make
gcc -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3//mkspecs/default -I. -I/usr/lib/qt3/include -I/include -I.ui/ -I.moc/ -o .obj/essai.o essai.c
In file included from /usr/lib/qt3/include/qwindowdefs.h:43,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from essai.c:1:
/usr/lib/qt3/include/qobjectdefs.h:152: parse error before "QObject"
/usr/lib/qt3/include/qobjectdefs.h:152: warning: type defaults to `int' in declaration of `QObject'
/usr/lib/qt3/include/qobjectdefs.h:152: warning: data definition has no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:153: parse error before "QMetaObject"
/usr/lib/qt3/include/qobjectdefs.h:153: warning: type defaults to `int' in declaration of `QMetaObject'
/usr/lib/qt3/include/qobjectdefs.h:153: warning: data definition has no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:154: parse error before "QSignal"
/usr/lib/qt3/include/qobjectdefs.h:154: warning: type defaults to `int' in declaration of `QSignal'
[...]
In file included from /usr/lib/qt3/include/qwindowdefs.h:45,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from essai.c:1:
/usr/lib/qt3/include/qnamespace.h:46: warning: type defaults to `int' in declaration of `QColor'
/usr/lib/qt3/include/qnamespace.h:46: warning: data definition has no type or storage class
/usr/lib/qt3/include/qnamespace.h:47: parse error before "QCursor"
/usr/lib/qt3/include/qnamespace.h:47: warning: type defaults to `int' in declaration of `QCursor'
/usr/lib/qt3/include/qnamespace.h:47: warning: data definition has no type or storage class
/usr/lib/qt3/include/qnamespace.h:50: parse error before "Q_EXPORT"
/usr/lib/qt3/include/qnamespace.h:50: syntax error before '{' token
/usr/lib/qt3/include/qnamespace.h:92: conflicting types for `Vertical'
/usr/lib/qt3/include/qstring.h:134: previous declaration of `Vertical'
/usr/lib/qt3/include/qnamespace.h:92: confused by earlier errors, bailing out
make: *** [.obj/essai.o] Erreur 1
-- Amicalement vOOo <http://fr.openoffice.org>tre
Troumad alias Bernard SIAUD
troumad.free.fr <http://troumad.free.fr> : AD&D, math�matiques, WEB, et sectes.
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft? Rendez-vous sur "http://www.mandrakestore.com"
