mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Little cleanup for Linux platform code & build
CheckCXXSourceCompiles is not needed anymore Material wayland decorations could be checked just with IsQtPluginsBundled
This commit is contained in:
@@ -21,7 +21,6 @@ add_subdirectory(lib_qr)
|
||||
add_subdirectory(lib_webrtc)
|
||||
add_subdirectory(codegen)
|
||||
|
||||
include(CheckCXXSourceCompiles)
|
||||
include(lib_ui/cmake/generate_styles.cmake)
|
||||
include(cmake/generate_numbers.cmake)
|
||||
|
||||
|
@@ -1342,15 +1342,11 @@ void start() {
|
||||
"this may lead to font issues.");
|
||||
#endif // DESKTOP_APP_USE_PACKAGED_FONTS
|
||||
|
||||
if(IsStaticBinary()
|
||||
|| InAppImage()
|
||||
|| InFlatpak()
|
||||
|| InSnap()
|
||||
|| IsQtPluginsBundled()) {
|
||||
if (IsQtPluginsBundled()) {
|
||||
qputenv("QT_WAYLAND_DECORATION", "material");
|
||||
}
|
||||
|
||||
if((IsStaticBinary()
|
||||
if ((IsStaticBinary()
|
||||
|| InAppImage()
|
||||
|| IsQtPluginsBundled())
|
||||
// it is handled by Qt for flatpak and snap
|
||||
|
Reference in New Issue
Block a user