Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Visual studio 2010
Qt 6.11 is out! See what's new in the release blog

Visual studio 2010

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 983 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.
  • G Offline
    G Offline
    great88
    wrote on last edited by
    #1

    I am getting linker errors with QT 5 in visual studio 2010 . Has something to do with Q_OBJECT .
    What do I need to do to get my code to compile in visual studio ?
    I already added the include and lib directories to the project properties and linker attributes .
    Code compiles unless I use code that has Q_OBJECT in it .

    1 Reply Last reply
    0
    • G Offline
      G Offline
      great88
      wrote on last edited by
      #2

      OK , i got this working with the qt add-in for Visual Studio 2012 . But it only goes with the 64 bit version of qt .

      I suppose this means any app I write will work only on 64 bit O/S correct ? Sorry if this a stupid question but I am a dumb-a** beginner . Will it be easy to change my app afterwards to 32 bit ?

      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