mirror of
https://github.com/86Box/86Box.git
synced 2026-02-28 09:54:21 -07:00
21 lines
556 B
C++
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
|