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

moc segfaults with ICU libs when compiling against Qt5

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTBUG-29759
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes