Menu

#1 install problem

open
nobody
5
2006-04-06
2006-04-06
flewor
No

Hello,
this is my conf.log content:

g++ -c -pipe -Wall -W -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic
-DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
-I/usr/lib64/qt-3.3/mkspecs/default -I. -I.
-I/usr/lib64/qt-3.3/include -o main.o main.cpp
main.cpp:1:24: erreur: QApplication : Aucun fichier ou
répertoire de ce type
main.cpp:2:19: erreur: QWidget : Aucun fichier ou
répertoire de ce type
a.h:3: erreur: expected class-name before ‘{’ token
a.h:4: erreur: ISO C++ forbids declaration of
‘Q_OBJECT’ with no type
a.h:5: erreur: expected ‘;’ before ‘public’
main.cpp:4: erreur: expected `)' before ‘*’ token
main.cpp: In function ‘int main(int, char**)’:
main.cpp:8: erreur: ‘QApplication’ was not declared in
this scope
main.cpp:8: erreur: expected `;' before ‘app’
main.cpp:9: erreur: no matching function for call to
‘cA::cA(int)’
a.h:3: note: candidats sont: cA::cA()
a.h:3: note: cA::cA(const cA&)
main.cpp:10: erreur: ‘app’ was not declared in this scope
main.cpp: At global scope:
main.cpp:6: attention : unused parameter ‘argc’
main.cpp:6: attention : unused parameter ‘argv’
make: *** [main.o] Erreur 1

I actually don't understand. I have set my QMAKESPEC
and QDIR variable correctly.

could you please help me?
tk u in advance

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.