<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 14, 2017 at 3:59 PM, Michal Klocek <span dir="ltr"><<a href="mailto:michal.klocek@qt.io" target="_blank">michal.klocek@qt.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
The problem is that your qtwebenigne build is not detected as embedded<br>
build, which means it is not configured for cross compilation. You have<br>
couple of options to fix it:<br>
<br>
1) in configure line use instead of platform -xplatform<br>
2) or better use -sysroot, -device and device -option (see<br>
mkspecs/devices/ for supported list of devices)<br>
<br>
./configure -prefix <your prefix> -release  -device linux-imx6-g++<br>
-device-option CROSS_COMPILE=<your toolchain path><br>
-sysroot <your sysroot path><br></blockquote><div><br></div><div>But, as said, I am compiling on the i.MX6 device so I am _not_ cross compiling as I would like to be able to compile our software (which uses Qt) on the device in docker image.</div><div>I would be really happy to be able to cross compile Qt as the compilation time would not take dozen hours - but then the tools (qmake etc) are compiled only for the host system while I need them on the target system as well - maybe there is such an option to have them there, is it?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
3) configure build explicitly with embedded feature<br>
-feature-embedded<br></blockquote><div><br></div><div>So I wold probably go with this approach. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Br<br>
<br>
Michal<br>
<br>
On 08/14/2017 03:31 PM, Filip Piechocki wrote:<br>
> 2 -platform<br>
</blockquote></div><br></div></div>