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

Organizing the code

Scheduled Pinned Locked Moved General and Desktop
12 Posts 2 Posters 4.0k 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.
  • P Offline
    P Offline
    pragati
    wrote on last edited by
    #1

    Hi All,

    I have to develop GUI for a big project using Qt. It goes like this:

    Project name is MultiFunctionTester
    This MultiFunctionTester shall have 4 modes:
    Solar, DMM, Safety and Settings.

    Now each of these modes have many sub components in them which will further have different number of screens in them....like solar will have 3 more components under it - Measurement, Memory and Actual. All these 3 will have number of screens in it...

    I am confused how to organize them and make it as a single project.
    Can anyone suggest me?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      It is more likely question to designer actually...

      1. How much information should be on each widget? (max widget size)
      2. Is it necessary what all widgets should be visible simultaneously?
      3. How many monitors can be used?

      You can then decide between Docking widgets with one main widget, Set of separated widgets with main "toolbar" widget to show/hide them, Outlook like design, VS like design.

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AcerExtensa
        wrote on last edited by
        #3

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

        God is Real unless explicitly declared as Integer.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pragati
          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
          • P Offline
            P Offline
            pragati
            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
            • A Offline
              A Offline
              AcerExtensa
              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?

              God is Real unless explicitly declared as Integer.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pragati
                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
                • A Offline
                  A Offline
                  AcerExtensa
                  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)

                  God is Real unless explicitly declared as Integer.

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pragati
                    wrote on last edited by
                    #9

                    I am doing for a window platform

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      AcerExtensa
                      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.

                      God is Real unless explicitly declared as Integer.

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        pragati
                        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
                        • A Offline
                          A Offline
                          AcerExtensa
                          wrote on last edited by
                          #12

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

                          God is Real unless explicitly declared as Integer.

                          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