Support a build with tty,Qt,x11,curses on macOS Catalina 10.15

Assuming you have the prerequisite packages, You can specify the
window ports to include on the make command line:

make WANT_WIN_QT=1 WANT_WIN_X11=1 WANT_WIN_CURSES=1 WANT_WIN_TTY=1 all

Prequisites for window ports beyond tty:
(some sample homebrew commands to obtain them shown but that is not the
 only way):

xquartz for x11 support
	brew install xquartz

Qt for Qt support
	brew install Qt
This commit is contained in:
nhmall
2020-08-02 22:50:30 -04:00
parent d3e77393ab
commit d39ae5ce79
3 changed files with 471 additions and 2 deletions

View File

@@ -805,7 +805,7 @@ struct window_procs Qt_procs = {
#ifndef WIN32
#if defined(USER_SOUNDS) && !defined(QT_NO_SOUND)
extern "C" void play_usersound(const char* filename, int volume)
extern "C" void play_usersound(const char* filename, int volume UNUSED)
#else
extern "C" void play_usersound(const char* filename UNUSED, int volume UNUSED)
#endif