zapoyok wrote:



Avec mon nouveau essai.pro :
INCLUDEPATH +=  /usr/lib/qt3/include
LIBS  += -L/usr/lib/qt3/lib
SOURCES += essai.c
unix {
 UI_DIR = .ui
 MOC_DIR = .moc
 OBJECTS_DIR = .obj
}
TEMPLATE        =app
CONFIG  += qt warn_on release
LANGUAGE        = C++


Voici ce que �a donne
[EMAIL PROTECTED]/maison/bs/xfconfig]$ qmake essai.pro
[EMAIL PROTECTED]/maison/bs/xfconfig]$ make
gcc -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro -DQT_NO_DEBUG -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'
/usr/lib/qt3/include/qobjectdefs.h:154: warning: data definition has no
type or storage class
/usr/lib/qt3/include/qobjectdefs.h:155: parse error before "QConnection"
/usr/lib/qt3/include/qobjectdefs.h:155: warning: type defaults to `int'
in declaration of `QConnection'
/usr/lib/qt3/include/qobjectdefs.h:155: warning: data definition has no
type or storage class
/usr/lib/qt3/include/qobjectdefs.h:156: parse error before "QEvent"
/usr/lib/qt3/include/qobjectdefs.h:156: warning: type defaults to `int'
in declaration of `QEvent'
/usr/lib/qt3/include/qobjectdefs.h:156: warning: data definition has no
type or storage class
/usr/lib/qt3/include/qobjectdefs.h:158: parse error before
"QConnectionList" ...
...
/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



A priori c'est d�j� mieux ... le compilo trouve les fichiers d'ent�tes de Qt.


Chez moi j'ia r�gl� pas mal de probl�me en remplacant la ligne
CONFIG  += qt warn_on release

par

CONFIG += qt thread warn_on release

Sinon je ne vois pas .... A suivre


Ca ne change rien!

--
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";.

Foire Aux Questions de la liste : http://mdk.mondelinux.org

Répondre à