Unsolved Qt5.6.3 Cross compile issue for TI AM335x
-
Hi,
The message is pretty clear: there's no such device in Qt's mkspecs. For what kind of device are you cross-compiling Qt ?
-
@SGaist Am cross compiling for TI AM3358 device.
-
@SGaist I resolved the error adding device mkspecs for arm-linux-gnueabihf-g++ in qtbase/mkspecs/devices. Could make install all Qt modules except the compatible qt 5.6.3 webkit sources.
In file included from ./wtf/unicode/Unicode.h:32:0,
from ./wtf/text/ASCIIFastPath.h:31,
from ./wtf/text/WTFString.h:28,
from wtf/DateMath.h:54,
from wtf/DateMath.cpp:73:
./wtf/unicode/icu/UnicodeIcu.h:29:27: fatal error: unicode/uchar.h: No such file or directory
compilation terminated.
make[1]: *** [.obj/wtf/DateMath.o] Error 1
make[1]: Leaving directory `/home/ubuntu/target/qt-everywhere-opensource-src-5.6.3/qtwebkit/Source/WTF'
make: *** [sub-Source-WTF-WTF-pro-make_first-ordered] Error 2Do we need to cross compile latest icu sources to resolve the same?
-
@Ramakanth said in Qt5.6.3 Cross compile issue for TI AM335x:
the compatible qt 5.6.3 webkit sources.
Do you really need this module? Are you positively going to use it on your device?
If so, I guess you need libicu and libicu-dev installed in your device and then rsync'd to your host PC.
Is it libicu already prebuilt/available for installation on your board?
-
@Pablo-J-Rogina said in Qt5.6.3 Cross compile issue for TI AM335x:
Do you really need this module? Are you positively going to use it on your device?
Yes icu is missing in the tool chain to build the compatible Qt webkit sources.
Where can I download the latest icu sources to cross compile and install icu lib on the device or target?
No libicu is not prebuilt for installation on board. -
@Ramakanth said in Qt5.6.3 Cross compile issue for TI AM335x:
Where can I download the latest icu sources
Google says: http://site.icu-project.org/repository
-
@jsulm I mean whether it would be compatible with Qt webkit 5.6.3 sources as dependencies with ICU?
-
@Ramakanth I don't know. You asked for latest ICU source code. You can try and see whether it works.
-
@Ramakanth said in Qt5.6.3 Cross compile issue for TI AM335x:
Do you really need this module?
I was indeed refering to the Qt Webkit module
-
@jsulm Yes we need Qt webkit module as am trying to port application which uses Qtwebkit from Qt 4.8.x version to Qt 5.6.3
-
@Ramakanth this Webkit bug report deals with removing icu dependency, so maybe it can help you somehow.
-
@Pablo-J-Rogina It didnot help building Qt webkit 5.6.3 without icu. Can you let me know any instructions on cross compiling ICU sources as it throws errors while running configure line on icu sources?
-
@Ramakanth said in Qt5.6.3 Cross compile issue for TI AM335x:
Can you let me know any instructions on cross compiling ICU sources
I'm afraid I cannot help here. Not that I've done it myself.
In addition, since you're using Qt 5.6.3 could it be possible that you use QWebEngine (available since 5.6) instead of QWebkit?