I compiled Qt 5.9.1 32bits for VS 2017 in static linking mode,commands I used can be found here.After installing Qt VS tools,i created a QtGUIapplication,and tried to compile it. I didn't modify the code,I did retarget the solution to Windows 10 SDK.
I get 141 errors (LNK2001 & LNK 2019) at compile time like this one:
Qt5Core.lib(qregularexpression.obj) : error LNK2019: symbole externe non résolu _pcre2_config_16 référencé dans la fonction "public: void __thiscall QRegularExpressionPrivate::getPatternInfo(void)" (?getPatternInfo@QRegularExpressionPrivate@@QAEXXZ)
The complete output (too large for stackoverflow) can be found here : https://pastebin.com/uYLJFU2V
EDIT 08/14/2017 : adding qtharfbuzz.lib
reduced errors number to 89