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. How to start multiple project?
QtWS25 Last Chance

How to start multiple project?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 5 Posters 1.4k 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.
  • ideadesignerI Offline
    ideadesignerI Offline
    ideadesigner
    wrote on last edited by
    #1

    Hello QDevnet,

    I have a project which has a two subdirectory project, qt console application. But, when I run the top project, only one project is running. How can I solve this issue?

    My top project ".pro" file:

    TEMPLATE = subdirs
    
    SUBDIRS += \
        FirstProject \
        SecondProject
    

    My project looks like:
    alt text

    Thanks,

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mostefa
      wrote on last edited by mostefa
      #2

      Hi @ideadesigner

      I think that you can not run your two projects by selecting top project,

      But you can switch between first/second project by clicking in kit selector:

      alt text

      and selecting FirstProject\SecondProject and run again

      Hope this can help you !

      ideadesignerI 1 Reply Last reply
      1
      • M mostefa

        Hi @ideadesigner

        I think that you can not run your two projects by selecting top project,

        But you can switch between first/second project by clicking in kit selector:

        alt text

        and selecting FirstProject\SecondProject and run again

        Hope this can help you !

        ideadesignerI Offline
        ideadesignerI Offline
        ideadesigner
        wrote on last edited by ideadesigner
        #3

        @mostefa But I have a network structure and two project communicates each other. My aim is when I run the project, two project should be run. At visual studio I can do it like this:

        alt text

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

          Hi,

          AFAIK, it's currently not possible. You should check the bug report system to see if there's anything related to that on the Qt Creator project,

          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
          1
          • C Offline
            C Offline
            Charlie_Hdz
            wrote on last edited by
            #5

            @ideadesigner

            Does dependencies between "projects" work for you?

            Is it one of your "projects" behave like a library?

            Thank you

            Kind Regards,
            Enrique Hernandez
            gearstech.com.mx
            chernandez@gearstech.com.mx

            jsulmJ 1 Reply Last reply
            0
            • C Charlie_Hdz

              @ideadesigner

              Does dependencies between "projects" work for you?

              Is it one of your "projects" behave like a library?

              Thank you

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

              @Charlie_Hdz No, he has 2 executables and want that both are started when he clicks on Run button.

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

              1 Reply Last reply
              0
              • ideadesignerI Offline
                ideadesignerI Offline
                ideadesigner
                wrote on last edited by
                #7

                Yes, @jsulm is right.

                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