Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7180

TARGET_CPU is set wrong when using Qt 4.8 VS 2010 & Windows SDK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.5.0-beta
    • None
    • Windows 7 x64, Windows SDK 7.1

    Description

      When using prebuild Qt 4.8 for VS 2010 and Widnows SDK compilers, TARGET_CPU environment variable is set to x64 even when the tool chain is "Microsoft Windows SDK for Windows 7 (7.1.7600.30514) (x86)". The Qt library is 32-bit but the compiled object files are in x64. This caused the following linker error:

      QtGuid4.lib(QtGuid4.dll):-1: error: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

      The same setup works in Creator 2.4.1.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            stephenju Stephen Chu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes