forked from qt-creator/qt-creator
Say hello to Android CMake support
Requirements: - NDKr19 or newer - Qt 5.12.1 or newer QtCreator supports the following variables: - ANDROID_PACKAGE_SOURCE_DIR - ANDROID_EXTRA_LIBS Be aware, that there is a lot of magic done on QtCreator side, and you can't use only cmake to build an Android APK. [ChangeLog][Android][CMake] Add Android support for CMake projects. Change-Id: I1d351976ed56f424c2bc972f4ff7b5968147a2ed Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -288,6 +288,10 @@ QVariant QmakeProFileNode::data(Core::Id role) const
|
||||
res.removeDuplicates();
|
||||
return res;
|
||||
}
|
||||
|
||||
if (role == Android::Constants::AndroidTargets)
|
||||
return {};
|
||||
|
||||
QTC_CHECK(false);
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user