Do you know why ?
i desintalled devcpp and reinstall new version...
it works with gtk but not with QT
__________________________________
C:\qt\examples\qhello>qmake qhello.pro
C:\qt\examples\qhello>make
g++ -c -mthreads -w -O2 -fno-exceptions -fno-rtti -DUNICODE -DQT_DLL -DQT_T
HREA
D_SUPPORT -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I"c:
\qt\
include" -I"C:\qt\examples\qhello" -I"tmp\moc\release-shared-mt" -I"c:\qt\mk
spec
s\win32-g++" -o tmp\obj\release-shared-mt\qhello.o qhello.cpp
g++ -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-ps
eudo
-reloc -mthreads -Wl,-s -Wl,-subsystem,windows -e
__Z19QtWinMainCRTStartupv -o q
hello.exe
tmp\obj\release-shared-mt\qhello.o -L"c:\qt\lib" -lqtmain -lqt-mt -lo
pengl32 -lglu32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32
-lol
e32 -loleaut32 -luuid -limm32 -lwinmm -lwsock32 -lwinspool
c:/devcpp/bin/../lib/gcc/mingw32/3.4.2/../../../libmingw32.a(main.o)(.text+0
x106
):main.c: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
make: *** [qhello.exe] Error 1
|