View Full Version : How to find if Visual Studion 2008 installed
sawerset
7th December 2008, 18:14
How to find if Visual Studion 2008 installed?
In which directory it is installed?
And in which directore is nmake exist?
spirit
7th December 2008, 18:28
using this function you can get values of different env.vars.
QByteArray qgetenv(const char *varName)
e.g.
...
qDebug() << qgetenv("PATH");
...
so, in your case if VS variables were set this code should help you
...
qDebug() << qgetenv("VCInstallDir");
...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.