# Error compiling QT4 with VS2015

• I want to compile QT 4.8.6 with VS2015 using the provided configure.exe and then nmake, but get the following errors when javascriptcore is been made:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cstdint(23): error C2039: 'int_least8_t': is not a member of 'global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cstdint(23): error C2873: 'int_least8_t': symbol cannot be used in a using-declaration
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cstdint(23): error C2039: 'int_least16_t': is not a member of 'global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cstdint(23): error C2873: 'int_least16_t': symbol cannot be used in a using-declaration
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cstdint(24): error C2039: 'int_least32_t': is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cstdint(24): error C2873: 'int_least32_t': symbol cannot be used in a using-declaration

I found another page talking about this exact issue months ago, but unfortunately the compilation still fails despite the patching. Any idea what I could do to compile it ?
Thanks.

• Why Qt 4.8.6 and not the latest Qt 4.8.7 ?
I've compiled Qt 4.8.7 with VS2010, VS2013 and VS2015, in 32 and 64 bits, here's my steps:
https://github.com/sandym/qt-patches/tree/master/windows/qt-4.8.7
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8440081477165222, "perplexity": 20785.034867803628}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-34/segments/1596439738552.17/warc/CC-MAIN-20200809102845-20200809132845-00584.warc.gz"}