[SOLVED] Visual Studio 2010 Qt Add-in Error
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?
dakyaze last edited by
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....
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
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
GlobalSection(ExtensibilityGlobals) = postSolution
QtVersion = $(DefaultQtVersion)
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.
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.