Need to build webkit5.3.1 with zlib support



  • i have convert html to pdf file using qtwebkit5.3.1 while using WOFF font in html document .getting warning "WOFF support requires QtWebKit to be built with zlib support" from qtwebkit .so i build the qtwebkit with -qt-zlib but still getting same warning after that i have build using -system-zlib congfiure command but still zlib deos not supported .plz help me to fix these issue

    configure command
    configure -L C:\zlib128\lib -I C:\zlib128\include -system-zlib -L C:\icu\lib -I C:\icu\include -icu -L C:\OpenSSL-Win32\lib -I C:\OpenSSL-Win32\include -openssl -nomake examples -nomake tests -nomake tools -no-accessibility -debug-and-release

    configure.summary file

    Configuration:
    pcre
    debug
    compile_examples
    Qt Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    debug_and_release build_all release
    debug
    shared
    system-zlib
    icu
    angle
    png
    freetype
    build_all
    opengl
    opengles2
    egl
    openssl
    audio-backend
    wmf-backend
    native-gestures
    qpa
    concurrent

    QMAKESPEC...................win32-msvc2010 (env)
    Architecture................i386, features: sse sse2
    Host Architecture...........i386, features: sse sse2
    Maketool....................nmake
    Debug build.................yes (combined)
    Default build...............debug
    Force debug info............no
    C++11 support...............auto
    Link Time Code Generation...no
    Accessibility support.......no
    RTTI support................yes
    SSE2 support................yes
    SSE3 support................yes
    SSSE3 support...............yes
    SSE4.1 support..............yes
    SSE4.2 support..............yes
    AVX support.................yes
    AVX2 support................yes
    NEON support................no
    IWMMXT support..............no
    OpenGL support..............yes
    Large File support..........yes
    NIS support.................no
    Iconv support...............no
    Evdev support...............no
    Mtdev support...............no
    Inotify support.............no
    eventfd(7) support..........no
    Glib support................no
    CUPS support................no
    OpenVG support..............no
    OpenSSL support.............yes
    Qt D-Bus support............no
    Qt Widgets module support...yes
    Qt GUI module support.......yes
    QML debugging...............yes
    DirectWrite support.........no
    Use system proxies..........no

    QPA Backends:
    GDI.....................yes
    Direct2D................no

    Third Party Libraries:
    ZLIB support............system
    GIF support.............plugin
    JPEG support............plugin
    PNG support.............yes
    FreeType support........yes
    Fontconfig support......no
    HarfBuzz-NG support.....no
    PCRE support............qt
    ICU support.............yes
    ANGLE...................yes
    Dynamic OpenGL..........no

    Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Fusion..................yes
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............C:\Qt\5.5\qtbase
    Build is done in............C:\Qt\5.5\qtbase
    Install prefix.............. C:\Qt\5.5\qtbase
    Headers installed to........C:\Qt\5.5\qtbase\include
    Libraries installed to..... .C:\Qt\5.5\qtbase\lib
    Arch-dep. data to........... C:\Qt\5.5\qtbase
    Plugins installed to........ C:\Qt\5.5\qtbase\plugins
    Library execs installed to.. C:\Qt\5.5\qtbase\bin
    QML1 imports installed to...C:\Qt\5.5\qtbase\imports
    QML2 imports installed to...C:\Qt\5.5\qtbase\qml
    Binaries installed to...... .C:\Qt\5.5\qtbase\bin
    Arch-indep. data to......... C:\Qt\5.5\qtbase
    Docs installed to......... . .C:\Qt\5.5\qtbase\doc
    Translations installed to...C:\Qt\5.5\qtbase\translations
    Examples installed to.......C:\Qt\5.5\qtbase\examples
    Tests installed to..........C:\Qt\5.5\qtbase\tests
    Include paths...............C:\zlib128\include C:\icu\include C:\OpenSSL-Win32\include
    Additional libraries........-LC:\zlib128\lib -LC:\icu\lib -LC:\OpenSSL-Win32\lib



  • I have same question on my application.



  • I have solved in the morning, that's fine. I guess this options "-L C:\zlib128\lib -I C:\zlib128\include -system-zlib" is wrong, maybe not found head file or other reasons so that qtwebkit not build zlib.
    you can check "config.log" log file in the qtwebkit folder to verify success or failed. you will see "test libzlib succeeded" sentence if it succeed.
    By the way, I suggest you use variable to set path (include file and lib file), as follow is my setting.
    set INCLUDE=%INCLUDE%;C:\test\zlib\include
    set LIB=%LIB%;C:\test\zlib\lib

    I hope to help you.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.