183 |
# A common error message: |
# A common error message: |
184 |
ac_errmsg="not found in current PATH. Maybe QT development environment isn't available." |
ac_errmsg="not found in current PATH. Maybe QT development environment isn't available." |
185 |
|
|
186 |
|
# Check for qtchooser availability. |
187 |
|
AC_PATH_TOOL(ac_qtchooser, qtchooser, [no], $ac_path) |
188 |
|
if test -x $ac_qtchooser; then |
189 |
|
export QT_SELECT=5 |
190 |
|
fi |
191 |
|
|
192 |
# Check for proper qmake path/version alternatives. |
# Check for proper qmake path/version alternatives. |
193 |
AC_PATH_TOOL(ac_qmake, qmake, [no], $ac_path) |
AC_PATH_TOOL(ac_qmake, qmake, [no], $ac_path) |
194 |
if test "x$ac_qmake" = "xno"; then |
if test "x$ac_qmake" = "xno"; then |