Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt Contribution
  4. I try compile qtwebkit
Forum Updated to NodeBB v4.3 + New Features

I try compile qtwebkit

Scheduled Pinned Locked Moved Unsolved Qt Contribution
13 Posts 9 Posters 12.6k Views 3 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.
  • N Offline
    N Offline
    nikohal
    wrote on last edited by
    #1

    Hi, I get this issue when i try to make qtwebkit in windows 7:

    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
    #include <unicode/uchar.h>
    ^
    compilation terminated.
    Makefile.WTF.Release:1028: recipe for target '.obj/release/DateMath.o' failed
    mingw32-make[2]: *** [.obj/release/DateMath.o] Error 1
    mingw32-make[2]: Leaving directory 'F:/Qt/qt5/qtwebkit/Source/WTF'
    Makefile.WTF:34: recipe for target 'release' failed
    mingw32-make[1]: *** [release] Error 2
    mingw32-make[1]: Leaving directory 'F:/Qt/qt5/qtwebkit/Source/WTF'
    Makefile:46: recipe for target 'sub-Source-WTF-WTF-pro-make_first-ordered' faile
    d
    mingw32-make: *** [sub-Source-WTF-WTF-pro-make_first-ordered] Error 2

    What I need to do?

    Regards, Niko H.

    D 1 Reply Last reply
    0
    • C Offline
      C Offline
      chershberger
      wrote on last edited by
      #2

      I'm having a similar issue making the qtwebkit for Raspberry Pi. Did you every resolve this?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nikohal
        wrote on last edited by
        #3

        No, I have same issue

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jm96
          wrote on last edited by
          #4

          [quote author="nikohal" date="1395436214"]

          ./wtf/unicode/icu/UnicodeIcu.h:29:27: fatal error: unicode/uchar.h: No such file
          or directory
          #include <unicode/uchar.h>
          ^
          compilation terminated.
          [/quote]
          I received the same error, but managed to fix it.
          go to /qt5/qtwebkit/Source/WTF/unicode/ and copy ucar.h to qt5/qtwebkit/Source/WTF/wtf/unicode/icu/
          Or if you prefer use terminal to copy (cp).

          1 Reply Last reply
          0
          • 2 Offline
            2 Offline
            20060606
            wrote on last edited by
            #5

            You need to install icu libraries, in Ubuntu, you could install by:
            sudo apt-get install libicu-dev

            1 Reply Last reply
            0
            • 2 Offline
              2 Offline
              20060606
              wrote on last edited by
              #6

              You need to install icu libraries, in Ubuntu, you could install by:
              sudo apt-get install libicu-dev

              1 Reply Last reply
              0
              • R Offline
                R Offline
                ranshalit
                wrote on last edited by
                #7

                Hello,

                I have the same issue.
                Installing libicu-dev in host did not help.
                Did anyone resolkved this issue ? I really struggle with it.

                Thank you very much,
                Ran

                S 1 Reply Last reply
                0
                • ArenorosA Offline
                  ArenorosA Offline
                  Arenoros
                  wrote on last edited by
                  #8

                  You need download icu and build for arm
                  http://starofrainnight-eng.blogspot.ru/2013/08/cross-compile-icu-512.html

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    Hi

                    I have exactly the same issue while building qtwebkit for raspberry pi and tried the link given above for ICU compilation. (TOOLCHAIN used -> gcc-4.7-linaro-rpi-gnueabihf)

                    System details:
                    Host = Ubuntu 14.04 LTS
                    Target = Raspberry pi 2 model B (with raspbian jessie)

                    Compilation settings:

                    export TOOLCHAIN_TARGET_SYSTEM=arm-linux-gnueabihf
                    export TOOLCHAIN_INSTALL_DIRECTORY=<<local host machine path>/gcc-4.7-linaro-rpi-gnueabihf/bin/

                    **configure command is: **
                    sudo ./configure CC=$TOOLCHAIN_TARGET_SYSTEM-gcc CXX=$TOOLCHAIN_TARGET_SYSTEM-g++ CPP=$TOOLCHAIN_TARGET_SYSTEM-cpp --host=$TOOLCHAIN_TARGET_SYSTEM --prefix=$TOOLCHAIN_INSTALL_DIRECTORY --enable-shared=yes --enable-tests=yes --enable-samples=no --with-cross-build=/opt/icu_prebuild/source

                    While doing so, I get the following errors.


                    ...
                    ...
                    checking if we have a C++ compiler... no
                    configure: error: C++ compiler arm-linux-gnueabihf-g++ does not work or no compiler found


                    However, I have arm-linux-gnueabihf-g++ and arm-linux-gnueabihf-c++ in the defined path in the host machine

                    Please help

                    Thanks
                    Ganesh

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      Hi There

                      I managed to cross compile the icu libraries using the link posted above, however, I still get the same error while building Qtwebkit.

                      Please someone help.

                      Is there any complete set of instructions to cross compile Qtwebkit for raspberry pi?

                      Any help is highly appreciated

                      Thanks

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Shidharth
                        wrote on last edited by
                        #11

                        Hi,

                        I am also having the same issue in ubuntu 16.04. I have installed icu packages, but still this same error occurs.
                        Please help to resolve the error.

                        Thanks

                        1 Reply Last reply
                        0
                        • R ranshalit

                          Hello,

                          I have the same issue.
                          Installing libicu-dev in host did not help.
                          Did anyone resolkved this issue ? I really struggle with it.

                          Thank you very much,
                          Ran

                          S Offline
                          S Offline
                          Shidharth
                          wrote on last edited by
                          #12

                          @ranshalit have you resolved the error.

                          1 Reply Last reply
                          0
                          • N nikohal

                            Hi, I get this issue when i try to make qtwebkit in windows 7:

                            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
                            #include <unicode/uchar.h>
                            ^
                            compilation terminated.
                            Makefile.WTF.Release:1028: recipe for target '.obj/release/DateMath.o' failed
                            mingw32-make[2]: *** [.obj/release/DateMath.o] Error 1
                            mingw32-make[2]: Leaving directory 'F:/Qt/qt5/qtwebkit/Source/WTF'
                            Makefile.WTF:34: recipe for target 'release' failed
                            mingw32-make[1]: *** [release] Error 2
                            mingw32-make[1]: Leaving directory 'F:/Qt/qt5/qtwebkit/Source/WTF'
                            Makefile:46: recipe for target 'sub-Source-WTF-WTF-pro-make_first-ordered' faile
                            d
                            mingw32-make: *** [sub-Source-WTF-WTF-pro-make_first-ordered] Error 2

                            What I need to do?

                            Regards, Niko H.

                            D Offline
                            D Offline
                            duan
                            wrote on last edited by
                            #13

                            @nikohal
                            have you resolved the error.

                            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