mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
commit
ab6acd1115
@ -93,8 +93,11 @@ static void crt_screen_setup_aspect(unsigned width, unsigned height)
|
||||
{
|
||||
/* detect menu only */
|
||||
if (width < 1920)
|
||||
{
|
||||
width = 704;
|
||||
height = 480;
|
||||
}
|
||||
|
||||
crt_aspect_ratio_switch(width, height);
|
||||
}
|
||||
|
||||
|
@ -270,7 +270,7 @@ check_val '' PULSE -lpulse
|
||||
check_val '' SDL -lSDL SDL
|
||||
check_val '' SDL2 -lSDL2 SDL2
|
||||
|
||||
if [ "$HAVE_QT" != 'no' ]; then
|
||||
if [ "$HAVE_QT" != 'no' ] && [ "$MOC_PATH" != 'none' ]; then
|
||||
check_pkgconf QT5CORE Qt5Core 5.2
|
||||
check_pkgconf QT5GUI Qt5Gui 5.2
|
||||
check_pkgconf QT5WIDGETS Qt5Widgets 5.2
|
||||
|
@ -86,14 +86,20 @@ fi
|
||||
if [ "$HAVE_QT" != "no" ]; then
|
||||
echobuf="Checking for moc"
|
||||
if [ -z "$MOC" ]; then
|
||||
MOC="$(exists "moc")" || MOC=""
|
||||
if [ -z "$MOC" ]; then
|
||||
die : "$echobuf ... Not found."
|
||||
else
|
||||
echo "$echobuf ... $MOC"
|
||||
fi
|
||||
else
|
||||
echo "$echobuf ... $MOC"
|
||||
MOC_PATH="none"
|
||||
for moc in moc-qt5 moc; do
|
||||
MOC="$(exists "$moc")" || MOC=""
|
||||
[ "${MOC}" ] && {
|
||||
MOC_PATH="$MOC"
|
||||
break
|
||||
}
|
||||
done
|
||||
fi
|
||||
|
||||
echo "$echobuf ... $MOC_PATH"
|
||||
|
||||
if [ "$MOC_PATH" = "none" ]; then
|
||||
die : 'Warning: moc not found, Qt companion support will be disabled.'
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user