home wdf # make
g++ -c -pipe -Wall -W -O2 -march=pentium4 -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -I/usr/qt/3/include -o first_f.o first_f.cpp
In file included from first_f.cpp:24:
first_f.ui.h: In member function `virtual void first_f::mount_bClick()':
first_f.ui.h:32: error: declaration of `virtual void first_f::umount_bClick()'
outside of class is not definition
first_f.ui.h:32: error: parse error before `{' token
first_f.ui.h:48: error: declaration of `virtual void first_f::open_bClick()'
outside of class is not definition
first_f.ui.h:48: error: parse error before `{' token
make: *** [first_f.o] Ошибка 1
home wdf #
Ссылается на заголовки функций-слотов.
Все компилировалось пока не написал в тело функций код. То есть было так:
void first_f::mount_bClick(){
}
Стало так:
void first_f::mount_bClick(){
...
}
8-/
Класс описан в другом модуле. Ну, знаете как в qt проектах.
Форма first_f. Описание в first_f.cpp, слоты в first_f.ui.h