PDA

View Full Version : visual studio 2010 add-in 1.1.11 for Qt4



anh5kor
19th August 2015, 08:59
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.

d_stranz
20th August 2015, 23:26
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)