Important: Please read the Qt Code of Conduct -

Visual studio 2010

  • 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 .

  • 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 ?

Log in to reply