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

Linking fails for Windows CE build of Qt4.7.4 with unresolved external symbol gmtime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4
    • Image formats
    • None
    • Windows Mobile 6.1 Professional (i.e., target platform wincewm60-professional)

    Description

      When building the Windows CE version of Qt4.7.4 (using e.g., configure -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008, linking (nmake) fails with the following output:
      ....
      Creating library ..\..\lib\QtGuid4.lib and object ..\..\lib\QtGuid4.exp
      pngwrite.obj : error LNK2019: unresolved external symbol gmtime referenced in function png_convert_from_time_t
      ..\..\lib\QtGuid4.dll : fatal error LNK1120: 1 unresolved externals

      Function gmtime is not available under Windows CE / Windows Mobile, so that would explain the linker error. I marked the Component as Image formats, as it seems to be related to pngwrite / libpng.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            aenbacka Andreas Enbacka
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes