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. Merging two Qt projects.
Forum Updated to NodeBB v4.3 + New Features

Merging two Qt projects.

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 405 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.
  • R Offline
    R Offline
    Rututraj
    wrote on last edited by
    #1

    I have created QWidgets application with mainwindow and one second window where it shows some info in QTableWidgets.
    Is it possible to merge this application to another project and if possible, how can I do it?

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

      Hi,

      What do you mean by merge ?
      Do you want to create a new project in place of these two ?

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

      R 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What do you mean by merge ?
        Do you want to create a new project in place of these two ?

        R Offline
        R Offline
        Rututraj
        wrote on last edited by Rututraj
        #3

        @SGaist No,
        existing project is having two windows ie mainwindow and a second window.
        I want to know if I can use this project in other project, like if including myptoject.pro file or something like that

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

          Not your project .pro file.

          You should write a .pri file that you will include and in there have the SOURCES and HEADERS statements.

          However, if you plan to reuse these widgets in several projects, you might want to consider putting them in a library.

          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
          2

          • Login

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