Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.5.0
-
None
-
windows 7, gcc-arm-none-eabi
-
d58002dd4674ed5632714482c9639a2d259007db
Description
On windows system the qbsprojectmanager plugin couldn't resolve the proper CPP_TOOLCHAINPREFIX
In the "defaultpropertyprovider.cpp"
the compiler fileName in tc>compilerCommand() have to ends with ".exe" like "arm-none-eabi-g++.exe",
-the extractToolchainPrefix() function couldn't match it to "g+" because it ends with "g.exe" and not with "g+"
I suggest the following change in the DefaultPropertyProvider::autoGeneratedProperties function
replace the following line 'QString compilerName = cxxFileInfo.fileName();'
with 'QString compilerName = cxxFileInfo.baseName();'
it works on windows