Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Mainwindow problem
Forum Updated to NodeBB v4.3 + New Features

Mainwindow problem

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 313 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.
  • M Offline
    M Offline
    med12
    wrote on last edited by
    #1

    Hi,i'am working with a group of friends on a qt c++ project ,after finishing our tasks we must do the integration,so i will integrate all my friends projects in one,the problem is that they all use mainwindow in their tasks without a dialog,so i can't add my friend mainwindow.h and .cpp and .ui to my project which it has already one ,so what can i do please, thanks for your help

    JonBJ jsulmJ 2 Replies Last reply
    0
    • M med12

      Hi,i'am working with a group of friends on a qt c++ project ,after finishing our tasks we must do the integration,so i will integrate all my friends projects in one,the problem is that they all use mainwindow in their tasks without a dialog,so i can't add my friend mainwindow.h and .cpp and .ui to my project which it has already one ,so what can i do please, thanks for your help

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @med12
      This isn't enough of an explanation./thought through. What does "integration" actually mean? You cannot just combine a bunch of codes/project by some magic. Yes, you have to think about clashing file names, class names, whether multiple programs all use QMainWindows, how they are supposed to fit together, and so on. You will indeed have to rename your friends' files, and doubtless their classes, but that is only the start of putting things together.

      1 Reply Last reply
      1
      • M med12

        Hi,i'am working with a group of friends on a qt c++ project ,after finishing our tasks we must do the integration,so i will integrate all my friends projects in one,the problem is that they all use mainwindow in their tasks without a dialog,so i can't add my friend mainwindow.h and .cpp and .ui to my project which it has already one ,so what can i do please, thanks for your help

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

        @med12 Usually if collaborating on same project people work on same code base and use a version control system like Git. You should think about switching to this approach instead of messing up with different code bases.

        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