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. Qt64bit cant compile simple project with command promit
Forum Updated to NodeBB v4.3 + New Features

Qt64bit cant compile simple project with command promit

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 2.1k 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.
  • B Offline
    B Offline
    bepehr
    wrote on last edited by
    #1

    hi
    i have installed a fresh windows 64Bit ultimate , and Visual studio 2012
    and installed qt-windows-opensource-5.0.2-msvc2012_64-x64-offline.exe downloaded from here ...

    Qt Creator works fine with projects but when i want to want to compile a simple project with Qt 5.0.2 64-bit for Desktop (MSVC 2012) ( Qt command prompt)
    after this commands
    @cd project_path
    qmake
    nmake@

    if get this error
    @Qt5Gui.lib(Qt5Gui.dll) : fatal error LNK1112: module machine type 'x64' conflict
    s with target machine type 'X86'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
    \VC\BIN\link.EXE"' : return code '0x458'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
    \VC\BIN\nmake.exe"' : return code '0x2'
    Stop.@

    can any one help me ?
    ty

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

      Hi,

      Are you starting a 64 bit command line ?

      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
      • B Offline
        B Offline
        blackRock
        wrote on last edited by
        #3

        choose the platform from win32 to x64

        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