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

qt_no_entrypoint target property is not documented

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.1.0 Alpha
    • 6.0.0
    • Build System: CMake
    • None
    • Windows
    • baff03d3d4f02a19b6b9a0070a5b8196b4df101d (qt/qtbase/dev)

    Description

      We have our own `WinMain` method that needs to be called instead of Qt `WinMain`. With Qt 5, this could be configured using cmake target property `QT5_NO_LINK_QTMAIN`. With Qt6 I can not find support for this flag. But I can also not see any replacement. I've seen that there is a library `Qt6EntryPoint` that seems to define `WinMain`. But in the cmake configuration files there is nothing I could see that would enable/disable `Qt6EntryPoint`.

      Is there a way to configure linking `WinMain`?

      May be related to

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            emmenlau Mario Emmenlauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes