VSaddin 2012 : No Qt version assigned to this project for platform x64
-
Hello,
I use Windows 7 x64, with:
Visual Studio 2012 Utimate,
qt-opensource-windows-x86-msvc2012_64-5.2.1.exe
qt-vs-addin-1.2.2-opensource.exeVS2012 Qt version path in Qt options is : C:\Qt\Qt5.2.1\5.2.1\msvc2012_64
When I build an empty QT5 project from the Qt wizard:
With debug x64 configuration, I got the messagebox: "No Qt version assigned to this project for platform x64"
With debug win32 configuration, I got linker message: "Qt5Widgetsd.lib(Qt5Widgetsd.dll)fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'"So I can't build apps for 32 nor 64 bits !
I think the linker message indicates a 64-bit Qt version, so why the messageBox when i switch to X64 project configuration ?
What did I do wrong?
Thanks. -
I found the solution, in thread
https://qt-project.org/forums/viewthread/19430/
Add Qt5Version_x0020_x64= to .vcxproj file near Qt5Version_x0020_win32=
This seems a very old bug...
-
Next question:
When i use F5 to start debug i got the message : "Qt5Cored.dll not found"
But the dll is in C:\Qt\Qt5.2.1\5.2.1\msvc2012_64\bin
Need add this path somewhere ?
Another configuration problem ? -
Hi and welcome to devnet,
Since it looks like a bug in the Add-In, did you check the "bug report system":http://bugreports.qt-project.org to see if it's something known ? If you can't find anything, please consider opening a new report