qode icon indicating copy to clipboard operation
qode copied to clipboard

Win32 support

Open feg624 opened this issue 4 years ago • 4 comments

Hi, first of all thanks for this great work! I'm looking at Nodegui for a desktop app I need to build for Win32 machines.

I know Qode currently supports Win64 only, but would it be possible it to support Win32 with some work?

If possible, I'd like to give it a try.

Thanks in advance.

feg624 avatar Mar 20 '21 18:03 feg624

Yes, I think its possible. You can check this file here: https://github.com/nodegui/qode/blob/master/build.js

if you see, there is TARGET_ARCH variable. Try setting that to x86 and build Then its just fixing things as they break.

a7ul avatar Mar 20 '21 19:03 a7ul

Before starting with building qode I would actually first try and build nodejs itself on my machine just to make sure i have all dependecies sorted out.

a7ul avatar Mar 20 '21 19:03 a7ul

If you want to see what exact commands you need to run to build: you can check the workflow here: https://github.com/nodegui/qode/blob/master/.github/workflows/windows.yml

a7ul avatar Mar 20 '21 19:03 a7ul

Thanks @a7ul I'm going to give it a try!!!

feg624 avatar Mar 21 '21 15:03 feg624