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. [Solved]Qt generic project
Forum Updated to NodeBB v4.3 + New Features

[Solved]Qt generic project

Scheduled Pinned Locked Moved General and Desktop
20 Posts 5 Posters 6.9k 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
    Peppy
    wrote on last edited by
    #7

    That's nice...I'll try it in near future...I hope it will be much more funny :)...I am excited...

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chuck Gao
      wrote on last edited by
      #8

      You can also read "Advanced qmake usage" for the project definition

      Chuck

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #9

        Chuck.Gao: You are waaay off with your comment: The generic project does not even use qmake (well, in theory it could generate the Makefiles run by the "generic project" using qmake, but that would make no sense at all).

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chuck Gao
          wrote on last edited by
          #10

          [quote author="Tobias Hunger" date="1305644453"]Chuck.Gao: You are waaay off with your comment: The generic project does not even use qmake (well, in theory it could generate the Makefiles run by the "generic project" using qmake, but that would make no sense at all).[/quote]

          Thanks Tobias, i miss understanding the topic. And i find the detailed information in Assistant.

          Chuck

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Peppy
            wrote on last edited by
            #11

            QMAKE is for me deprecated. It has no way how to change makefile output dir, and for this reason, it is out of my task...

            The latest SDK which I downloaded, has come with jom.exe file (I would like to know more about this executable)...

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #12

              Peppy: Why would you care where the output of the build system is written to? That is a implementation detail of the build system. Use shadow building if you do not want to have temporary build files litter your source directory.

              Or are you talking about where the stuff gets installed to? That can be set with qmake.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                Peppy
                wrote on last edited by
                #13

                That just my meaning, that sources shouldn't be mixed with makefiles, but it is my opinion... I have a bad habit from Visual C++, where everything has own place, you know...

                I will have to change my project tree structure and spend more time with project planning...

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #14

                  Peppy: That is what shadow building is for. You create a empty directory next to the one holding the sources and everything qmake or make creates goes there.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    goetz
                    wrote on last edited by
                    #15

                    I not know anybody with a project of reasonable size who uses homebrewn Makefiles these days. They are a nightmare to maintain and are in no way cross platform.

                    http://www.catb.org/~esr/faqs/smart-questions.html

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Peppy
                      wrote on last edited by
                      #16

                      School projects at college requires (the same or simillar) structure as I mentioned in another topic (linked above)...

                      They need something like that:
                      @
                      project/
                      | - src/ // <-- sources
                      | - make/ // <-- makefile
                      | - bin/
                      | - doc/
                      | - examples/
                      ...
                      @

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #17

                        Oh, school... it is no reasonable sized project then:-)

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          goetz
                          wrote on last edited by
                          #18

                          And hardly any sensible project requirements :-)

                          http://www.catb.org/~esr/faqs/smart-questions.html

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            Peppy
                            wrote on last edited by
                            #19

                            Yes, it's silly, but what can I do?! Just do it as they want...

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              goetz
                              wrote on last edited by
                              #20

                              qmake has the -o switch to specify where the output should go. Maybe this can work for you.

                              http://www.catb.org/~esr/faqs/smart-questions.html

                              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