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. Multi-window application
Forum Updated to NodeBB v4.3 + New Features

Multi-window application

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.1k 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.
  • T Offline
    T Offline
    Troyer
    wrote on last edited by
    #1

    Hi!
    I have several projects created in QT, and now I need to somehow load all the created projects into one created project, and then open the project that was selected using a normal button (just a working form should open), but I don't need to implement it through QFile, because I don't need to open it through a .exe application, but just a separate window with some selected project, after which its working form should open.

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      You can include the other windows .h and .cpp and simply create a instance of them when needed. In the master project.
      Else im not really sure what you are asking.

      T 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        You can include the other windows .h and .cpp and simply create a instance of them when needed. In the master project.
        Else im not really sure what you are asking.

        T Offline
        T Offline
        Troyer
        wrote on last edited by
        #3

        @mrjj It turns out that I will have to add all the projects (8 of them) to my project ( .cpp and .h files), and then display their form via the from instance, if necessary?

        mrjjM 1 Reply Last reply
        1
        • T Troyer

          @mrjj It turns out that I will have to add all the projects (8 of them) to my project ( .cpp and .h files), and then display their form via the from instance, if necessary?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Troyer
          Hi
          Yes if their .cpp contains code you use, this is the only way.
          If it was just to show the UI then UILoader could be used but
          it sounds like you want each window to function as it does in the standalone
          project ?

          T 1 Reply Last reply
          0
          • mrjjM mrjj

            @Troyer
            Hi
            Yes if their .cpp contains code you use, this is the only way.
            If it was just to show the UI then UILoader could be used but
            it sounds like you want each window to function as it does in the standalone
            project ?

            T Offline
            T Offline
            Troyer
            wrote on last edited by
            #5

            @mrjj Then I will do it through instances. Just connecting all the projects, I probably get confused in their .cpp and .h files)

            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