diffor (diffor) wrote,
diffor
diffor

Сборка под Windows XP с Qt 5.1.1 и Visual Studio 2012 - теперь и 64 бита

В догонку к предыдущей записи - нужно ведь ещё и под 64-бита собирать.

win32 {
    contains(QMAKE_TARGET.arch, x86_64) {
        QMAKE_LFLAGS += /SUBSYSTEM:CONSOLE,5.02
        LIBS *= -L"%ProgramFiles(x86)%/Microsoft SDKs/Windows/7.1A/Lib/x64"
    } else {
        QMAKE_LFLAGS += /SUBSYSTEM:CONSOLE,5.01
        LIBS *= -L"%ProgramFiles(x86)%/Microsoft SDKs/Windows/7.1A/Lib"
    }

    QMAKE_CXX += /D_USING_V110_SDK71_
    INCLUDEPATH += "%ProgramFiles(x86)%/Microsoft SDKs/Windows/7.1A/Include"
}
Tags: microsoft visual studio 11.0, msvc2012, qt, qt 5, windows xp, x64
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments