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. Building Qt 4.8.7 with MSVC 2015

Building Qt 4.8.7 with MSVC 2015

Scheduled Pinned Locked Moved General and Desktop
2 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.
  • M Offline
    M Offline
    Mike Williamson
    wrote on last edited by
    #1

    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
    0
    • J Offline
      J Offline
      JulienMaille
      wrote on last edited by
      #2

      Did you manage to compile Qt4 with msvc2015?

      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