Results 1 to 2 of 2

Thread: visual studio 2010 add-in 1.1.11 for Qt4

  1. #1
    Join Date
    Oct 2014
    Posts
    71
    Thanks
    13
    Qt products
    Qt5
    Platforms
    Windows

    Question visual studio 2010 add-in 1.1.11 for Qt4

    Hello All,

    I have downloaded Qt4 plugin 1.1.11 for visual studio.
    It install successfully and i got the Qt template in visual studio 2010.
    I created one test Project using Qt Application from VS2010,but when i compiled the project i got the flowing below error
    QtGuid4.lib(QtGuid4.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
    I tried to change the linker Property Advance to MachineX64 (/MACHINE:X64) in Project Property of VS2010,then i got the below error

    Debug\moc_test_v2.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
    I tried to change the build configuration in VS2010 to "X64" but still i got error
    There's no Qt Version assigned to this Project for Platform x64 .Please use the "change Qt version " feature and choose a valid Qt version for this platform
    My pc "x64" Platform and i am using Qt4.7.1 version

    Please advice with some solution.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,233
    Thanks
    303
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: visual studio 2010 add-in 1.1.11 for Qt4

    Are you using a 64-bit version of Qt4.7.1 built using VS 2010? (error 1)
    Did you do a clean rebuild of your project after changing the macine type to x64? (error 2)
    Did you go into the Qt menu and change the Qt version of your 64-bit project to point to your 64-bit Qt install as the error message is telling you to? (error 3)

Similar Threads

  1. Using Qt 5.4.1 Visual Studio 2013 libs in Visual Studio 2010
    By ^NyAw^ in forum Installation and Deployment
    Replies: 0
    Last Post: 6th March 2015, 10:20
  2. Visual Studio 2010 Add-in
    By lipun4u in forum Newbie
    Replies: 1
    Last Post: 24th April 2013, 23:20
  3. Qt and Visual Studio 2010
    By SixDegrees in forum Qt Programming
    Replies: 6
    Last Post: 15th November 2010, 19:56
  4. Visual Studio Plugin (1.1.6) crashes Visual Studio (2010)
    By mboeni in forum Installation and Deployment
    Replies: 0
    Last Post: 11th October 2010, 16:46
  5. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.