NA01
28-12-2003, 12:13
ho installato su linux le qt open (3.2.3) con successo (almeno credo, dato che qcad si è compilato con successo).
ho quindi iniziato a seguire il tuttorial trovato nel sito della libreria: http://doc.trolltech.com/3.2/tutorial1-01.html
ho semplicemente copiato il testo su emacs e ho provato a compilarlo.
se seguo le istruzioni e faccio
qmake --project
qmake
make
mi vengono stmpati a schermo milioni di errori che non posso nemmeno riportarvi (la redirezione dell'output mi dà solo il comando di gcc).
le uniche informazioni che mi rimangono memorizzate in console sono:
/usr/local/qt/include/qpushbutton.h:83: error: `autoDefButton' undeclared (first use in this function)
/usr/local/qt/include/qpushbutton.h:81: warning: unused parameter `setToggleButton'
/usr/local/qt/include/qpushbutton.h:79: warning: unused parameter `setGeometry'
/usr/local/qt/include/qpushbutton.h:77: warning: unused parameter `setGeometry'
/usr/local/qt/include/qpushbutton.h:76: warning: unused parameter `resize'
/usr/local/qt/include/qpushbutton.h:75: warning: unused parameter `resize'
/usr/local/qt/include/qpushbutton.h:74: warning: unused parameter `move'
/usr/local/qt/include/qpushbutton.h:73: warning: unused parameter `move'
/usr/local/qt/include/qpushbutton.h: At top level:
/usr/local/qt/include/qpushbutton.h:84: error: syntax error before "void"
/usr/local/qt/include/qpushbutton.h:84: error: parse error before "autoDef"
/usr/local/qt/include/qpushbutton.h:85: error: parse error before "isDefault"
/usr/local/qt/include/qpushbutton.h:85: warning: return type defaults to `int'
/usr/local/qt/include/qpushbutton.h: In function `isDefault':
/usr/local/qt/include/qpushbutton.h:85: error: parse error before '{' token
/usr/local/qt/include/qpushbutton.h:89: error: parse error before "hasMenuArrow"
/usr/local/qt/include/qpushbutton.h:91: error: `hasMenuArrow' undeclared (first use in this function)
/usr/local/qt/include/qpushbutton.h:91: error: `enable' undeclared (first use in this function)
/usr/local/qt/include/qpushbutton.h:93: warning: implicit declaration of function `updateGeometry'
/usr/local/qt/include/qpushbutton.h:92: confused by earlier errors, bailing out
make: *** [qt.o] Error 1
dove è che sbaglio???? :cry:
ciao e grazie per l'attenzione
ho quindi iniziato a seguire il tuttorial trovato nel sito della libreria: http://doc.trolltech.com/3.2/tutorial1-01.html
ho semplicemente copiato il testo su emacs e ho provato a compilarlo.
se seguo le istruzioni e faccio
qmake --project
qmake
make
mi vengono stmpati a schermo milioni di errori che non posso nemmeno riportarvi (la redirezione dell'output mi dà solo il comando di gcc).
le uniche informazioni che mi rimangono memorizzate in console sono:
/usr/local/qt/include/qpushbutton.h:83: error: `autoDefButton' undeclared (first use in this function)
/usr/local/qt/include/qpushbutton.h:81: warning: unused parameter `setToggleButton'
/usr/local/qt/include/qpushbutton.h:79: warning: unused parameter `setGeometry'
/usr/local/qt/include/qpushbutton.h:77: warning: unused parameter `setGeometry'
/usr/local/qt/include/qpushbutton.h:76: warning: unused parameter `resize'
/usr/local/qt/include/qpushbutton.h:75: warning: unused parameter `resize'
/usr/local/qt/include/qpushbutton.h:74: warning: unused parameter `move'
/usr/local/qt/include/qpushbutton.h:73: warning: unused parameter `move'
/usr/local/qt/include/qpushbutton.h: At top level:
/usr/local/qt/include/qpushbutton.h:84: error: syntax error before "void"
/usr/local/qt/include/qpushbutton.h:84: error: parse error before "autoDef"
/usr/local/qt/include/qpushbutton.h:85: error: parse error before "isDefault"
/usr/local/qt/include/qpushbutton.h:85: warning: return type defaults to `int'
/usr/local/qt/include/qpushbutton.h: In function `isDefault':
/usr/local/qt/include/qpushbutton.h:85: error: parse error before '{' token
/usr/local/qt/include/qpushbutton.h:89: error: parse error before "hasMenuArrow"
/usr/local/qt/include/qpushbutton.h:91: error: `hasMenuArrow' undeclared (first use in this function)
/usr/local/qt/include/qpushbutton.h:91: error: `enable' undeclared (first use in this function)
/usr/local/qt/include/qpushbutton.h:93: warning: implicit declaration of function `updateGeometry'
/usr/local/qt/include/qpushbutton.h:92: confused by earlier errors, bailing out
make: *** [qt.o] Error 1
dove è che sbaglio???? :cry:
ciao e grazie per l'attenzione