PDA

View Full Version : Qt Visual Studio Addon Installation (Browse to Qt Version)



ChrisL1234
7th June 2012, 19:29
I downloaded the Qt addon for Visual Studio 2008 from here:

http://qt.nokia.com/downloads/visual-studio-add-in

I have the licensed version of Visual Studio 2008.

When I start Visual Studio, opened a peer's project with Qt code, and clicked Build I get the error:


The following error occured: There's no Qt version assigned to this project for platform Win32. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.

To fix that from the Visual Studio menubar, I can choose Qt, Qt Options, Qt Versions, and press the Add button which gives me the capability to set the version name and browse to the version wanted. It appears to be looking for a qmake.exe which I can't find on my computer.

Question: What do I do?

For the addon, the linked source information page does not help me. It's at:

http://qt-project.org/wiki/QtVSAddin

Here are the files produces by the addon install:


Directory of C:\Program Files (x86)\Digia\Qt4VSAddin

06/07/2012 12:57 PM <DIR> .
06/07/2012 12:57 PM <DIR> ..
06/07/2012 12:46 PM <DIR> 9.0
04/20/2012 03:34 AM 476 Changes-1.1.11
06/07/2012 12:57 PM 0 files.txt
06/07/2012 12:46 PM <DIR> help
06/07/2012 12:46 PM <DIR> imageformats
06/07/2012 12:46 PM <DIR> projects
05/15/2012 04:09 AM 427,520 qmakewrapper1.dll
05/15/2012 04:09 AM 141,312 qrceditor.exe
06/07/2012 12:46 PM <DIR> qrcItems
06/07/2012 12:46 PM 46 Qt Visual Studio Add-in.url
05/15/2012 04:09 AM 18,432 qtappwrapper.exe
03/08/2012 09:22 AM 2,516,480 QtCore4.dll
03/08/2012 09:26 AM 8,409,600 QtGui4.dll
03/08/2012 09:29 AM 283,136 QtSvg4.dll
03/08/2012 09:22 AM 355,840 QtXml4.dll
06/07/2012 12:46 PM <DIR> uiItems
06/07/2012 12:46 PM 412,702 uninst.exe
06/07/2012 12:46 PM <DIR> wizards
11 File(s) 12,565,544 bytes
Here are the Qt SDK Open Source files downloaded from the below link:

http://qt.nokia.com/downloads/sdk-windows-cpp


Directory of C:\QtSDK

06/07/2012 01:21 PM <DIR> .
06/07/2012 01:21 PM <DIR> ..
06/07/2012 11:52 AM 21,015 Changelog.txt
06/07/2012 12:03 PM 35,864 components.xml
06/07/2012 11:54 AM <DIR> Demos
06/07/2012 11:52 AM <DIR> Desktop
06/07/2012 01:21 PM 0 dir.txt
06/07/2012 11:54 AM <DIR> Documentation
06/07/2012 12:02 PM <DIR> Examples
06/07/2012 01:05 PM 82,608 InstallationLog.txt
06/07/2012 12:00 PM <DIR> Licenses
06/07/2012 12:03 PM <DIR> Madde
06/07/2012 11:14 AM <DIR> mingw
06/07/2012 12:03 PM 362 network.xml
06/07/2012 11:54 AM <DIR> pythongdb
06/07/2012 11:52 AM <DIR> QtCreator
06/07/2012 11:52 AM <DIR> readme
06/07/2012 12:03 PM 16,916,607 SDKMaintenanceTool.dat
06/07/2012 12:03 PM 15,204,384 SDKMaintenanceTool.exe
06/07/2012 12:03 PM 4,054 SDKMaintenanceTool.ini
06/07/2012 12:01 PM <DIR> Simulator
06/07/2012 11:54 AM <DIR> Symbian
06/07/2012 12:03 PM <DIR> temp
06/07/2012 11:54 AM <DIR> vcredist_x86
8 File(s) 32,264,894 bytes
16 Dir(s) 423,787,491,328 bytes free

Thank you,
Chris L.

ChrisL1234
8th June 2012, 04:55
I think that the project (from my peer) that I’m trying to build is built with Qt library 4.8.1. And, this may be my only problem! Maybe Visual Studio is telling me that I have to have library 4.8.1. What do you think. Where can I get Qt library 4.8.1.
Thank you,
Chris L.

ChrisL1234
8th June 2012, 16:34
I've re-installed every thing, so this thread is no longer active.