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

Cannot use qt5_add_resources in dynamic libraries with Visual Studio

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.8.0
    • Build tools: rcc
    • None
    • Windows; Visual Studio

    Description

      The cpp files generated by qt5_add_resources do not contain __declspec(dllexport) required for symbols to be visible in a dynamic library compiled by Visual Studio.

      I propose adding an RCC option "--exporting" (default false) that adds the necessary function decorations.

      Attachments

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

        Activity

          People

            erb Jason Erb (Suitable Technologies)
            erb Jason Erb (Suitable Technologies)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes