Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How to start multiple project?

    General and Desktop
    5
    7
    1199
    Loading More Posts
    • 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.
    • ideadesigner
      ideadesigner last edited by

      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 Reply Quote 0
      • M
        mostefa last edited by 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 !

        ideadesigner 1 Reply Last reply Reply Quote 1
        • ideadesigner
          ideadesigner @mostefa last edited by ideadesigner

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 1
            • C
              Charlie_Hdz last edited by

              @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

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @Charlie_Hdz last edited by

                @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 Reply Quote 0
                • ideadesigner
                  ideadesigner last edited by

                  Yes, @jsulm is right.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post