Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Still getting "There's no Qt version assigned to this project...." error.
Forum Updated to NodeBB v4.3 + New Features

Still getting "There's no Qt version assigned to this project...." error.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 9.3k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kwende
    wrote on last edited by kwende
    #1

    Hello,

    I have found a number of posts talking about this problem and the resolution to it. Essentially, I am attempting to build a Qt application from within Visual Studio using the Qt Vs Tools plugin. The project was initially x86, and when switching it to x64 I began running into the following error:

    0_1536607721878_91a0dfcd-b55b-4e6b-80a3-0e760b229af0-image.png

    "There's no Qt version assigned to this project for platform x64. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.

    Here's the problem: it looks as though it's already setup.

    First, here is my Qt Options that's Visual Studio-wide:

    0_1536607961175_f5b065d0-6e01-4c9c-b3a8-0e2cea097271-image.png

    Second, when the project is set to build as 64 bit, I go to project > Qt project settings and I get the following (which hints that it's configured):

    0_1536607577645_f62e4f4c-4b05-44fc-b096-993a5c3ecfce-image.png

    Next, I went into my vcxproj file, as other threads have instructed, and added the following:

    0_1536607639080_0887ecf8-1ca1-49ec-be0b-671f28481e59-image.png

    Closing Visual Studio and reopening it, I get the same error every time. This appears to be an issue that's been going on for years (judging by the dates on some of the threads I'm seeing). I just recently installed the plugin, and I'm using VS 2017 on Windows 10. As far as I can tell, everything is up to date.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pchilds
      wrote on last edited by
      #2

      Although it may not be why you are getting the problem, I believe you would be better off pointing at a msvc2017_64 folder if you are using VS 2017.
      Another issue is that the Win32 version is pointing at the *_64 folder, though unless you're running such a build I don't think this will cause a problem.
      I am surprised you have a UicDir without a MocDir in the vcxproj and that the lupdateOnBuild also doesn't show up. It looks like the VS ui and the xml aren't synced up.
      Also, make sure that you have the version coded in for every vcxproj file that uses qt.

      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