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

MSVC errors out on recent exported extern template QMetaTypeForType

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0
    • Core: Object Model
    • None
    • Windows

    Description

      MSVC will print warnings when encountering the declarations and in developer-build it will error-out.
      An example of one of the errors:

      warning C4910: 'QtPrivate::QMetaTypeForType<bool>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-82403
          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              manordheim MÃ¥rten Nordheim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes