update templates with instrument ids
fix compilation on windows, require Qt5QuickWidgets lib
switch to Qt-5.4 on Windows
workaround for #40646