Compiling QT for embedded with webkit and html5 support for play video content via demo of web browser.



  • I'm trying to configure Qt 4.8.1 with these parameters:
    ./configure --prefix=/home/freescale/ltib.iMX/rootfs/ -embedded arm -xplatform qws/linux-g++-mx -release -little-endian -host-little-endian -fontconfig -sm -opensource -confirm-license -multimedia -v -webkit
    I have exported PKG_CONFIG_PATH:
    BASH#> echo $PKG_CONFIG_PATH
    /home/freescale/ltib.iMX/rootfs/usr/lib/pkgconfig
    BASH#> pkg-config --exists glib-2.0 gio-2.0 gstreamer-0.10
    BASH#> echo $?
    0
    BASH#>
    so everything appears to be ok:

    Debug .................. no
    Qt 3 compatibility ..... yes
    QtDBus module .......... no
    QtConcurrent code ...... yes
    QtGui module ........... yes
    QtScript module ........ yes
    QtScriptTools module ... yes
    QtXmlPatterns module ... no
    Phonon module .......... yes
    Multimedia module ...... yes
    SVG module ............. yes
    WebKit module .......... yes
    JavaScriptCore JIT ..... To be decided by JavaScriptCore
    Declarative module ..... yes
    Declarative debugging ...yes
    Support for S60 ........ no
    Symbian DEF files ...... no
    STL support ............ yes
    PCH support ............ yes
    MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no
    SSSE3/SSE4.1/SSE4.2..... no/no/no
    AVX..................... no
    iWMMXt support ......... no
    NEON support ........... no
    IPv6 support ........... yes
    IPv6 ifname support .... yes
    getaddrinfo support .... yes
    getifaddrs support ..... yes
    Accessibility .......... yes
    NIS support ............ yes
    CUPS support ........... no
    Iconv support .......... no
    Glib support ........... yes
    GStreamer support ...... yes
    PulseAudio support ..... no
    Large File support ..... yes
    GIF support ............ plugin
    TIFF support ........... plugin (qt)
    JPEG support ........... plugin (system)
    PNG support ............ yes (system)
    MNG support ............ plugin (qt)
    zlib support ........... system
    Session management ..... no
    Embedded support ....... arm
    Freetype2 support ...... auto (system)
    Graphics (qt) .......... linuxfb multiscreen linuxfb
    Graphics (plugin) ......
    Decorations (qt) ....... styled windows default
    Decorations (plugin) ...
    Keyboard driver (qt) ... tty tty
    Keyboard driver (plugin) ..
    Mouse driver (qt) ...... pc linuxtp tslib
    Mouse driver (plugin) ..
    OpenGL support ......... no
    OpenVG support ......... no
    SQLite support ......... plugin (qt)
    OpenSSL support ........ no
    Alsa support ........... yes
    ICD support ............ no
    libICU support ......... no

    But couple of lines later i've got on console :
    (...)
    Reading /home/freescale/ltib.iMX/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/declarative/declarative.pro
    Reading /home/freescale/ltib.iMX/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/WebKit.pro
    Reading /home/freescale/ltib.iMX/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pro
    Reading /home/freescale/ltib.iMX/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/WebCore/WebCore.pro
    Project MESSAGE: Disabling video due the lack of GLib/Gio/GStreamer.

    My question is - how to fix this problem?



  • Done by commenting out "no-pkg-config" from configuration files..
    Now - everything compiles right. Finally i've got html5 video (and audio) support.



  • OMG, I was suffering with the same problem after I upgrade the qt to 4.8.1.
    This article is something like an oasis on a huge desert for me.
    Thank you!



  • Happy to help :-)



  • Yeyo, could you show the pkgconfig file content?
    I have the same error but different toolchain.
    Thank's.



  • pkgconfig is not a file, it is a directory with many *.pc files, which describes many of libraries included into toolchain or OS.



  • Yeyo, I wonder how to command ./configure .... (add "no-pkg-config")

    [quote author="yeyo" date="1381071452"]pkgconfig is not a file, it is a directory with many *.pc files, which describes many of libraries included into toolchain or OS.[/quote]



  • Edit "configure", search for line
    @ QT_CONFIG="$QT_CONFIG no-pkg-config"@

    and comment it out.

    Before run ./configure script, remember to export your toolchain's PKG_CONFIG_PATH (typically /$toolchain_patch/usr/lib/pkgconfig"


Log in to reply
 

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