Results 1 to 7 of 7

Thread: Qt 4.4 preview Webkit.

  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Qt 4.4 preview Webkit.

    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 ?

  2. #2
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: Qt 4.4 preview Webkit.

    Apparently HTML browser examples doesn't work either,
    even if I DO have : libQtWebKit.a in my Qt lib folder

    Can it be due to the fact I'm compiling in static ?
    do I have to Q_IMPORT_SOMETHING ?

    Thanks.

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt 4.4 preview Webkit.

    What do you need a static webkit lib for? Come on, it's still at technology preview stage.
    J-P Nurmi

  4. #4
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: Qt 4.4 preview Webkit.

    What do you mean?

    That I should compile QT in shared lib?

  5. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt 4.4 preview Webkit.

    I mean, what's all the fuss with static libs. Shared libs are superior for development anyway. I hope you're not deploying an application built with an unstable technology preview.
    J-P Nurmi

  6. #6
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: Qt 4.4 preview Webkit.

    I'm previewing an application to my boss, and I definetely prefer to send it as a static linked exe than anything else.

  7. #7
    Join Date
    Mar 2008
    Posts
    15

    Default Re: Qt 4.4 preview Webkit.

    Same problem with static compilation.
    May be somebody has solved it?

Similar Threads

  1. qt webkit
    By kernel_panic in forum Qt Programming
    Replies: 5
    Last Post: 4th November 2007, 20:03
  2. File Open dialog with preview?
    By will49 in forum Qt Programming
    Replies: 2
    Last Post: 24th July 2007, 18:08
  3. preview file dialog
    By mickey in forum Qt Programming
    Replies: 11
    Last Post: 21st April 2006, 23:03
  4. Replies: 4
    Last Post: 24th March 2006, 22:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.