forked from qt-creator/qt-creator
Start on rvct support.
It works, except that the code model doesn't get the rvct include directories and defines yet. And you need to have everything for rvct set up in your environment.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
|
||||
#ifdef QTCREATOR_WITH_S60
|
||||
#include "qt-s60/gccetoolchain.h"
|
||||
#include "qt-s60/rvcttoolchain.h"
|
||||
#endif
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -406,6 +407,9 @@ void Qt4Project::updateToolChain(const QString &buildConfiguration) const
|
||||
#ifdef QTCREATOR_WITH_S60
|
||||
if (m_toolChain && m_toolChain->type() == ToolChain::GCCE) {
|
||||
static_cast<GCCEToolChain *>(m_toolChain)->setProject(this);
|
||||
} else if (m_toolChain && (m_toolChain->type() == ToolChain::RVCT_ARMV5
|
||||
|| m_toolChain->type() == ToolChain::RVCT_ARMV6)) {
|
||||
static_cast<RVCTToolChain *>(m_toolChain)->setProject(this);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user