Qt UiTools buggy on all platforms

This commit is contained in:
2021-06-19 00:11:52 +03:00
parent 99efaad5e7
commit d175e05e16

View File

@@ -259,11 +259,11 @@ macro(qad_find_qt)
if (m IN_LIST __qt_modules_5)
if (${Qt5${m}_FOUND})
set(__lib ${Qt5${m}_LIBRARIES})
if (DEFINED ANDROID_PLATFORM)
#if (DEFINED ANDROID_PLATFORM)
if (m IN_LIST __qt_bug_modules)
get_target_property(__lib Qt5::${m} LOCATION)
endif()
endif()
#endif()
list(APPEND _Qt5Modules ${m})
list(APPEND Qt5_INCLUDES ${Qt5${m}_INCLUDE_DIRS})
list(APPEND Qt5_LIBRARIES ${__lib})