Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Ideas for modulize my code using qt for another qt project.
Forum Updated to NodeBB v4.3 + New Features

Ideas for modulize my code using qt for another qt project.

Scheduled Pinned Locked Moved Unsolved Brainstorm
2 Posts 2 Posters 410 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.
  • F Offline
    F Offline
    fromis_9
    wrote on 16 Dec 2022, 06:01 last edited by
    #1

    Hi. I'm Windows App developer and found some common classes in each project, so I want to modulizes it to import to new project easily. (C++)
    I considered building it as a dynamic library, but the code part I want to make as a module contains other heavy libraries including qt, so this doesn't seem appropriate.
    Still, is this the best? Is there any better way? A method dependent on the Windows platform is fine.

    J 1 Reply Last reply 16 Dec 2022, 06:12
    0
    • F fromis_9
      16 Dec 2022, 06:01

      Hi. I'm Windows App developer and found some common classes in each project, so I want to modulizes it to import to new project easily. (C++)
      I considered building it as a dynamic library, but the code part I want to make as a module contains other heavy libraries including qt, so this doesn't seem appropriate.
      Still, is this the best? Is there any better way? A method dependent on the Windows platform is fine.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 16 Dec 2022, 06:12 last edited by
      #2

      @fromis_9 said in Ideas for modulize my code using qt for another qt project.:

      so this doesn't seem appropriate

      Why? If the other project is also based on Qt there is no problem to use a shared library which depends on Qt.

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

      1 Reply Last reply
      1

      2/2

      16 Dec 2022, 06:12

      • Login

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