lightdm-1.10.5-qtchooser.patch 967 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -up lightdm-1.10.5/configure.ac.qtchooser lightdm-1.10.5/configure.ac
--- lightdm-1.10.5/configure.ac.qtchooser	2015-03-09 22:52:50.000000000 -0500
+++ lightdm-1.10.5/configure.ac	2015-08-17 09:33:19.230496429 -0500
@@ -107,7 +107,7 @@ if test x"$enable_liblightdm_qt4" = "xye
     [compile_liblightdm_qt4=yes
      AC_CHECK_TOOLS(MOC4, [moc-qt4 moc])
      if test x"$(readlink $(which $MOC4))" = xqtchooser; then
-         MOC4="$MOC4 --qt=qt4"
+         MOC4="$MOC4 --qt=4"
      fi
      if test "x$compile_liblightdm_gobject" != xyes; then
          AC_MSG_FAILURE(
@@ -134,9 +134,9 @@ if test x"$enable_liblightdm_qt5" != "xn
         Qt5Gui
     ],
     [compile_liblightdm_qt5=yes
-     AC_CHECK_TOOLS(MOC5, [moc])
+     AC_CHECK_TOOLS(MOC5, [moc-qt5 moc])
      if test x"$(readlink $(which $MOC5))" = xqtchooser; then
-         MOC5="$MOC5 --qt=qt5"
+         MOC5="$MOC5 --qt=5"
      fi
     ],
     [if test "x$enable_liblightdm_qt5" != xauto; then