Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Recompiling icu
Forum Updated to NodeBB v4.3 + New Features

Recompiling icu

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 2.1k Views 1 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.
  • P Offline
    P Offline
    Project try
    wrote on last edited by
    #1

    Hey guys , yesterday I posted about how big icu files are , anyways I got a few solution , one of them was recompiling qt without the support of icu , but it'll take a lot of time , so I decided to compile one myself

    I used this " I'm new so please be patient with me ":

    http://qt-project.org/wiki/Compiling-ICU-with-MSVC
    1-
    I downloaded the source for icu and unzipped it in @ c:\ @

    2- I downloaded a a dat file which is smaller than the original one from here:

    http://apps.icu-project.org/datacustom/ICUData51.html

    and I replaced it with the one in the @ " C:\icu\source\data\in " path @

    3- I downloaded Cygwin which is installed in this path @ " C:\cygwin64 " @

    so I followed what he said but I didn't get the " Make sure you’ve e.g. ‘make’ installed for Cygwin " part

    I opened cmd.exe gone to the source folder using cd command , then used this @ " set PATH=C:\cygwin\bin;%PATH% " @ and there was no problem

    but when I used this @ " C:\icu\source> dos2unix * " @

    it says it's not recognized.

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You said you installed cygwin in C:\cygwin64 but you added C:\cygwin\bin to the PATH. It should be C:\cygwin64\bin if that's the case.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Project try
        wrote on last edited by
        #3

        hey man , thanks for your help , but still the same problem :( look at this:

        http://oi57.tinypic.com/jtbaxw.jpg

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Well then do you actually have the dos2unix app? I haven't used cygwin for ages but I think it was an optional package. Run the cygwin package manager again and check.

          EDIT: oh, and there should be space between dos2unix and *

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Project try
            wrote on last edited by
            #5

            ^

            thanks man , I downloaded dos2unix and put it in the in file

            I did what the post said and I got this at the end:

            http://oi60.tinypic.com/2h3aro8.jpg

            i'm not sure what to do next ? where can I find the dll file so I can use it ?

            the last line i used is this:

            @

            C:\icu\source> bash runConfigureICU Cygwin/MSVC --prefix=/cygdrive/c/icu/dist

            @

            after that he says it's ready to be used , and the others are for static built qt I think.

            1 Reply Last reply
            0
            • Chris KawaC Offline
              Chris KawaC Offline
              Chris Kawa
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I don't know. I haven't built ICU myself. Usually it's in a bin or lib folders. Look around.

              But it's not that easy. You can't just "use a dll" with your existing Qt installation unless you're 300% sure you compiled ICU with the exact same compiler, compiler version, libraries and compilation flags as the build of Qt you have (there's 99% chance you didn't).

              The next step to use such a build of ICU is to build Qt with it linked. To do this you set up paths to ICU like described in the Usage section of the page you linked and then go on to compiling Qt as described "here":http://qt-project.org/wiki/Building_Qt_5_from_Git

              1 Reply Last reply
              0
              • P Offline
                P Offline
                Project try
                wrote on last edited by
                #7

                :(

                Thank you , I'll check it out hopefully I can understand something :D

                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