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

How to start multiple project?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 5 Posters 1.4k Views 4 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.
  • I Offline
    I Offline
    ideadesigner
    wrote on 25 Jul 2017, 11:58 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 25 Jul 2017, 12:16 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 !

      I 1 Reply Last reply 25 Jul 2017, 12:21
      1
      • M mostefa
        25 Jul 2017, 12:16

        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 !

        I Offline
        I Offline
        ideadesigner
        wrote on 25 Jul 2017, 12:21 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 25 Jul 2017, 20:49 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 26 Jul 2017, 01:00 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

            J 1 Reply Last reply 26 Jul 2017, 04:50
            0
            • C Charlie_Hdz
              26 Jul 2017, 01:00

              @ideadesigner

              Does dependencies between "projects" work for you?

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

              Thank you

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 26 Jul 2017, 04:50 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
              • I Offline
                I Offline
                ideadesigner
                wrote on 27 Jul 2017, 02:54 last edited by
                #7

                Yes, @jsulm is right.

                1 Reply Last reply
                0

                1/7

                25 Jul 2017, 11:58

                • Login

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