Files
RedBear-OS/local/recipes/kde/kf6-kwidgetsaddons/source/autotests/windowscheck.h
T
2026-04-14 10:51:06 +01:00

16 lines
309 B
C

/*
This file is part of the KDE libraries
SPDX-FileCopyrightText: 2024 Nicolas Fella <nicolas.fella@gmx.de>
SPDX-License-Identifier: LGPL-2.1-or-later
*/
inline bool isWindowsCI()
{
#ifdef Q_OS_WIN
return qEnvironmentVariable("CI") == QLatin1String("true");
#else
return false;
#endif
}