Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Icu header files missing

Icu header files missing

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 2 Posters 4.5k 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.
  • I Offline
    I Offline
    img_man
    wrote on last edited by
    #1

    In my QT 5.1 source, there is no file udat.h.

    The file /qt-everywhere-opensource-src-5.1.0/qtwebkit/Source/JavaScriptCore/runtime/DatePrototype.cpp includes it.

    I'm happy to change the include path to point to it, but I can't seem to locate it...

    Where is udat.h?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      ICU is a dependency you have to install before compiling Qt.

      Otherwise if you don't use WebKit you can also avoid building it

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Offline
        I Offline
        img_man
        wrote on last edited by
        #3

        Hi, thanks.

        Ok, but there's an icu folder in that directory. Shouldn't it have what I need? I modified the makefiles for several of the other folders to include ./icu/, and that seems to of gotten them over the hump.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If I'm not mistaken, this folder contains only headers so nothing to link against

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            img_man
            wrote on last edited by
            #5

            Ah, right. I do have libicu-dev installed, but hadn't thought to point QT to my system /usr/include directory. I'll add it to the end of the list. Thanks.

            1 Reply Last reply
            0
            • I Offline
              I Offline
              img_man
              wrote on last edited by
              #6

              On another note, if these files are required in the system, shouldn't QT look there by default?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                ICU is not required, unless you want to build QtWebKit

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  img_man
                  wrote on last edited by
                  #8

                  Ok, but in the make files for QtWebKit, it should point to the systems /usr/include directory, no?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    I haven't checked recently but I'm not sure that ICU is installed by default on linux

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      img_man
                      wrote on last edited by
                      #10

                      That's not really the issue here. Even if I do have them installed, the make file will never find them, unless I go and edit it. It's not a good idea to make people edit make files in order to install the framework. If it is installed, it will probably be in /usr/include. The make files should point there by default.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Are you sure you have ICU's headers installed ? Installing the library doesn't mean that the headers are also there. Generally they are part of the corresponding dev-package

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • I Offline
                          I Offline
                          img_man
                          wrote on last edited by
                          #12

                          I'm sure. As I mentioned earlier, libicu-dev is installed.

                          1 Reply Last reply
                          0
                          • I Offline
                            I Offline
                            img_man
                            wrote on last edited by
                            #13

                            I think you're still missing the point. How in the world does the make file know if I have ICU installed or not? It doesn't even try to look into /usr/include.

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              The makefile doesn't. It's the configure scripts that searches for installed elements to do the automatic enabling/disabling of features.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • I Offline
                                I Offline
                                img_man
                                wrote on last edited by
                                #15

                                Well, really the configure script uses my qconf file to tell the make files where to look. But yes, it happens when you execute the configuration. I will add /usr/include.

                                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