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

moc segfaults with ICU libs when compiling against Qt5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.2
    • 5.0.0
    • Build tools: moc
    • None
    • Mac OS X
    • b05f19f23217ebf982f021c71a04b1df73827c35

    Description

      To reproduce use the attached example.
      Example requires ICU libs which you should download from icu-project.org and copy the libs into example's lib folder.

      Also you need to set DYLD_LIBRARY_PATH that it points to example's lib folder.

      If following define is used then example doesn't crash.

      #ifndef Q_MOC_RUN
      #include <unicode/coll.h>
      #endif

      Same example compiles without any issues with Qt4.x, even when Q_MOC_RUN is
      not used.

      Attachments

        Issue Links

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

          Activity

            People

              ogoffart Olivier Goffart (Woboq GmbH)
              paeglis Gatis Paeglis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes