Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48046

compile.test does not handle PKG_CONFIG variable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8
    • 5.5.0
    • Build System
    • None
    • Cross compilation of Qt5base using buildroot

    Description

      config.test/unix/compile.test does not handle PKG_CONFIG environment variable.
      In cross compilation case, it end with a fail for gstreamer detection because gstreamer-0.10.pc is accessible only for cross-compiled pkg-config:

      (cd /home/buildroot/output/build/qt5base-5.5.0; PKG_CONFIG="/home/buildroot/output/host/usr/bin/pkg-config" PKG_CONFIG_LIBDIR="/home/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig" PKG_CONFIG_SYSROOT_DIR="/home/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot" MAKEFLAGS=" -j2" ./configure -v -prefix /usr -hostprefix /home/buildroot/output/host/usr -headerdir /usr/include/qt5 -sysroot /home/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot -plugindir /usr/lib/qt/plugins -examplesdir /usr/lib/qt/examples -no-rpath -nomake tests -device buildroot -device-option CROSS_COMPILE="/home/buildroot/output/host/usr/bin/i686-pc-linux-gnu-" -device-option BR_CCACHE="" -device-option BR_COMPILER_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  " -device-option BR_COMPILER_CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  " -force-pkg-config -optimized-qmake -no-kms -no-cups -no-nis -no-iconv -system-zlib -system-pcre -no-pch -shared -release -largefile -opensource -confirm-license -no-sql-mysql -no-sql-psql   -no-sql-sqlite -gui -no-widgets --enable-linuxfb -no-directfb -no-xcb -no-opengl  -no-eglfs -no-openssl -no-fontconfig -no-gif -no-libjpeg -no-libpng -no-dbus -no-tslib -glib -no-icu -gstreamer 0.10 -nomake examples )
      ...
      GStreamer 0.10 auto-detection... ()
      Project ERROR: gstreamer-0.10 development package not found
      GStreamer 0.10 disabled.
      The GStreamer 0.10 functionality test failed!
       Turn on verbose messaging (-v) to ./configure to see the final report.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            corjon.j@ecagroup.com Julien Corjon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes