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. VSaddin 2012 : No Qt version assigned to this project for platform x64
Forum Updated to NodeBB v4.3 + New Features

VSaddin 2012 : No Qt version assigned to this project for platform x64

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 3.0k 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.
  • N Offline
    N Offline
    nikita91
    wrote on last edited by
    #1

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

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

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nikita91
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nikita91
        wrote on last edited by
        #3

        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 ?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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