<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 31/12/15 21:06, Lawrence Rust wrote:<br>
    </div>
    <blockquote cite="mid:1451556365.4504.27.camel@gagarin.lan"
      type="cite">
      <pre wrap="">On Thu, 2015-12-31 at 10:20 +1100, Kingsley Turner wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 30/12/15 19:18, Kingsley Turner wrote:
</pre>
        Creating qmake...
        make: Nothing to be done for `first'.
        Running configuration tests...
        The OpenGL ES 2.0 functionality test failed! You might need to
        modify the include and library search paths by editing
        QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and
        QMAKE_LIBS_OPENGL_ES2 in
        /home/kingsley/Code/rpi/mythbuild/qt-everywhere-opensource-src-5.4.0/qtbase/mkspecs/devices/linux-rasp-pi-g++.

This
        looks to me like I need some OpenGL ES2 stuff.
        I googled these error messages, but nothing that gave me an idea
        on how to proceed.
      </blockquote>
      <pre wrap="">
This looks like you are missing the Qt patches.  To ensure that they are
applied you should delete these directories: 

mythbuild/qt-everywhere-opensource-src-5.4.0
mythpatches-0.24

and the file mythpatches-0.24.tar.bz2

This will ensure the latest patches are applied to Qt. Then execute:

RASPBIAN_FLAVOUR=jessie mythbuild.sh -Q 5.4.0 -2 -E

The -E option ensures a clean rebuild.

</pre>
    </blockquote>
    <br>
    Ok, that seems to have cleared up all those problems, and it looks
    like the cross-compiled Qt is built A-OK.<br>
    <br>
    The next step was building mythtv, but it wants QtWebKit ~<br>
    <font color="#3333ff"><tt><br>
      </tt><tt>*********************************************************************</tt><tt><br>
      </tt><tt>Building mythtv branch fixes-0.27-rpi (release)</tt><tt><br>
      </tt><tt>*********************************************************************</tt><tt><br>
      </tt><tt><br>
      </tt><tt>./configure --prefix=/home/kingsley/Code/rpi/mythinstall
        --runprefix=..
        --sysinclude=/home/kingsley/Code/rpi/mythinstall/usr/include
        --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/include
        --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/include
        --extra-libs=-L/home/kingsley/Code/rpi/mythinstall/lib
        --enable-cross-compile --cross-prefix=arm-linux-gnueabihf-
        --target_os=linux --arch=arm
        --qmake=/home/kingsley/Code/rpi/mythinstall/bin/qmake
        --extra-cxxflags=-Wuninitialized --disable-avdevice
        --enable-libfftw3 --extra-cxxflags=-Wno-deprecated-declarations
        pkg_config=pkg-config
        --dvb-path=/home/kingsley/Code/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../arm-linux-gnueabihf/libc/usr/include
        --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include
        --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include
        --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vcos/pthreads
        --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vcos/pthreads
        --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vmcs_host/linux
        --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vmcs_host/linux
        --extra-libs=-L/home/kingsley/Code/rpi/mythinstall/opt/vc/lib
        --extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/opt/vc/lib
        --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include/arm-linux-gnueabihf
        --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include/arm-linux-gnueabihf
        --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include
        --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include
        --extra-libs=-L/home/kingsley/Code/rpi/mythinstall/usr/lib/arm-linux-gnueabihf
        --extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/usr/lib/arm-linux-gnueabihf
        --extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/usr/lib/arm-linux-gnueabihf/pulseaudio
        --extra-libs=-L/home/kingsley/Code/rpi/mythinstall/usr/lib
        --extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/usr/lib
        --extra-libs=-L/home/kingsley/Code/rpi/mythinstall/lib/arm-linux-gnueabihf
        --extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/lib/arm-linux-gnueabihf
        --extra-libs=-L/home/kingsley/Code/rpi/mythinstall/lib
        --extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/lib
        --disable-mythlogserver --disable-hdhomerun --enable-sdl
        --compile-type=release</tt><tt><br>
      </tt><font color="#990000"><tt>Error! QtWebkit headers not found</tt></font></font><br>
    <br>
    I added <font color="#3333ff"> libqt5webkit5-dev qtbase5-dev</font>
    to the<font color="#3333ff"> pkgs="$pkgs libicu-dev" # Qt webkit</font>
    line of the build script.<br>
    This pulled in another 214 packages (eek!) during the apt update
    phase of the build script, but fixed the above error.  <br>
    <br>
    cheers,<br>
    -kt<br>
    <br>
  </body>
</html>