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.8k 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 16 May 2011, 13:55 last edited by
    #1

    Could you explain me what is the "Generic project" for? (Latest Qt SDK)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stukdev
      wrote on 16 May 2011, 14:31 last edited by
      #2

      Where you read this?
      Can you explain in details the problem?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Peppy
        wrote on 16 May 2011, 17:17 last edited by
        #3

        I read it in Qt SDK Documentation at "Home" page is below link to "Generic Project" or something like that...

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on 16 May 2011, 20:53 last edited by
          #4

          Just "check the documentation":http://doc.qt.nokia.com/qtcreator-snapshot/creator-project-generic.html.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Peppy
            wrote on 16 May 2011, 21:38 last edited by
            #5

            Yes, that I've read earlier. But It's able to connect with Qt SDK/API ?? In order to make my own project tree structure as I wish to do and apply Qt framework ?

            So my meaning (of this generic project) is: Create your own project structure with your source files and add some makefiles which you write yourself and set up it as wish you want, add to QtCreator main make and build it installed compillers...

            (as I requested "here":http://developer.qt.nokia.com/forums/viewthread/4147/)

            Is my meaning of generic project correct or not??

            [EDIT: fixed link, Volker]

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on 17 May 2011, 06:28 last edited by
              #6

              It is a Makefile based project... you can do whatever you can do with the buildsystem of your choice.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                Peppy
                wrote on 17 May 2011, 10:21 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 17 May 2011, 14:42 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 17 May 2011, 15:00 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 17 May 2011, 15:09 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 17 May 2011, 15:12 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 17 May 2011, 19:43 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 17 May 2011, 19:48 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 17 May 2011, 21:32 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 17 May 2011, 22:06 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 18 May 2011, 09:23 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 18 May 2011, 09:43 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 18 May 2011, 09:54 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 18 May 2011, 11:04 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 18 May 2011, 16:45 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

                                          1/20

                                          16 May 2011, 13:55

                                          • Login

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