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

Add possibility to export generated classes

    XMLWordPrintable

Details

    Description

      Sometimes it makes sense to build replica classes into libraries. However on Windows everything is private by default and needs to be exported (Q_DECL_EXPORT, Q_DECL_IMPORT). Currently it does not seem possible to add custom macros into generated headers.

      For example, the compiler could be extended with support for adding a macro after the class:

      class MY_EXPORT_MACRO SomeClass
      

      Attachments

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

        Activity

          People

            bstottle Brett Stottlemyer
            poikelin Joni Poikelin
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes