Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Organizing the code
Qt 6.12 LTS is out! See what's new in the release blog

Organizing the code

Scheduled Pinned Locked Moved General and Desktop
12 Posts 2 Posters 4.6k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #3

    Start with design and planing first... and not with coding...

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #4

      yeah but the different screens are part of diferent parts of the project. I mean all the screens and respective code for these screens are segregated to all those four folders and i want that all those four folders will be run in a single project....

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #5

        [quote author="AcerExtensa" date="1336634911"]Start with design and planing first... and not with coding... [/quote]

        All screens and coding are already done but all are in different projects...I want them to be under a single project...It is like how to make a directory structure for a large project.

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #6

          bq. It is like how to make a directory structure for a large project.

          Create project and insert subprojects....

          I really don't understand what you actually want?
          You need to organize some projects under one solution? Or you need new project which can make use of and control some existing projects?

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #7

            if you a have a large project with many different different components how would you arrange them or organize them so that you have only one executable to run all of them

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #8
              1. One main exe + sub-executables controlled through QProcess + command line arguments(if it only need them on start), or controlled through events or something like this(pipes, QtSingleApplication , etc...)

              or

              1. Main app(exe) + "plugins":http://qt-project.org/doc/qt-4.8/plugins-howto.html(dll)
              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #9

                I am doing for a window platform

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #10

                  bq. window platform

                  you mean windows platform? Or X11? It doesn't mater... booth options will work on WIN & X11 platforms.

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #11

                    Till now I tried to make sub-directories for each and every components including Main, but I am not able to write Main.pro. I am not able to understand how to link all these directories in main.pro file.

                    Can anyone is there any proper documentation for it or can anyone throw some light on this topic

                    thanks a lot to all of those who replied to this post

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #12

                      Have you read "this":http://qt-project.org/doc/qt-4.8/qmake-project-files.html documentation?

                      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
                      • Unsolved