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

Share more code between Q_APPLICATION_STATIC and Q_GLOBAL_STATIC

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Core: Other
    • None
    • 3

      Q_APPLICATION_STATIC obviously started out as an (out-of-date, by now) copy of Q_GLOBAL_STATIC, but since then there's massive divergence between the two. E.g. Q_G_S was ported away from std::aligned_* (QTBUG-99122) while Q_A_S still uses it, causing QTBUG-107569.

      Identify the differences between the two, then decide how we can share the implementation between the two (hint: Policy-Based Design).

      Acceptance criteria: qapplicationstatic.h is DRY w.r.t. qglobalstatic.h

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

            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

              Created:
              Updated:

                There are no open Gerrit changes