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. How to integrate QT 5.9 with Visual Studio 2017
Forum Updated to NodeBB v4.3 + New Features

How to integrate QT 5.9 with Visual Studio 2017

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 1.3k 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.
  • S Offline
    S Offline
    SAUIND
    wrote on last edited by
    #1

    I want to use some of the additional library and QT as an UI.

    So I decided to use Visual Studio 2017 for the same.

    After lots of search i went to the following link and installed all the required package:
    http://cse.ucdenver.edu/~mchoi/4565/installing_vs2017qt591.htm

    But after successful installation and integration once i created the project. I got error saying,
    "Exception from HRESULT: 0x80042003"
    and in Visual Studio output windows says:
    "Project 'QtGuiApplication1' could not be loaded because you need to be running Windows 10. Please update Windows to continue development on your Universal Windows project."

    I am using Windows 7 and QT 5.9, are they incompatible.

    Does Universal Windows Platform (UWP) needs window 10?

    Also bellow thread says:
    https://developercommunity.visualstudio.com/content/problem/242391/exception-from-hresult-0x80042003-creating-c-visua.html

    Which means we can not use window 7 for QT and Visual Studio integration.

    Is there any workaround for window 7 and visual studion 2017 for this?

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      In the image from that link:
      qt installation

      looks like you selected the UWP instead of the msvc2017 64-bit version

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      3
      • S Offline
        S Offline
        SAUIND
        wrote on last edited by
        #3

        Thanks a lot...

        I have tried the steps and project is fabulously build...

        1 Reply Last reply
        1

        • Login

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