Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Better way to split software in different modules
QtWS25 Last Chance

Better way to split software in different modules

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 379 Views
  • 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.
  • G Offline
    G Offline
    GeminiMan
    wrote on last edited by
    #1

    Hello,
    I want to create marketing project management software with several modules in C ++ / Qt

    Application/
    -Researsh
    -BlocNote
    -Planing
    -Statistics
    -.....

    And I have questions without answers:

    1-Do we have to separate them in the library for each module?

    2-Can a dynamic library contain a graphical interface with it .ui?

    3-If the dynamic library itself needs another library. for example the blocknote module needs a corrector and a dictionary (hunspell) which requires for commercial software that the library is dynamically linked. So what should I do about this kind of situation?

    -Application / lib / blocknote / lib / hunspell (load in the lib blocknote)
    or
    -Application / lib / blocknote
    -Application / lib / hunspell (load the blocknote separately in the app with a sethunspell ())

    You think this is the method that big software uses to split the software into several modules or there is another way.

    jsulmJ 1 Reply Last reply
    0
    • G GeminiMan

      Hello,
      I want to create marketing project management software with several modules in C ++ / Qt

      Application/
      -Researsh
      -BlocNote
      -Planing
      -Statistics
      -.....

      And I have questions without answers:

      1-Do we have to separate them in the library for each module?

      2-Can a dynamic library contain a graphical interface with it .ui?

      3-If the dynamic library itself needs another library. for example the blocknote module needs a corrector and a dictionary (hunspell) which requires for commercial software that the library is dynamically linked. So what should I do about this kind of situation?

      -Application / lib / blocknote / lib / hunspell (load in the lib blocknote)
      or
      -Application / lib / blocknote
      -Application / lib / hunspell (load the blocknote separately in the app with a sethunspell ())

      You think this is the method that big software uses to split the software into several modules or there is another way.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @GeminiMan
      1 - no, this is just an option
      2 - yes
      3 - not clear what you mean. Do you mean additional dependencies? A lib can depend on other libs.

      "You think this is the method that big software uses to split the software into several modules" - yes, it is common to split bigger projects into modules and build those as shared libraries.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • G Offline
        G Offline
        GeminiMan
        wrote on last edited by
        #3

        all right the questions 1 & 2 is clear for me. what do you mean by additional dependencies

        jsulmJ 1 Reply Last reply
        0
        • G GeminiMan

          all right the questions 1 & 2 is clear for me. what do you mean by additional dependencies

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @GeminiMan said in Better way to split software in different modules:

          what do you mean by additional dependencies

          Libraries you app (or libraries used by your app) depends on. I mean libraries not written by you, but used in your application.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GeminiMan
            wrote on last edited by
            #5

            @jsulm thank you for your answer i appreciate man

            1 Reply Last reply
            0

            • Login

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