[Solved]cannot find qmake



  • I downloaded qt-win-opensource-4.6.0-vs2008.exe from the website and installed it correctly,then I installed qt-vs-addin-1.1.10.exe.Everything works well.However,there was a problem when I wanted to update the version of QT.I downloaded qt-win-opensource-4.8.0-vs2008.exe and I uninstalled the qt-vs-addin and qt-win-opensource-4.6.0-vs2008. I installed qt-win-opensource-4.8.0-vs2008.exe and qt-vs-addin-1.1.10.exe.But when I open my vc2008,choose "open QT Project File(.pro)",the error happened: "cannot find qmake.Please make sure you have a specified QT version." I don't know why.Can anyone give me some advice?



  • Open your project in VS, then open Qt Project Settings dialog (from VS Qt-Menu Project settings or similar - i don't have Qt in VS right now) and add the new Qt Version in there (navigate to the new path to qmake)



  • Thank you very much!
    [quote author="Zlatomir" date="1337268766"]Open your project in VS, then open Qt Project Settings dialog (from VS Qt-Menu Project settings or similar - i don't have Qt in VS right now) and add the new Qt Version in there (navigate to the new path to qmake)[/quote]



  • I don't know why I couldn't reply some days ago.But thank you for your help.My prjoect works normally now!
    [quote author="luxifu1989" date="1337684667"]Thank you very much! [quote author="Zlatomir" date="1337268766"]Open your project in VS, then open Qt Project Settings dialog (from VS Qt-Menu Project settings or similar - i don't have Qt in VS right now) and add the new Qt Version in there (navigate to the new path to qmake)[/quote] [/quote]



  • I'm glad that it works, you can mark the topic as solved: edit the original message and add [Solved] at the beginning of the title.



  • Ok!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.