Files
86Box/src/qt/qt_defs.hpp
2026-02-27 07:36:02 +05:00

21 lines
556 B
C++

#ifndef QT_DEFS_HPP
#define QT_DEFS_HPP
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
# define CHECK_STATE_CHANGED checkStateChanged
#else
# define CHECK_STATE_CHANGED stateChanged
#endif
#ifdef RELEASE_BUILD
# define EMU_ICON_PATH ":/settings/qt/icons/86Box-green.ico"
#elif defined ALPHA_BUILD
# define EMU_ICON_PATH ":/settings/qt/icons/86Box-red.ico"
#elif defined BETA_BUILD
# define EMU_ICON_PATH ":/settings/qt/icons/86Box-yellow.ico"
#else
# define EMU_ICON_PATH ":/settings/qt/icons/86Box-gray.ico"
#endif
#endif // QT_DEFS_HPP