--- a/cmake/modules/AppTarget.cmake +++ b/cmake/modules/AppTarget.cmake @@ -32,7 +32,7 @@ append_user_defined_additional_libraries() # add target for building the application -if (ANDROID) +if (FALSE) # create a shared library which can be loaded from the Java-side, needs to be a module target to avoid # "QT_ANDROID_GENERATE_DEPLOYMENT_SETTINGS only works on Module targets" when using # `qt_android_generate_deployment_settings`. @@ -104,7 +104,7 @@ TARGETS ${META_TARGET_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION "${BUNDLE_INSTALL_DESTINATION}" COMPONENT binary) - elseif (ANDROID) + elseif (FALSE) install( TARGETS ${META_TARGET_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT binary