Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38445

When linking with ICU4C, -licudata should be included in command line on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.1
    • 5.2.1
    • Build System, WebKit
    • None
    • Linux Debian Squeeze (w/ backports to Wheezy-like levels).
    • 159465536f0dd1a373f0c67e5530f9af6ccec433

    Description

      When using icu4c built as archives, link lines need to include the data library to resolve all symbol references. The two cases so far are in icu/icu.pro and tools/tools.pri:

      qt-everywhere-opensource-src-5.2.1/qtbase/config.tests/unix/icu/icu.pro: LIBS += -licui18n -licuuc -licudata

      qt-everywhere-opensource-src-5.2.1/qtbase/src/corelib/tools/tools.pri: LIBS_PRIVATE += -licui18n -licuuc -licudata

      With shared libraries, library dependencies will solve the resolution problem. Archives need this to be explicit to pick up the data. It may be that other ICU build/package styles will have problems with this so it may need to be looked at more carefully.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            slmcb Monty Brandenberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes