Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Building Qt 4.8.7 with MSVC 2015

    General and Desktop
    2
    2
    1589
    Loading More Posts
    • 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
      Mike Williamson last edited by

      I am trying to revive a 4.X qt project (which I then plan to migrate to Qt 5.x), but I would like to build with MSVC 2015.

      I am running in a MSVC 2015 native x32 command shell the following configure line to keep things simple:

      configure -platform msvc-2015

      But i am running into a compile error:

      C:\Qt\qt-everywhere-opensource-src-4.8.7\src\corelib\io\qfsfileengine_win.cpp(64) : fatal error C1083: Cannot open include file: 'shlobj.h': No such file or directory

      I have installed all of the windows development kits, and a find reports ShlObj.h in the following directories:
      Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Include/ShlObj.h
      Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/um/ShlObj.h
      Program Files (x86)/Windows Kits/8.1/Include/um/ShlObj.h

      Do I need to tweak the qmkspecs to pull in a particular kit path? Any suggestions how to get the build working? I can't believe I am the first to see this...

      -Mike

      1 Reply Last reply Reply Quote 0
      • J
        JulienMaille last edited by

        Did you manage to compile Qt4 with msvc2015?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post