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

Q_DECLARE_METATYPE → QT_DECL_METATYPE_EXTERN [<rest>]

    XMLWordPrintable

Details

    Description

      This reduces compilation time by avoiding repeated metatype instantiatons.

      $ git grep --recurse-submodules -we Q_DECLARE_METATYPE | grep .h: | cut -d/ -f1 | uniq -c | sort -n
            1 qt5compat
            1 qtcanvas3d
            1 qtspeech
            1 qtwebview
            2 qtdoc
            2 qtlottie
            2 qtnetworkauth
            2 qtwayland*
            3 qtgamepad
            3 qtsensors
            3 qtwebchannel
            5 qtxmlpatterns
            6 qtactiveqt*
            6 qtscxml
            6 qtsystems
            7 qtmqtt
           10 qtserialbus*
           10 qtvirtualkeyboard*
           10 qtwebengine*
           11 qtpim
           12 qtmultimedia*
           13 qtcoap
      
      • has own Jira ticket

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes