سلام
منم همین چیزی که شما گفتید را انجام دادم ولی موقع کامپایل qt بعد از ۱ ساعت نوشت exit with error 1 و نفهمیدم چی نوشته دقیق
باید چی بنویسه؟
اینا نوشت :
c:\Qt\2010.04\qt\lib\libQtGui.a(qapplication.o):qa pplication.cpp:(.text+0x358a):
undefined reference to `_imp___Z21qt_call_post_routinesv'
c:\Qt\2010.04\qt\lib\libQtGui.a(qapplication.o):qa pplication.cpp:(.text+0x3b2f):
undefined reference to `_imp___Z21qt_call_post_routinesv'
c:\Qt\2010.04\qt\lib\libQtGui.a(qapplication.o):qa pplication.cpp:(.text+0x40ca):
undefined reference to `_imp___Z21qt_call_post_routinesv'
c:\Qt\2010.04\qt\lib\libQtGui.a(qwhatsthis.o):qwha tsthis.cpp:(.text+0x15c): unde
fined reference to `_imp___Z21qDeleteInEventHandlerP7QObject'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\..\bin\uic3.exe] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/2010.04/qt/src/tools/uic3'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2010.04/qt/src/tools/uic3'
mingw32-make: *** [sub-uic3-sub_src_target_ordered] Error 2
C:\Qt\2010.04\qt>
الان هم هرچی میخوام کدم را کامپایل کنم اررور میده
debug\qrc_resources.cpp
g++ -static -static-libgcc -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o debug\project.exe object_script.project.Debug -L"c:\Qt\2010.04\qt\lib" -lmingw32 -lqtmaind -lQtScriptd -lQtSqld -lQtXmld -lQtGuid -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCored -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
c:/qt/2010.04/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtScriptd
collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory `W:/code-project/C++/sms'
mingw32-make: Leaving directory `W:/code-project/C++/sms'
mingw32-make[1]: *** [debug\project.exe] Error 1
mingw32-make: *** [debug] Error 2
The process "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project project (target: Desktop)
When executing build step 'Make'