[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compilando una aplicacion QT



me gustaría ver el fuente de form4.cpp y form4.h

--
Rober Morales Chaparro
http://roberinworld.blogspot.com



Bismark Castilla escribió:

hola, estoy compilando una aplicacion que hice en qt-designer es una
sencilles solo quiero ver como corre pero cuando compilo me da unos
cuantos errores no entiendo porque esos errores porque estoy guiandome
por un Quick Start que viene con QT
alguien puede ayudarme??

iloveyou@Nodo:~/programming/Qt-designer/2$ qmake -o Makefile a.pro
iloveyou@Nodo:~/programming/Qt-designer/2$ make
/usr/share/qt3/bin/uic form4.ui -o .ui/form4.h
/usr/share/qt3/bin/uic form4.ui -i form4.h -o .ui/form4.cpp
g++ -c -pipe -Wall -W -O2  -DQT_NO_DEBUG
-I/usr/share/qt3/mkspecs/default -I. -I/usr/share/qt3/include -I.ui/
-I. -I.moc/ -o .obj/form4.o .ui/form4.cpp
In file included from .ui/form4.cpp:10:
.ui/form4.h:13:22: error: qvariant.h: No existe el fichero o el directorio
.ui/form4.h:14:21: error: qwizard.h: No existe el fichero o el directorio
.ui/form4.cpp:13:21: error: qwidget.h: No existe el fichero o el directorio
.ui/form4.cpp:14:21: error: qlayout.h: No existe el fichero o el directorio
.ui/form4.cpp:15:22: error: qtooltip.h: No existe el fichero o el directorio
.ui/form4.cpp:16:24: error: qwhatsthis.h: No existe el fichero o el directorio
.ui/form4.cpp:17:20: error: qimage.h: No existe el fichero o el directorio
.ui/form4.cpp:18:21: error: qpixmap.h: No existe el fichero o el directorio
.ui/form4.h:23: error: expected class-name before '{' token
.ui/form4.h:24: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
.ui/form4.h:26: error: expected ';' before 'public'
.ui/form4.h:34: error: expected `:' before 'slots'
.ui/form4.h:35: error: expected primary-expression before 'virtual'
.ui/form4.h:35: error: ISO C++ forbids declaration of 'slots' with no type
.ui/form4.h:35: error: expected ';' before 'virtual'
.ui/form4.cpp:27: error: 'WFlags' has not been declared
.ui/form4.cpp:27: error: prototype for 'Form4::Form4(QWidget*, const
char*, bool, int)' does not match any in class 'Form4'
.ui/form4.h:23: error: candidates are: Form4::Form4(const Form4&)
.ui/form4.h:23: error:                 Form4::Form4()
.ui/form4.cpp: In constructor 'Form4::Form4(QWidget*, const char*, bool, int)':
.ui/form4.cpp:28: error: class 'Form4' does not have any field named 'QWizard'
.ui/form4.cpp:31: error: 'setName' was not declared in this scope
.ui/form4.cpp:33: error: invalid use of undefined type 'struct QWidget'
.ui/form4.h:20: error: forward declaration of 'struct QWidget'
.ui/form4.cpp:34: error: 'QString' was not declared in this scope
.ui/form4.cpp:34: error: 'addPage' was not declared in this scope
.ui/form4.cpp:35: error: 'languageChange' was not declared in this scope
.ui/form4.cpp:36: error: 'QSize' was not declared in this scope
.ui/form4.cpp:36: error: 'minimumSizeHint' was not declared in this scope
.ui/form4.cpp:36: error: 'resize' was not declared in this scope
.ui/form4.cpp:37: error: 'WState_Polished' was not declared in this scope
.ui/form4.cpp:37: error: 'clearWState' was not declared in this scope
.ui/form4.cpp: At global scope:
.ui/form4.cpp:52: error: no 'void Form4::languageChange()' member
function declared in class 'Form4'
.ui/form4.cpp: In member function 'void Form4::languageChange()':
.ui/form4.cpp:54: error: 'tr' was not declared in this scope
.ui/form4.cpp:54: error: 'setCaption' was not declared in this scope
.ui/form4.cpp:55: error: 'setTitle' was not declared in this scope
make: *** [.obj/form4.o] Error 1

--
saludos

Bismark
....................................................................................................
Debian Gnu/Linux SID "Unstable" Kernel 2.6.12-1-686
Linux for Human Beings






Reply to: