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

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

[Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease
Date: Tue, 23 Aug 2016 23:58:23 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Update of bug #48881 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

It looks to me like the configure script checks for a program called
"qtchooser" in the system PATH.

If qtchooser is found, then it assumes that it must be in charge of all of the
Qt helper programs.

This does not work in the case that you have, where qtchooser is installed and
configured to work with the Qt versions installed from the Ubuntu
repositories, but you have also installed a local version of Qt and set PATH
appropriately.

One workaround would be to figure out how to configure the qtchooser program
to use your locally installed copy of Qt.

Another workaround would be to uninstall the qtchooser package, but that's
probably not practical.

One fix for configure might be to try running


$MOC -qt5 -v
$UIC -qt5 -v
$RCC -qt5 -v
$LRELEASE -qt5 -version


and see whether it exits with success or failure (notice the different option
on lrelease).

However, uic seems to take the -qt4 or -qt5 option with -v, so I don't see
that working very well.

Any other ideas how to detect whether $UIC is actually qtchooser without going
into complicated or system-dependent checking?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48881>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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