1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I../../nanomap -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I../../nanomap -I. -o main.o ../main.cpp
In file included from ../main.cpp:20:
../mainwidget.h:23:29: error: QtGui/QListWidget: No existe el fichero o el directorio
../mainwidget.h:24:32: error: QtGui/QStackedWidget: No existe el fichero o el directorio
../mainwidget.h:25:25: error: QtGui/QWidget: No existe el fichero o el directorio
../main.cpp:22:30: error: QtGui/QApplication: No existe el fichero o el directorio
In file included from ../main.cpp:20:
../mainwidget.h:32: error: expected class-name before ‘{’ token
../mainwidget.h:33: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
../mainwidget.h:34: error: expected ‘;’ before ‘public’
../mainwidget.h:38: error: expected ‘:’ before ‘slots’
../mainwidget.h:39: error: expected primary-expression before ‘void’
../mainwidget.h:39: error: ISO C++ forbids declaration of ‘slots’ with no type
../mainwidget.h:39: error: expected ‘;’ before ‘void’
../mainwidget.h:40: error: ISO C++ forbids declaration of ‘QString’ with no type
../mainwidget.h:40: error: expected ‘,’ or ‘...’ before ‘&’ token
../mainwidget.h:42: error: ISO C++ forbids declaration of ‘QRectF’ with no type
../mainwidget.h:42: error: expected ‘,’ or ‘...’ before ‘&’ token
../mainwidget.h:45: error: ISO C++ forbids declaration of ‘QStackedWidget’ with no type
../mainwidget.h:45: error: expected ‘;’ before ‘*’ token
../main.cpp: In function ‘int main(int, char**)’:
../main.cpp:26: error:QApplication’ was not declared in this scope
../main.cpp:26: error: expected ‘;’ before ‘a’
../mainwidget.h:36: error:MainWidget::~MainWidget()’ is private
../main.cpp:27: error: within this context
../main.cpp:28: error:class MainWidget’ has no member named ‘show’
../main.cpp:29: error: ‘a’ was not declared in this scope
../main.cpp: At global scope:
../main.cpp:24: warning: unused parameter ‘argc’
../main.cpp:24: warning: unused parameter ‘argv’
make: *** [main.o] Error 1