Hi Pradnyesh,
Pradnyesh Sawant wrote:
i'm new to pyQt and am having trouble getting it to work. i have python2.4, qt4 and sip4 installed .... i get the following error:-
import qt
Traceback (most recent call last): File "", line 1, in ? ImportError: No module named qt
PyQt 4 has a different module organization compared to previous versions. You no longer use "import qt" The library has been split functionally and you typically use something like "from PyQt4 import QtCore, QtGui" There are many other differences from previous versions and when I switched directly from 2.13 to 4.0 I got quite a shock - all older programs need significant work to be fixed. Since you're starting from scratch, make sure that you use documentation or books that are up-to-date and refer to Qt 4.x, otherwise you're going to get very confused.
Chirag Wazir http://chirag.freeshell.org