i'm using Qt Creator...
jus now i solved earlier problem.. thanks..i look into compile output and see the problem.
in compile output:
Running build steps for project cachedtable...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2010.03/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
C:/Qt/2010.03/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2010.03\qt\include\QtCore" -I"..\..\..\..\Qt\2010.03\qt\include\QtGui" -I"..\..\..\..\Qt\2010.03\qt\include\QtSql" -I"..\..\..\..\Qt\2010.03\qt\include" -I"..\..\..\..\Qt\2010.03\qt\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\2010.03\qt\mkspecs\win32-g++" -o debug\tableeditor.o tableeditor.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\cachedtable.exe debug/main.o debug/tableeditor.o debug/moc_tableeditor.o -L"c:\Qt\2010.03\qt\lib" -lmingw32 -lqtmaind -lQtSqld4 -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
mingw32-make: Leaving directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
[B
]debug
/moc_tableeditor.
o:moc_tableeditor.
cpp:(.
rdata$_ZTV11TableEditor
[vtable
for TableEditor
]+0xbc
): undefined reference to `TableEditor
::changeEvent(QEvent*)'[/B] collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\cachedtable.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project cachedtable
When executing build step 'Make']
Running build steps for project cachedtable...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2010.03/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
C:/Qt/2010.03/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\2010.03\qt\include\QtCore" -I"..\..\..\..\Qt\2010.03\qt\include\QtGui" -I"..\..\..\..\Qt\2010.03\qt\include\QtSql" -I"..\..\..\..\Qt\2010.03\qt\include" -I"..\..\..\..\Qt\2010.03\qt\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\2010.03\qt\mkspecs\win32-g++" -o debug\tableeditor.o tableeditor.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\cachedtable.exe debug/main.o debug/tableeditor.o debug/moc_tableeditor.o -L"c:\Qt\2010.03\qt\lib" -lmingw32 -lqtmaind -lQtSqld4 -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
mingw32-make: Leaving directory `C:/Documents and Settings/WISE AVIATION/Desktop/cachedtable'
[B]debug/moc_tableeditor.o:moc_tableeditor.cpp:(.rdata$_ZTV11TableEditor[vtable for TableEditor]+0xbc): undefined reference to `TableEditor::changeEvent(QEvent*)'[/B]
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\cachedtable.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project cachedtable
When executing build step 'Make']
To copy to clipboard, switch view to plain text mode
i delete these code and its solved my probs.. thanks..
Bookmarks