Commit 8cc7abb8 authored by Martin Höher's avatar Martin Höher

Fix Win64 build script + qtkeychain

Do not use build subdirectory in 64 bit Windows build. Also, do not try
to link against ADVAPI32.dll when cross-compiling.
parent e8933bf9
Pipeline #13586923 passed with stages
in 24 minutes and 17 seconds
......@@ -46,7 +46,8 @@ win32 {
SOURCES *= \
$$QT5KEYCHAIN_PWD/keychain_win.cpp
LIBS *= -lcrypt32 -lAdvapi32
LIBS *= -lcrypt32
*-msvc:LIBS *= -lAdvapi32
DEFINES *= USE_CREDENTIAL_STORE
}
......
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
set PATH=C:\Qt\5.9.2\msvc2017_64\bin;%PATH%
mkdir build
cd build
mkdir build-win64-vs
cd build-win64-vs
echo %PATH%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment