They don't help us during regular development and some of them are not
fixable (e.g. QNetworkMangerConfiguration) in the open source variant
of Qt5.
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
add_definitions(
+ -DQT_DISABLE_DEPRECATED_BEFORE=0x000000
-DQT_USE_QSTRINGBUILDER
-DQT_MESSAGELOGCONTEXT #enable function name and line number in debug output
- -DQT_DEPRECATED_WARNINGS
)
# if we cannot get it from git, directly try .tag (packages)
endif()
endif()
-# application.cpp still uses QDesktopServices::storageLocation
-target_compile_definitions(nextcloudCore PRIVATE "QT_DISABLE_DEPRECATED_BEFORE=0")
-
-
install(TARGETS nextcloud
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib