CMake Build: Allow building with Qt5 and Qt6

Emulate Qt5's functions/targets with Qt6 equivalents.

Change-Id: I6bfc5c8a649f0ddc5f1117bc5b2d0f41cb72c821
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2019-09-23 17:58:34 +02:00
parent 4ea0d22d4c
commit f88ad0e9d0
6 changed files with 94 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ QStringList QmlProjectItem::files() const
}
}
}
return files.toList();
return Utils::toList(files);
}
/**