Commit 0b19fb63 authored by con's avatar con
Browse files

Missing defines and includepaths when using mingw toolchain.


Reviewed-by: default avatardt <qtc-committer@nokia.com>
parent 08001d24
......@@ -396,6 +396,7 @@ ProjectExplorer::ToolChain *Qt4Project::toolChain(const QString &buildConfigurat
QString qmake_cxx = list.isEmpty() ? QString::null : list.first();
Environment env = Environment::systemEnvironment();
qtVersion(activeBuildConfiguration())->addToEnvironment(env);
env.prependOrSetPath(qtVersion(activeBuildConfiguration())->mingwDirectory()+"/bin");
qmake_cxx = env.searchInPath(qmake_cxx);
m_test = ToolChain::createMinGWToolChain(qmake_cxx, version->mingwDirectory());
//qDebug()<<"Mingw ToolChain";
......
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