OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Python => Topic started by: dixie on May 14, 2005, 05:30:55 pm
-
Hi at all, I'm working around a database client with python.
My code works great on my desktop but the QDateEdit class (PyQT) don't work on my zaurus.
I have installed the last Kopsis image.
The code is like this:
... omissis...
self.dateEdit5 = QDateEdit(self.tab1,"dateEdit5")
self.dateEdit5.setGeometry(QRect(130,120,80,21))
self.dateEdit5.setDate(QDate.currentDate())
...omissis...
The error returned is:
"...self.dateEdit5 = QDateEdit(self.tab1,"dateEdit5")
NemError: global name "QDateEdit" is not defined. ..."
I suppose that this class is unsupported in zaurus python image.
Anyone had this problem?
Any solution?
Tks
Paolo
-
I suspect it's not a Python limitation but rather one of those imposed by Sharp's implementation of Qt/Embedded. See the Trolltech site for details (http://doc.trolltech.com/qtopia1.7/html/overview.html).
z.
-
I suspect it's not a Python limitation but rather one of those imposed by Sharp's implementation of Qt/Embedded. See the Trolltech site for details (http://doc.trolltech.com/qtopia1.7/html/overview.html).
z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=79929\"][{POST_SNAPBACK}][/a][/div]
Tks Zenyatta, yes I'm agree with you but I don't know if it is sure.
Bye
Paolo
-
QDateEdit is only present in Qt versions >= 3.0.0
-
QDateEdit is only present in Qt versions >= 3.0.0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=79943\"][{POST_SNAPBACK}][/a][/div]
Tks Micheyl.
Paolo