octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61339] configure : uic: Unknown option 'qt'.


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61339] configure : uic: Unknown option 'qt'.
Date: Sun, 17 Oct 2021 07:54:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 Edg/94.0.992.50

Update of bug #61339 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #7:

The configure function that check for the Qt tools:

AC_DEFUN([OCTAVE_CHECK_QT_TOOL], [
  AC_CHECK_TOOLS(m4_toupper([$1])_QTVER, [$1-qt$qt_version])
  if test -z "$m4_toupper([$1])_QTVER"; then
    AC_CHECK_TOOLS(m4_toupper([$1]), [$1])
    if test -n "$m4_toupper([$1])"; then
      if test -n "$QTCHOOSER"; then
        m4_toupper([$1])FLAGS="-qt=$qt_version"
      fi
      QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE $1"
    else
      QT_TOOLS_MISSING="$QT_TOOLS_MISSING $1"
    fi
  else
    m4_toupper([$1])="$m4_toupper([$1])_QTVER"
    QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE $1"
  fi
])


IIUC, this test assumes that if `qtchooser` exists, it belongs to the other Qt
tools used by the build system.
That might not be the case if two versions of Qt are installed at the same
time and qtchooser is from one of these versions but the other Qt tools are
from the other version.

Could that be what is happening for you?

Does it work if you configure with `../configure ac_cv_prog_ac_ct_QTCHOOSER=`?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61339>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]