Menu

#1 Doesn't Compile

open
nobody
None
5
2007-04-19
2007-04-19
No

g++ -g -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -I/home/qt/mkspecs/linux-g++ -I. -I/usr/X11R6/include/freetype2 -I/home/qt/include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared/ -c resmyndialog.cpp
resmyndialog.cpp:16:21: error: qlayout.h: No such file or directory
resmyndialog.cpp:17:25: error: qpushbutton.h: No such file or directory
In file included from resmyndialog.cpp:18:
resmyndialog.h:14:21: error: qwidget.h: No such file or directory
resmyndialog.h:15:21: error: qdialog.h: No such file or directory
resmyndialog.h:18: error: expected class-name before '{' token
resmyndialog.h:19: error: ISO C++ forbids declaration of 'Q_OBJECT' with no typeresmyndialog.h:21: error: expected ';' before 'public'
resmyndialog.h:25: error: expected ',' or '...' before '&' token
resmyndialog.h:25: error: ISO C++ forbids declaration of 'QString' with no type
resmyndialog.h:29: error: ISO C++ forbids declaration of 'QPushButton' with no type
resmyndialog.h:29: error: expected ';' before '*' token
resmyndialog.h:30: error: ISO C++ forbids declaration of 'QPushButton' with no type
resmyndialog.h:30: error: expected ';' before '*' token
resmyndialog.h:33: error: expected `:' before 'slots'
resmyndialog.h:35: error: expected primary-expression before '}' token
resmyndialog.h:35: error: ISO C++ forbids declaration of 'slots' with no type
resmyndialog.h:35: error: expected ';' before '}' token
resmyndialog.h:35: error: expected `;' before '}' token
resmyndialog.cpp:20: error: expected `)' before '*' token
resmyndialog.cpp: In destructor 'ResmYNDialog::~ResmYNDialog()':
resmyndialog.cpp:43: error: 'yesButton' was not declared in this scope
resmyndialog.cpp:43: error: type '<type error>' argument given to 'delete', expected pointer
resmyndialog.cpp:44: error: 'noButton' was not declared in this scope
resmyndialog.cpp:44: error: type '<type error>' argument given to 'delete', expected pointer
resmyndialog.cpp: At global scope:
resmyndialog.cpp:48: error: expected ',' or '...' before '&' token
resmyndialog.cpp:48: error: ISO C++ forbids declaration of 'QString' with no type
resmyndialog.cpp: In member function 'void ResmYNDialog::setCaption(int)':
resmyndialog.cpp:51: error: 'QDialog' has not been declared
resmyndialog.cpp:51: error: 'inCaption' was not declared in this scope
resmyndialog.cpp:51: error: 'tr' was not declared in this scope
resmyndialog.cpp: At global scope:
resmyndialog.cpp:48: warning: unused parameter 'QString'
make: *** [resmyndialog.o] Error 1

Discussion


Log in to post a comment.

MongoDB Logo MongoDB