[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: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease |
Date: |
Tue, 30 Aug 2016 06:29:56 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #5, bug #48881 (project octave):
I wasn't aware of the qtchooser program, but checking for that first is
probably the way to go. If it is present, then use that to determine what Qt
versions are present and run through that rather than directly. I think
qtchooser is meant to save doing some work.
For example, on my system, I have both Qt 4 and 5. Running "uic -v" I get:
sebald@ ~ $ uic -v
Qt User Interface Compiler version 4.8.6
So, the search path first finds Qt 4 tools. I think qtchooser indicates that
it will first find version 4:
sebald@ ~ $ qtchooser -list-versions
4
5
default
qt4-i386-linux-gnu
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5
Any of those entries in the list must be acceptable for choosing, and they all
boil down to either the version of Qt4 installed or the version of Qt5
installed. Let's run uic indirectly then:
sebald@ ~ $ qtchooser -run-tool=uic -v
Qt User Interface Compiler version 4.8.6
which is same as directly. But if I specify which version
sebald@ ~ $ qtchooser -run-tool=uic -qt=5 -v
uic 5.2.1
We should be able to replace "uic" in the Makefile with ["qtchooser
-run-tool=uic -qt=" QTVERSION] if we know qtchooser is present. And to get
QTVERSION, parse "qtchooser -l" output I guess.
T.M., could you run some of the things I did above and tell us what you see?
Try
qtchooser -l
qtchooser -run-tool=uic -qt=5 -v
qtchooser -run-tool=uic -qt=4 -v
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48881>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Tatsuro MATSUOKA, 2016/08/23
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Mike Miller, 2016/08/23
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Mike Miller, 2016/08/23
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, John W. Eaton, 2016/08/25
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Mike Miller, 2016/08/26
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease,
Dan Sebald <=
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Mike Miller, 2016/08/30
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Dan Sebald, 2016/08/30
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Tatsuro MATSUOKA, 2016/08/30
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Tatsuro MATSUOKA, 2016/08/30
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Dan Sebald, 2016/08/30
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Dan Sebald, 2016/08/31
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Tatsuro MATSUOKA, 2016/08/31
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Dan Sebald, 2016/08/31
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Tatsuro MATSUOKA, 2016/08/31
- [Octave-bug-tracker] [bug #48881] Build failure due to -qt5 flag for uic, rcc, moc, and lrelease, Mike Miller, 2016/08/31