[Scons-users] Error when passing from python 3.5.4 to python 3.6

Pierre-Luc Boily pierreluc.boily at gmail.com
Mon Jul 27 14:04:44 EDT 2020


Did a quick search.

If I do

"uic.exe -v"

- Under qt5, this gives the output :
uic 5.12.1

- Under qt4, this gives the output:
Qt User Interface Compiler version 4.7.4
or
Qt User Interface Compiler version 4.4.0

I don't have any qt3 installed.  But I rechecked the page
https://doc.qt.io/archives/3.3/uic.html and the uic from this version
doesn't have any ways to get the version!

Also, I found a tool named Uic3.exe under my qt4 installations.  Uic.exe
was a new application and Uic3.exe was probably the old unchanged one.
This strongly points to the fact that the old Uic mechanism was still
available for qt3 users under qt4.  uic3.exe is gone from qt5.

Le lun. 27 juill. 2020, à 13 h 42, Mats Wichmann <mats at wichmann.us> a
écrit :

> On 7/27/20 11:36 AM, Pierre-Luc Boily wrote:
> > Posted a question on qt forum about *-impl* option :
> >
> https://forum.qt.io/topic/117400/user-interface-compiler-uic-qt3-vs-qt4-5-impl-argument-equivalence/4
> >
> > It looks like -impl is implicit and not needed anymore.
> >
> > So, in the following action :
> >
> > Command 1:
> > [['$QT_UIC', '$QT_UICDECLFLAGS', '-o', '${TARGETS[0]}', '$SOURCE'],
> >
> > Command 2 :
> > ['$QT_UIC', '$QT_UICIMPLFLAGS', '-impl', '${TARGETS[0].file}', '-o',
> > '${TARGETS[1]}', '$SOURCE'],
> >
> > Command 3 :
> > ['$QT_MOC', '$QT_MOCFROMHFLAGS', '-o', '${TARGETS[2]}',
> '${TARGETS[0]}']]
> >
> >
> > Command #2 is completely obsolete for qt4 and qt5.
> >
> > Like I said, I find this strange that nobody else raised that before,
> > qt4 came up in 2005....  Maybe I am doing something wrong?!  I would
> > understand that if someone is still using qt3, Command 2 above is still
> > necessary....
>
> Is there a way to reliably do a version check? A number of other tools
> do some kind of version check by calling subprocess to run a command and
> dig through the result, so there's precedent.
>
> Or is there any actual need to keep the qt3 flag and it could just be
> dropped?  Bill would probably demand a deprecation period, but qt3 is
> really ancient, we've dropped some other things that were not nearly
> that old.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200727/b8110556/attachment.html>


More information about the Scons-users mailing list