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. Cannot create Visual Studio 2017 project file

Cannot create Visual Studio 2017 project file

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 650 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.
  • D Offline
    D Offline
    deleted328
    wrote on last edited by
    #1

    Hello,

    I'm trying to generate a Visual Studio 2017 project file with the command:

    qmake -spec win32-msvc -tp vc

    What I get generated is a Visual Studio 2015 project file.

    I built an msvc 2017 32-bit version of Qt. I have all of the directories setup (or so I think). I debugged it to the mkspecs/common/msvc-version.conf file where it says that the QMAKE_MSC_VER variable is set to 1900 which is VS 2015. I'm not sure where this value is getting set.

    Any help would be appreciated.

    Thanks,
    Kevin

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Do you have two qmake ? If yes, just which is one in path ? Hope there is no confusion with compiler and Visual studio. Visual Studio 2017 has VC compiler 15.0. Hope this confusion does not exist.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted328
        wrote on last edited by
        #3

        Thanks for the reply. I used an absolute path to use the qmake from the msvc2017 directory with the same results.

        Kevin

        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