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

Qt 5 RC1 build fails under windows with -iconv

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.0.0 RC 1
    • Core: Locales (i18n)
    • None

    Description

      I've downloaded Qt5 RC1 from downloads page and run
      configure.bat -debug-and-release -opensource -iconv
      Then I run nmake to build Qt5. But build fails:

      codecs\qtextcodec.cpp(288) : error C2061: syntax error : identifier 'QIconvCodec'
      

      The reason is in line 58 of qiconvcodec_p.h:

      #if defined(Q_OS_UNIX) && !defined(QT_NO_ICONV) && !defined(QT_BOOTSTRAPPED)
      

      My OS Windows is excluded by this directive.
      When I run configure.bat -help I see "+" sign near iconv options:

       +  -iconv ............. Enable support for iconv(3).
       +  -sun-iconv ......... Enable support for iconv(3) using sun-iconv.
       +  -gnu-iconv ......... Enable support for iconv(3) using gnu-libiconv.
      

      Does it mean that iconv is enabled on my platform?
      I think you need either change configure script to disable iconv under windows or change qiconvcodec_p.h to build under windows.

      See logs attached.

      Attachments

        1. configure-help.txt
          15 kB
        2. configure-output.txt
          6 kB
        3. nmake.log
          91 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            strump Sergey Kozyr
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes