Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows build & add CI #41

Merged
merged 8 commits into from
Nov 5, 2023
Merged

Fix Windows build & add CI #41

merged 8 commits into from
Nov 5, 2023

Conversation

bkueng
Copy link
Owner

@bkueng bkueng commented Nov 4, 2023

This builds on top of #37.

@stefanb2 this fixes the Windows build and adds the required dependencies.

stefanb2 and others added 8 commits October 27, 2023 08:53
- matrix: build against Qt 5 & 6
… (const char*)

fixes this error:
D:\a\qMasterPassword\qMasterPassword\src\keypress_windows.cpp(99,5): error C2664: 'void CKeyboardSimulator::TextEntry(LPCTSTR)': cannot convert argument 1 from 'const _Elem *' to 'LPCTSTR' [D:\a\_temp\build\qMasterPassword.vcxproj]
_WIN32 is defined by the compiler whereas WIN32 by the SDK.
ERROR was conflicting with a macro on Windows.
@stefanb2
Copy link
Contributor

stefanb2 commented Nov 4, 2023

@bkueng I of course can't push to this branch.

So I fast-forwarded #37 to the HEAD of this branch and added a commit to address the compiler / linker warnings. If I understand the compiler warnings correctly, the resulting code wouldn't have worked. I marked #37 now as ready for review.

After this is merged we can work on additional build steps for Windows, i.e. installation, packaging and uploading of the build artifact.

@bkueng bkueng merged commit d91c48e into main Nov 5, 2023
16 checks passed
@bkueng bkueng deleted the windows_test_build branch November 5, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants