forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/11.0'
Change-Id: I397dde2f95f62eb4843c39dd861522ae63d7f2c9
This commit is contained in:
@@ -229,7 +229,8 @@ void PythonBuildSystem::triggerParsing()
|
||||
|
||||
newRoot->addNestedNode(std::make_unique<PythonFileNode>(entry.filePath, displayName, fileType));
|
||||
const MimeType mt = mimeTypeForFile(entry.filePath, MimeMatchMode::MatchExtension);
|
||||
if (mt.matchesName(Constants::C_PY_MIMETYPE) || mt.matchesName(Constants::C_PY3_MIMETYPE)) {
|
||||
if (mt.matchesName(Constants::C_PY_MIMETYPE) || mt.matchesName(Constants::C_PY3_MIMETYPE)
|
||||
|| mt.matchesName(Constants::C_PY_GUI_MIMETYPE)) {
|
||||
BuildTargetInfo bti;
|
||||
bti.displayName = displayName;
|
||||
bti.buildKey = entry.filePath.toString();
|
||||
|
||||
Reference in New Issue
Block a user