Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, September 2007
Qt version


Message 1 in thread

I have installed Python 2.4.3 on my system.How ( from where ) can I find what is the version of Qt has been used for this version of python?
   
  Thanks in advance

 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Message 2 in thread

Hi,

> I have installed Python 2.4.3 on my system.How ( from where ) can I find 
> what is the version of Qt has been used for this version of python?

Python does not use Qt as far as I know.

Did you mean PyQt?

--
 [ signature omitted ] 

Message 3 in thread

Dimitri wrote:
> Hi,
>
>> I have installed Python 2.4.3 on my system.How ( from where ) can I 
>> find what is the version of Qt has been used for this version of python?
>
> Python does not use Qt as far as I know.
>
> Did you mean PyQt?
>
> -- 
>


Python comes shipped out with Tk on board, not PyQt. But anyway,
if if the question is PyQt related you'd better post at the PyQt mailing 
list

[http://www.riverbankcomputing.com/mailman/listinfo/pyqt]

Or use a function like this:

def versionInfo():
    """Returns a tuple containing some (...) version strings
    @return: tuple(
        ('Platform', platform),
        ('Python Version', version),
        ('Qt Version', version),
        ('PyQt Version', version),
        )
    """
    import sys
    from PyQt4.QtCore import qVersion, PYQT_VERSION_STR
    return (
        ('Platform', sys.platform),
        ('Python Version', sys.version.split()[0]),
        ('Qt Version', qVersion()),
        ('PyQt Version', PYQT_VERSION_STR),
        )



Jürgen


--
 [ signature omitted ]