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

[OAS] Try to move a duplicating code into a separate library

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Network

      There are a few classes that don't belong to the data infrastructure, but serve as a piece of helpers infrastructure.

      For example files bellow:

      HttpFileElement
      HttpRequiest
      ServerVariable
      helpers-body/header

      In other words, it doesn't matter what user defines in *.yaml file for generation, these files from the list above will be generated exactly as it is and included into the resulting Qt6 Client library.

      More over, if user wants to link 2 different Qt6 Client libraries generated from 2 different *.yaml files, resulting application will have a problem with symbols duplications because of these files.

      Currently, the problem is being solved by putting each library under own namespace name on the generation step.

      But also we can optimize the usage by moving duplicated logic into a separate library.

      And use this "common" library from each Qt6 Client library.

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

            tatiana.borisova Tatiana Borisova
            tatiana.borisova Tatiana Borisova
            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