--- a/cmake/modules/AppTarget.cmake +++ b/cmake/modules/AppTarget.cmake @@ -33,7 +33,7 @@ # add target for building the application set(AS_LIBRARY FALSE) -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`. @@ -139,7 +139,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