forked from qt-creator/qt-creator
QtSupport: Claim support for any Qt version with docker
It's hard to draw the line, and it's only about a potentially missing warning here. Change-Id: Ie86905d0b8309297965133dedf636b6172a11757 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -516,9 +516,11 @@ Tasks BaseQtVersion::validateKit(const Kit *k)
|
||||
return result;
|
||||
|
||||
const Id dt = DeviceTypeKitAspect::deviceTypeId(k);
|
||||
if (dt != "DockerDeviceType") {
|
||||
const QSet<Id> tdt = targetDeviceTypes();
|
||||
if (!tdt.isEmpty() && !tdt.contains(dt))
|
||||
result << BuildSystemTask(Task::Warning, tr("Device type is not supported by Qt version."));
|
||||
}
|
||||
|
||||
if (ToolChain *tc = ToolChainKitAspect::cxxToolChain(k)) {
|
||||
Abi targetAbi = tc->targetAbi();
|
||||
|
Reference in New Issue
Block a user