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. [SOLVED] Visual Studio 2010 Qt Add-in Error
Qt 6.11 is out! See what's new in the release blog

[SOLVED] Visual Studio 2010 Qt Add-in Error

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 8.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Whenever I build our application I get a dialog appearing that says "Can't find a Qt version for the current build platform.", but the build process completes and the application is lauchable.

    I am using Visual Studio 2010 version 10.0.30319.1 RTMRel and Qt Add-in 1.1.9. on a Windows 7 64 bit machine. I have checked all of the applicable settings in the Qt Project Settings and it is showing the correct and only version (4.7.2).

    Is this something I have to live with?

    --
    Regards,

    William

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi, William

      click right on your solution map and select "Select Project QT Version". Select the one, you have in your config or select DefaultQTVersion

      After this, the message should be away...

      Sorry, I have a german version of VS 2010, so I cannot give you exact names here....

      Regards,
      Peter

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi Peter, I assume you mean to select the very first node in the Solution Explorer? i.e. the root "Solution". If this is the case when I do that and select the "Change Solution's Qt version" and set the Qt version my project unloads leaving me with 0 projects! And when saved leaves the Solution file (.sln) like this:

        Microsoft Visual Studio Solution File, Format Version 11.00

        Visual Studio 2010

        Global
        GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
        EndGlobalSection
        GlobalSection(ExtensibilityGlobals) = postSolution
        QtVersion = $(DefaultQtVersion)
        EndGlobalSection
        EndGlobal

        If it's not what you mean and you are referring to the "Qt Project Setting" option of an individual project within a Solution then selecting this option shows that the correct version is already set.

        --
        Regards,

        William

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          This 'issue' appears to have been caused by an aborted build of the SDK under a different target platform and was 'fixed' as a result of a rebuild of the SDK.

          --
          William

          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