Hello I'm using webkit and my app doesn't compile :

Qt Code:
  1. 1>mingw32-make[1]: Entering directory `c:/Dev/ZeMessenger2/src/client'
  2. 1>g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
  3. -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
  4. -I"..\..\..\Qt\4.4.0.preview\include\QtCore" -I"..\..\..\Qt\4.4.0.preview\include\QtCore"
  5. -I"..\..\..\Qt\4.4.0.preview\include\QtNetwork" -I"..\..\..\Qt\4.4.0.preview\include\QtNetwork"
  6. -I"..\..\..\Qt\4.4.0.preview\include\QtGui" -I"..\..\..\Qt\4.4.0.preview\include\QtGui"
  7. -I"..\..\..\Qt\4.4.0.preview\include\QtWebKit" -I"..\..\..\Qt\4.4.0.preview\include\QtWebKit"
  8. -I"..\..\..\Qt\4.4.0.preview\include" -I"..\common" -I"..\common\libpurple\include"
  9. -I"..\common\glib\include" -I"..\common\glib\include\glib" -I"..\common\glib\include\gmodule"
  10. -I"..\common\glib\include\gobject" -I"protocols\msn" -I"c:\Dev\Qt\4.4.0.preview\include\ActiveQt"
  11. -I"release" -I"." -I"..\..\..\Qt\4.4.0.preview\mkspecs\win32-g++" -o
  12. release\ZeWebWidget.o ZeWebWidget.cpp
  13. 1>g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
  14. -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o release\client.exe
  15. object_script.client.Release -L"c:\Dev\Qt\4.4.0.preview\lib"
  16. release\ZeMessenger_res.o -L../common/libpurple/lib -llibpurple -L../common/glib/lib
  17. -lglib-2.0 -LC:/Dev/Qt/4.4.0.preview/plugins/imageformats/ -lqjpeg -LC:/Dev/Qt/4.4.0.preview/plugins/imageformats/
  18. -lqgif -lQtWebKit -lQtGui -lQtNetwork -lgdi32 -lcomdlg32 -loleaut32 -limm32
  19. -lwinmm -lwinspool -lmsimg32 -lQtCore -lkernel32 -luser32 -lshell32 -luuid
  20. -lole32 -ladvapi32 -lws2_32
  21. 1>./release\ZeWebWidget.o(.text+0x91):ZeWebWidget.cpp: undefined reference
  22. to `_imp___ZN8QWebViewC1EP7QWidget'
  23. 1>./release\ZeWebWidget.o(.text+0x1a1):ZeWebWidget.cpp: undefined reference
  24. to `_imp___ZN8QWebViewC1EP7QWidget'
  25. 1>collect2: ld returned 1 exit status
  26. 1>mingw32-make[1]: *** [release\client.exe] Error 1
To copy to clipboard, switch view to plain text mode 

Here is my pro file options:
Qt Code:
  1. CONFIG += qt static release xml console #qtestlib
  2. QT += network webkit
To copy to clipboard, switch view to plain text mode 

And the way I configured Qt for building:
Qt Code:
  1. configure -static -release -plugin-sql-sqlite -plugin-sql-odbc -qt-libpng -qt-libjpeg
  2. -qt-gif -webkit
To copy to clipboard, switch view to plain text mode 

Any idea ?