Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 927380
Collapse All | Expand All

(-)a/ac/qt6.m4 (-4 / +14 lines)
Lines 77-83 EOT Link Here
77
    fi
77
    fi
78
  fi
78
  fi
79
79
80
  for qt_module in dbus; do
80
  modules_to_test=dbus
81
82
  if test x"$enable_gui" = xno; then
83
    modules_to_test=
84
  fi
85
86
  for qt_module in $modules_to_test; do
81
    rm -f Makefile Makefile.Release
87
    rm -f Makefile Makefile.Release
82
88
83
    cat > "$qmake_dir/configure.pro" <<EOT
89
    cat > "$qmake_dir/configure.pro" <<EOT
Lines 103-110 EOT Link Here
103
109
104
  rm -f Makefile Makefile.Release
110
  rm -f Makefile Makefile.Release
105
111
112
  modules_to_test="gui widgets network concurrent svg multimedia"
113
  if test x"$enable_gui" = xno; then
114
    modules_to_test=
115
  fi
116
106
  cat > "$qmake_dir/configure.pro" <<EOT
117
  cat > "$qmake_dir/configure.pro" <<EOT
107
QT = core $qmake_qt_ui gui widgets network concurrent svg multimedia
118
QT = core $qmake_qt_ui $modules_to_test
108
QTPLUGIN += $qmake_qtplugin_ui
119
QTPLUGIN += $qmake_qtplugin_ui
109
120
110
FORMS = configure.ui
121
FORMS = configure.ui
Lines 118-124 EOT Link Here
118
129
119
  if test $result2 != 0; then
130
  if test $result2 != 0; then
120
    cd "$old_wd"
131
    cd "$old_wd"
121
    AC_MSG_RESULT(no: not all of the required Qt6 modules were found (needed: core gui widgets network concurrent svg multimedia))
132
    AC_MSG_RESULT(no: not all of the required Qt6 modules were found (needed: core $modules_to_test))
122
    return
133
    return
123
  fi
134
  fi
124
135
125
- 

Return to bug 927380