Commit ba33fac6 authored by Daniel Teske's avatar Daniel Teske
Browse files

GenericProject: Mark files ending in .qrc as Resource files

Otherwise the Designer doesn't know about those files and removes all
refrences to them from edited .ui files.

Change-Id: Icbb0a19b191c789ae00e45d8d8e26f92fddbae0b
Task-number: QTCREATORBUG-14275
Reviewed-by: default avatarFriedemann Kleint <>
Reviewed-by: default avatarTobias Hunger <>
parent 94874bdf
......@@ -120,6 +120,8 @@ void GenericProjectNode::refresh(QSet<QString> oldFileList)
QList<FileNode *> fileNodes;
foreach (const QString &file, it.value()) {
FileType fileType = SourceType; // ### FIXME
if (file.endsWith(QLatin1String(".qrc")))
fileType = ResourceType;
FileNode *fileNode = new FileNode(Utils::FileName::fromString(file),
fileType, /*generated = */ false);
Supports Markdown
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