OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Python Kopsis Image & Qdateedit
dixie
post May 14 2005, 01:30 PM
Post #1





Group: Members
Posts: 23
Joined: 16-December 04
From: italy, camogli (ge)
Member No.: 5,937



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
Go to the top of the page
 
+Quote Post
zenyatta
post May 15 2005, 11:41 AM
Post #2





Group: Members
Posts: 366
Joined: 4-November 03
From: Slovakia
Member No.: 850



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.

z.
Go to the top of the page
 
+Quote Post
dixie
post May 15 2005, 12:43 PM
Post #3





Group: Members
Posts: 23
Joined: 16-December 04
From: italy, camogli (ge)
Member No.: 5,937



QUOTE(zenyatta @ May 15 2005, 07:41 PM)
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.

z.
*


Tks Zenyatta, yes I'm agree with you but I don't know if it is sure.

Bye

Paolo
Go to the top of the page
 
+Quote Post
Mickeyl
post May 15 2005, 02:45 PM
Post #4





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



QDateEdit is only present in Qt versions >= 3.0.0
Go to the top of the page
 
+Quote Post
dixie
post May 16 2005, 12:45 AM
Post #5





Group: Members
Posts: 23
Joined: 16-December 04
From: italy, camogli (ge)
Member No.: 5,937



QUOTE(Mickeyl @ May 15 2005, 10:45 PM)
QDateEdit is only present in Qt versions >= 3.0.0
*


Tks Micheyl.

Paolo
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th July 2014 - 06:02 AM