WhatsApp for Desktop works across all major platforms. It doesn't matter if you have the mobile app on your iPhone and the desktop app for Windows, as long as you can scan the QR code it will work. The same is true going from an Android to a Mac.