Commit e87ab44c authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Win32 compile fix.

Related commit is 5bcb5337.
CCMAIL: okellogg@users.sourceforge.net
parent 18f63127
......@@ -57,7 +57,7 @@ IDLImport::IDLImport(CodeImpThread* thread) : NativeImportBase(QLatin1String("//
else {
executable = KStandardDirs::findExe(QLatin1String("cl"));
if (executable.isEmpty()) {
QString path = qgetenv(QLatin1String("VS100COMNTOOLS"));
QString path = QLatin1String(qgetenv("VS100COMNTOOLS").constData());
if (!path.isEmpty())
executable = KStandardDirs::findExe(QLatin1String("cl"), path + QLatin1String("/../../VC/bin"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment