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. How to compile qt project in visual studio?
Forum Updated to NodeBB v4.3 + New Features

How to compile qt project in visual studio?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.2k 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.
  • M Offline
    M Offline
    Mr.Anubis
    wrote on 23 Aug 2012, 16:03 last edited by
    #1

    Hi,

    Seems like compiling and running qt MSVS/MingW projects on windows is like drilling teeths in rock :( . I find docs to very unorganized/ hard to find right stuff . Anyways going with my question

    How do I compile and link multiple souce files qt project made in VS on windows? Can anyone please link me to some basic starting tutorials?

    I had asked similar question previously , seems like none could give good answer with explanation :(
    http://qt-project.org/forums/viewthread/19580/ <- please give good answer with explanation if you can, thanks

    from my writings you can guess I'm literally crying whenever using qt :(

    1 Reply Last reply
    0
    • S Offline
      S Offline
      scroverty
      wrote on 23 Aug 2012, 19:38 last edited by
      #2

      bq. Seems like compiling and running qt MSVS/MingW projects on windows is like drilling teeths in rock :(

      Agree on that one. You should use Linux to develope, it's more than heaven could bless.

      The only reason I use Window is to port my app there, no more or less.

      This is the "doc":http://qt-project.org/doc/qt-5.0/deployment-windows.html regarding deployment on Window. If you don't understand anything, just ask.

      Alvis Ar'Berkeley Andrew.
      Pleased to meet you!

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on 24 Aug 2012, 14:01 last edited by
        #3

        You seem to have some basic problems with vs and Qt. However, I am not completely sure where your problem is.

        First, I am not familiar with vs 2010. I am still using vs 2005. To my understanding it should not be too different.

        It looks to me that the moc step (Meta Object Compiling) is not performed at all. This may/does happen when the project has not been started as Qt project right from the beginning. You should not add a new standard project to your solution. When installing vsaddin, it introduces some additional menu items into vs.

        In vs Go to "file" =>"add"=>"new project". This should open a familiar dialog. However, in addition to the previous items in "project types" it shall also show an entry "Qt projects". In my case it is the very first entry on the left of that dialog. Choose "Qt projects" and you will find the different template analog to the standard options. For the case you have shown in your other post, a "Qt console application" should be fine.
        Now you are basically ready to start programming.

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mr.Anubis
          wrote on 24 Aug 2012, 16:43 last edited by
          #4

          Thanks a lot , that answer really helped a lot :)

          1 Reply Last reply
          0

          1/4

          23 Aug 2012, 16:03

          • Login

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