Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Compiling QT for embedded with webkit and html5 support for play video content via demo of web browser.

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

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 4 Posters 13.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yeyo
    wrote on 24 Apr 2012, 07:58 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yeyo
      wrote on 24 Apr 2012, 13:15 last edited by
      #2

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

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dongsama
        wrote on 14 Dec 2012, 23:56 last edited by
        #3

        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!

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yeyo
          wrote on 16 Dec 2012, 20:30 last edited by
          #4

          Happy to help :-)

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hmariod
            wrote on 5 Oct 2013, 12:28 last edited by
            #5

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

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              yeyo
              wrote on 6 Oct 2013, 14:57 last edited by
              #6

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sunday
                wrote on 13 Nov 2013, 01:53 last edited by
                #7

                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]

                1 Reply Last reply
                0
                • Y Offline
                  Y Offline
                  yeyo
                  wrote on 13 Nov 2013, 12:05 last edited by
                  #8

                  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"

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved