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

Implement qtmain / winmain static library handling

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      9298033ed6e6e67cce89243f44b7ce77018d0e62 (qt/qtbase/wip/cmake)

      Description

      qmake by default on Windows links in the qtmain static library to executables. This library provides the WinMain entry point for applications that use the "int main(argc, argv)" entry point.

      We need to support that as well. Otherwise, without a dirty workaround, users will get undefined symbol errors on subsystem=windows executables due to a missing WinMain function.

        Attachments

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

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes