Important: Please read the Qt Code of Conduct -

Sql driver with Visual Studio compiler

  • Hi,

    I am trying to compile SQL driver using Microsoft compiler but I get this error:

    qsqlmysql_resource.rc(4): fatal error RC1015: cannot open include file 'winver.h'

    Now I know rc.exe is part of windows kits, I have added the path to this executable in the PATH variable and also
    added the path to the Include/um and Include/winrt which are the includes of windows kits to the INCLUDEPATH variable
    using qmake but It still won't compile...

    I'm using visual studio 2013....

    Anyone ever encountered this?

  • Lifetime Qt Champion


    What is your target OS ?

Log in to reply