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. Getting a .pro file to work for both Visual Studio 2008 and Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Getting a .pro file to work for both Visual Studio 2008 and Qt Creator

Scheduled Pinned Locked Moved General and Desktop
22 Posts 7 Posters 11.7k 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.
  • S Offline
    S Offline
    scarleton
    wrote on last edited by
    #6

    Why is it sometime folks cannot see the obvious! It is working fine, the error message I get from running it is my applications obscure message that the correct command line parameters where not passed in. Now to figure out how to set command line options for debugging!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #7

      For QtCreator:

      Go to Projects --> run settings --> add the parameters you need :-)

      For MSVS

      Go To vcproj properties --> debug --> add the command line parameters

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vcsala
        wrote on last edited by
        #8

        Gerolf, maybe it is funny, but after several months developing on Qt, few days ago I have started to write a command line tool and it took me several hours to find this setting in Qt Creator... :)

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #9

          I also looked longer for those options the first time. also how to change the project build parameters :-)

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

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

            [quote author="scarleton" date="1292697100"]Why is it sometime folks cannot see the obvious! It is working fine, the error message I get from running it is my applications obscure message that the correct command line parameters where not passed in. Now to figure out how to set command line options for debugging![/quote]

            Sorry, I cannot see any kind of error message. At worst some compiler warnings.

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

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

              Scarleton, VCsala: Any ideas for a better place to put those settings? I thought the place they are now is rather obvious...

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vcsala
                wrote on last edited by
                #12

                After all it is obvious, it was my fault, as I was developing in different environments for years and it took some time to regain my aquaintance with these kind of IDE tools.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  scarleton
                  wrote on last edited by
                  #13

                  [quote author="Tobias Hunger" date="1292707921"]Scarleton, VCsala: Any ideas for a better place to put those settings? I thought the place they are now is rather obvious...[/quote]Once I started to really look for it, it was obvious. But then I am coming from the Visual Studio world. The very first place I looked for it was by right clicking on the very root of the solution tree and looked for Project Settings.

                  What would be cool is if that option exists and when the user clicked on it that way, the <Projects> button on the left would flash as it became active to draw folks attention to it. Hopefully one or two times folks would get with the program.

                  Sam

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    giesbert
                    wrote on last edited by
                    #14

                    That's right for us MSVS people. But how is it for KDE or other IDEs?
                    Personally, I like context menus and options there and it could help to have an additional entry forwarding to the projects page, yes.

                    Nokia Certified Qt Specialist.
                    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

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

                      scarleton: I actually like that idea:-) I'll look into it once I find some time to do so. I am currently a bit busy refactoring some code and want to get that done first.

                      Maybe you could file your suggestion in our "issue tracker":http://bugreports.qt.nokia.com/ so it won't be forgotten?

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        vcsala
                        wrote on last edited by
                        #16

                        [quote author="Gerolf Reinwardt" date="1292747656"]Personally, I like context menus and options there and it could help to have an additional entry forwarding to the projects page, yes.[/quote]

                        Exactly, this is what I missed at the beginning, right clicking on a project and reach all related properties.

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

                          +1 for a menu entry "Go to project settings" which does switch to the project view of creator and switches there to the currently selected project.

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

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

                            Create an entry in the bug tracker and vote for it instead of going "+1" here...

                            1 Reply Last reply
                            0
                            • V Offline
                              V Offline
                              vsorokin
                              wrote on last edited by
                              #19

                              Tobias Hunger, I do it. Link: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-3419

                              --
                              Vasiliy

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

                                ok, voted for it.

                                Nokia Certified Qt Specialist.
                                Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                                1 Reply Last reply
                                0
                                • V Offline
                                  V Offline
                                  vcsala
                                  wrote on last edited by
                                  #21

                                  I have voted on it.

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    scarleton
                                    wrote on last edited by
                                    #22

                                    I also throw in my vote:)

                                    there is another thread I started, which resulted in feature request. Maybe it is something you would like some votes, too:

                                    http://developer.qt.nokia.com/forums/viewthread/2606/

                                    http://bugreports.qt.nokia.com/browse/QTCREATORBUG-3420

                                    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