12:46:34 **** Incremental Build of configuration Debug for project CameraManagerAfterBeta **** make pre-build main-build qmake Usage: qmake [mode] [options] [files] make: [pre-build] Error 1 (ignored) QMake has two modes, one mode for generating project files based on some heuristics, and the other for generating makefiles. Normally you shouldn't need to specify a mode, as makefile generation is the default mode for qmake, but you may use this to test qmake on an existing project Mode: -project Put qmake into project file generation mode In this mode qmake interprets files as files to be built, defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required. -makefile Put qmake into makefile generation mode (default) In this mode qmake interprets files as project files to be processed, if skipped qmake will try to find a project file in your current working directory Warnings Options: -Wnone Turn off all warnings -Wall Turn on all warnings -Wparser Turn on parser warnings -Wlogic Turn on logic warnings Options: * You can place any variable assignment in options and it will be * * processed as if it was in [files]. These assignments will be parsed * * before [files]. * -o file Write output to file -unix Run in unix mode -win32 Run in win32 mode -macx Run in Mac OS X mode -d Increase debug level -t templ Overrides TEMPLATE as templ -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value -help This help -v Version information -after All variable assignments after this will be parsed after [files] -norecursive Don't do a recursive search -recursive Do a recursive search -set Set persistent property -query Query persistent property. Show all if is empty. -cache file Use file as cache [makefile mode only] -spec spec Use spec as QMAKESPEC [makefile mode only] -nocache Don't use a cache file [makefile mode only] -nodepend Don't generate dependencies [makefile mode only] -nomoc Don't generate moc targets [makefile mode only] -nopwd Don't look for files in pwd [project mode only] Building file: ../trunk/Source/QMenuFilter.cpp Invoking: GCC C++ Compiler g++ -DQT_CC_GNU -D__GXX_EXPERIMENTAL_CXX0X__ -DQT_WEBKIT -DQT_TESTLIB_LIB -DQT_SHARED -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt4/QtGui -I/usr/local/include/opencv2 -I"/media/sda2/workspaceeclipse/CameraManagerAfterBeta/trunk/Header" -I/usr/include/qt4 -I/usr/include/qt4/QtCore -O0 -g3 -Wall -c -fmessage-length=0 -std=c++0x -MMD -MP -MF"trunk/Source/QMenuFilter.d" -MT"trunk/Source/QMenuFilter.d" -o "trunk/Source/QMenuFilter.o" "../trunk/Source/QMenuFilter.cpp" Finished building: ../trunk/Source/QMenuFilter.cpp Building target: CameraManagerAfterBeta Invoking: GCC C++ Linker g++ -L/usr/local/lib/ -lQtGui -lQtCore -o "CameraManagerAfterBeta" ./trunk/Source/Camera.o ./trunk/Source/Interface.o ./trunk/Source/Manager.o ./trunk/Source/QMenuFilter.o ./trunk/Source/main.o -lopencv_core -lopencv_objdetect -lopencv_video -lopencv_highgui -lopencv_imgproc ./trunk/Source/QMenuFilter.o: In function `CustomMenuFilter::CustomMenuFilter()': /media/sda2/workspaceeclipse/CameraManagerAfterBeta/Debug/../trunk/Source/QMenuFilter.cpp:10: undefined reference to `vtable for CustomMenuFilter' /media/sda2/workspaceeclipse/CameraManagerAfterBeta/Debug/../trunk/Source/QMenuFilter.cpp:10: undefined reference to `vtable for CustomMenuFilter' collect2: error: ld returned 1 exit status make: *** [CameraManagerAfterBeta] Error 1 12:46:39 Build Finished (took 5s.849ms)