Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Moved] QT: normal VS project file to build?
Forum Update on Monday, May 27th 2025

[Moved] QT: normal VS project file to build?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 4 Posters 2.2k Views
  • 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
    pps83
    wrote on last edited by
    #1

    I'm using QT (4.7.3) and I'd like to make normal VS solution/project files, build it, and step through the code with debugger to learn the code while reading tutorial...

    Instead I have that yet another make qmake which supposed to be able to generate vs solution/project files but it seems that all it generates is some junk empty project files.

    Here's what I did (from QT command promt): cd c:\qt\4.7.3\examples\tutorial qmake -t vcsubdirs qmake -t vcapp qmake -tp vc

    but all of them generate random junk or errors...

    I assume that I can also generate such solution for entire QT (from c:\qt\4.7.3) to build it from source...

    What's the proper way to do it? It has tight integration with VS (designer, add-in etc) it just doesn't make sense that there is no normal solutions/project files there.

    Did I do something wrong, or VS is kind of unsupported build platform? :)

    also, is it possible to generate regular VS project/solution to build QT itself, please say it's possible... :)

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VitorAMJ
      wrote on last edited by
      #2

      Hello friend,

      If you did not find anything in your search in the forum, check this post:
      "Getting Started":http://developer.qt.nokia.com/forums/viewthread/8855/

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

        I would recommend to install the "visual studio addin":http://qt.nokia.com/downloads/downloads#qt-other and import the .pro file. It will create a new VS project.

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

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VitorAMJ
          wrote on last edited by
          #4

          Of course, if you need further assistance, its just ask!

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            One thing has not been mentioned so far. Typically people forget to start the command prompt from visual studio's menu entry "Tools". This is setting up the environment conform to do compilation with visual studio.
            Furthmore, I can only emphasize Volker's advice to use the vsaddin. However, you need a licensed version of visual studio. To my knowledge the express versions do not allow to import the addin.

            Vote the answer(s) that helped you to solve your issue(s)

            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