Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0
-
None
-
-
4b8bc8b5bb (qt/qtbase/dev) 26307ee6ae (qt/qtbase/6.3) 26307ee6ae (qt/tqtc-qtbase/6.3) 26307ee6ae (qt/tqtc-qtbase/6.3.0)
Description
The following doesn't work with either of qt_internal_add_test() and qt_internal_add_manual_test():
qt_internal_add_test(tst_name SOURCES tst_name.cpp ) set_property(TARGET tst_name APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android ) qt_finalize_executable(tst_name)
The following error is thrown:
error: add_custom_target cannot create target "tst_name_prepare_apk_dir" because another target with the same name already exists. The existing target is a custom target created in source directory "<path_to_project>".
One need to use this call instead as a workaround (the call is private api)
qt_android_generate_deployment_settings(tst_name)
Attachments
Issue Links
- relates to
-
QTBUG-93625 qt_internal_add_test doesn't call qt_import_qml_plugins
- Closed
For Gerrit Dashboard: QTBUG-100796 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
396826,6 | Make android function sequence mutable | dev | qt/qtbase | Status: MERGED | +2 | 0 |
397397,3 | Make android function sequence mutable | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |