diff options
| author | Eike Ziller <eike.ziller@qt.io> | 2023-09-20 10:43:54 +0200 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@qt.io> | 2023-09-20 10:43:54 +0200 |
| commit | 13c12f33e51ffe346c1a074d2ef5a47e333bd515 (patch) | |
| tree | 69f195be640f6d70b5014170f537a222a254e6ed /src/plugins/python/pythonproject.cpp | |
| parent | 189cf8054f4a75637bab70afc90be7fe65b410ed (diff) | |
| parent | 2f80ef7f23e25acd109eb696e0caffe29c448584 (diff) | |
Merge remote-tracking branch 'origin/11.0'
Change-Id: I397dde2f95f62eb4843c39dd861522ae63d7f2c9
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
| -rw-r--r-- | src/plugins/python/pythonproject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index 96549ba9d9a..036d5e7ce4b 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -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(); |
