C
Qt Quick Ultralite Automotive Cluster Demo
// Copyright (C) 2024 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial #ifndef BENCHMARKMODE_H #define BENCHMARKMODE_H #include <qul/object.h> #include <qul/property.h> struct BenchmarkMode : Qul::Object { BenchmarkMode() { #ifdef QUL_DEMO_BENCHMARK_MODE enabled.setValue(true); #else enabled.setValue(false); #endif } Qul::Property<bool> enabled; }; #endif // BENCHMARKMODE_H