<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 01/01/16 09:06, Kingsley Turner
wrote:<br>
</div>
<blockquote cite="mid:5685A6FB.5090901@krt.com.au" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<blockquote cite="mid:1451556365.4504.27.camel@gagarin.lan"
type="cite"> </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>[...]</tt><tt></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>
</blockquote>
<br>
<br>
It's getting very close now!<br>
Everything compiles, but the link borks for a bunch of the
executables (failing in the same way for each):<br>
<br>
<font color="#000099"><tt>/home/kingsley/Code/rpi/mythinstall/lib/libQt5OpenGL.so:
undefined reference to `QDebug::resetFormat()'</tt><tt><br>
</tt><tt>../../libs/libmythui/libmythui-0.27.so: undefined
reference to `QSurfaceFormat::defaultFormat()'</tt><tt><br>
</tt><tt>../../libs/libmythbase/libmythbase-0.27.so: undefined
reference to `QtPrivate::QContainerImplHelper::mid(int, int*,
int*)'</tt><tt><br>
</tt><tt>../../libs/libmythtv/libmythtv-0.27.so: undefined
reference to `QOpenGLContext::setNativeHandle(QVariant
const&)'</tt><tt><br>
</tt><tt>../../libs/libmythbase/libmythbase-0.27.so: undefined
reference to `QDebug::~QDebug()'</tt><tt><br>
</tt><tt>collect2: error: ld returned 1 exit status</tt><tt><br>
</tt><tt>make[2]: *** [mythfrontend] Error 1</tt><tt><br>
</tt><tt>make[1]: *** [sub-mythfrontend-make_first] Error 2</tt><tt><br>
</tt><tt>make: *** [programs] Error 2</tt></font><br>
<br>
So it looks like there's some header file clash between the unpacked
Qt source, and (I guessed) the Qt packages.<br>
I couldn't work out how to remove just one package from this
separated apt- local packages structure, so I nuked everything under
mythbuild/RPI2, and removed <font color="#3333ff">qtbase5-dev</font>
from the package list. Re-running necessitated a large download for
my 3rd-world internets. <br>
<br>
BTW: Is there an easier way to remove a package from this local apt
repository ?<br>
<br>
However we're back to the same problem. So it must be a clash with
the <font color="#3333ff">libqt5webkit5-dev</font> package, I guess
I can remove this too, but then we'll be back at the broken
compilation stage.<br>
<br>
<br>
<br>
<br>
</body>
</html>