Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error compiling QT4 with VS2015
QtWS25 Last Chance

Error compiling QT4 with VS2015

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt4vs2015javascriptcorenmake
2 Posts 2 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EarthHobbit
    wrote on 25 Apr 2016, 07:41 last edited by EarthHobbit
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sandy.martel23
      wrote on 25 Apr 2016, 23:28 last edited by
      #2

      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

      1 Reply Last reply
      0

      2/2

      25 Apr 2016, 23:28

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved