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

Implement qtmain / winmain static library handling

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P1: Critical
    • 6.0.0
    • None
    • Build System
    • None
    • Windows
    • 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

            cadam Cristian Adam
            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