support qr code sharing on Windows platform.

currently only MinGW/GCC is supported since I can't compile libqrencode
using MSVC.