Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt creator - msvc2015 32bit setup issue with stdio.h
Forum Update on Monday, May 27th 2025

Qt creator - msvc2015 32bit setup issue with stdio.h

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
msvc2015qt creator
3 Posts 2 Posters 1.7k 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.
  • T Offline
    T Offline
    tom.abcd
    wrote on 7 Apr 2016, 18:36 last edited by
    #1

    I have installed QT 5.6 using the installer and am using the msvc2015 compiler.
    I originally had QT 5.3 installed but uninstalled that before installing QT5.6.
    I have a simple app that I had compiled in 5.3 and I can successfully compile it in 5.6 also.
    I am now adding to my simple app but when I include stdio.h I get lots of errors.
    Here is one of the errors I am getting.
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_wstdio.h:318: error: C2664: 'int _vfwprintf_l(FILE *const ,const wchar_t *const ,const _locale_t,va_list)': cannot convert argument 3 from 'void *' to 'const _locale_t'
    Since this is a standard header file that should work then I am guessing I have some setup issue with some compiler flag or something.

    As a side note every time I start QT creator I get an error:
    "gdb.exe - System Error"
    "The program can't start because cygwin1.dll is missing from your computer.
    Try reinstalling the program to fix this problem."

    I am guessing that the 5.3 uninstall left some setting behind that 5.6 sees that causes it to try and load the gdb.exe but I no longer have gdb since I am using msvc2015 now.

    Any suggestion on what to try next?

    Thanks
    Tom

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tom.abcd
      wrote on 7 Apr 2016, 21:40 last edited by
      #2

      Found out the stdio.h issue was cause by another .h file I was including.
      Still working through what exactly in the other .h was causing the issue but if I did not include the other .h file then the stdio.h compiled ok.

      I still have the GDB.exe error but I am thinking of asking that in another thread so the issue is in the title so people will see it easier and be more likely to respond.

      Thanks
      Tom

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 7 Apr 2016, 22:37 last edited by
        #3

        Hi,

        Might be a silly question but are you sure you installed Qt for MSVC 2015 and not MinGW ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        1/3

        7 Apr 2016, 18:36

        • Login

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