Re: Error when passing from python 3.5.4 to python 3.6

Fred Wright <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On Mon, 27 Jul 2020, Mats Wichmann wrote:

[...]
> Hmmm, checked here, there's no "uic" utility, so this is sadly
> inconsistent. These work, however:
>
>
> $ /usr/bin/uic3 -version
> Qt User Interface Compiler version 4.8.7
> $ /usr/bin/uic-qt5 -version
> uic-qt5 5.13.2
> $ /usr/bin/uic-qt4 -version
> Qt User Interface Compiler version 4.8.7
>
> uic3 is the only one that does not recognize -v as a synonym for -version.
>
> still, we can probably come up with a query formula that would work...

Why not just use the -version and treat a failure as an indication that 
it's Qt3 or older?

Fred Wright
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.