Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Usage of the Qt's layout system logic
Forum Updated to NodeBB v4.3 + New Features

Usage of the Qt's layout system logic

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 438 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brkonator
    wrote on last edited by brkonator
    #1

    Hi, our team is working on an internal UI library. We already have a commercial Qt license that we use in other projects (some of which will use this library). In this lib, we'd like to get inspiration from Qt's layout system so that we can achieve similar functionality. We'd only need to copy the logic from a few functions (mainly from qlayoutengine_p.cpp, qboxlayout.cpp, etc.) - e.g. our base class is not QWidget, we'd support only some of the Qt's layout attributes, it obviously wouldn't be compiled as a Qt source, and so on. So basically the codebase would need to be all reworked but the logic and calculations behind it would stay the same.

    My question is, what else (except the commercial license) do we need to copy the functionality from these sources based on our needs? Many thanks in advance.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's likely a question better asked to a lawyer which I am not.

      My thoughts is that you should clearly attribute the code you are copying as well as its licenses and also be ready for breakage because since you are pillaging the private implementation it may change at any time.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved