Skip to content

Commit

Permalink
Add support for composite includes (#include <QtCore/QtGlobal>
Browse files Browse the repository at this point in the history
  • Loading branch information
mv185095 committed Sep 4, 2018
1 parent 1ce4710 commit 7c3e608
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .autoproject/autoproject.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -917,11 +917,12 @@ Project

if(file)
{
project.product.includedPaths[functions.getFilePath(file)] = true;
foundPaths[functions.getFilePath(file)] = true;
var includePath = file.substring(0, file.length - includeName.length);
project.product.includedPaths[includePath] = true;
foundPaths[includePath] = true;

return {
path: functions.getFilePath(file),
path: includePath,
product: project.product,
name: project.product.name
};
Expand Down Expand Up @@ -970,7 +971,7 @@ Project

if(functions.isValid(this.includes[includeName]))
{
functions.print(" '" + includeName + "' found in '" + this.includes[includeName].name);
functions.print(" '" + includeName + "' found in '" + this.includes[includeName].name + "'");
}
else if(!includeName.endsWith(".moc"))
{
Expand Down

0 comments on commit 7c3e608

Please sign in to comment.