Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5.6.3 Cross compile issue for TI AM335x
Forum Updated to NodeBB v4.3 + New Features

Qt5.6.3 Cross compile issue for TI AM335x

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
14 Posts 4 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS SGaist

    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 ?

    R Offline
    R Offline
    Ramakanth
    wrote on last edited by
    #4

    @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 2

    Do we need to cross compile latest icu sources to resolve the same?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • R Ramakanth

      @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 2

      Do we need to cross compile latest icu sources to resolve the same?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #5

      @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?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      R 1 Reply Last reply
      0
      • Pablo J. RoginaP Pablo J. Rogina

        @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?

        R Offline
        R Offline
        Ramakanth
        wrote on last edited by
        #6

        @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.

        jsulmJ Pablo J. RoginaP 2 Replies Last reply
        0
        • R Ramakanth

          @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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #7

          @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

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          R 1 Reply Last reply
          1
          • jsulmJ jsulm

            @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

            R Offline
            R Offline
            Ramakanth
            wrote on last edited by
            #8

            @jsulm I mean whether it would be compatible with Qt webkit 5.6.3 sources as dependencies with ICU?

            jsulmJ 1 Reply Last reply
            0
            • R Ramakanth

              @jsulm I mean whether it would be compatible with Qt webkit 5.6.3 sources as dependencies with ICU?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #9

              @Ramakanth I don't know. You asked for latest ICU source code. You can try and see whether it works.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              R 1 Reply Last reply
              0
              • R Ramakanth

                @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.

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on last edited by
                #10

                @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

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Ramakanth I don't know. You asked for latest ICU source code. You can try and see whether it works.

                  R Offline
                  R Offline
                  Ramakanth
                  wrote on last edited by
                  #11

                  @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

                  Pablo J. RoginaP 1 Reply Last reply
                  0
                  • R Ramakanth

                    @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

                    Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on last edited by
                    #12

                    @Ramakanth this Webkit bug report deals with removing icu dependency, so maybe it can help you somehow.

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    R 1 Reply Last reply
                    0
                    • Pablo J. RoginaP Pablo J. Rogina

                      @Ramakanth this Webkit bug report deals with removing icu dependency, so maybe it can help you somehow.

                      R Offline
                      R Offline
                      Ramakanth
                      wrote on last edited by
                      #13

                      @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?

                      Pablo J. RoginaP 1 Reply Last reply
                      0
                      • R Ramakanth

                        @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?

                        Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #14

                        @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?

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved