Re: Error when passing from python 3.5.4 to python 3.6

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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.

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
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.