Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Missing window SDK header after switching from msvc2013 to 2015
Forum Updated to NodeBB v4.3 + New Features

Missing window SDK header after switching from msvc2013 to 2015

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 580 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.
  • M Offline
    M Offline
    Mwoua
    wrote on last edited by
    #1

    I was using Qt 64 bits with msvc2013, everything was fine. I had to switch to msvc2015, and the related Qt and now I have several error of missing include

    sdkddkver.h and VerRsrc.h

    I found these two header in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include and if I copy them to my project directory, other include are missing. I ended up with missing winapifamily.h and i cant find it anywhere

    MSVC2013 Express is uninstalled MSVC2015 Pro is installed SDK 8.1 installed with debugging tool

    Additionnal info : compiler and debugger looks fine inside Qt, and it seems to use vcvarsall.bat correctly

    A really basic main compile but if I add another include, the error appears
    #include <QApplication>
    #include <QMainWindow>
    #include <QPushButton>
    //#include <QAbstract3DGraph>

    int main(int argc, char *argv[])
    {
        QApplication app(argc, argv);
    
        QMainWindow *mw = new QMainWindow;
        QPushButton bouton("Hello world",mw);
        mw->show();
    
        return app.exec();
    }
    

    If I uncomment #include <QAbstract3DGraph> I have the error

    1 Reply Last reply
    0

    • Login

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