Use win32: before each command that you want to run for win32 architecture only. Or you can use the scope as
win32 { SOURCES += paintwidget_win.cpp }
Alternatively, you can refer to the win32 or x64 architecture with the MSDN macro ($ Platform) for Visual Studio.
octoback
source share