Author Topic: Python Kopsis Image & Qdateedit  (Read 5433 times)

dixie

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.dixienet.it
Python Kopsis Image & Qdateedit
« 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
SL6000L Sharp Rom Ver. 1.12
Asus WiFi WL110
Ambicom Bluetooth BT2000-CF
Billionton CF Ethernet 10Base Card
SD 1 Gb pq1
CF 512 Mb 40x pq1
Palm IR keiboard
Navman Bluetooth GPS

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Python Kopsis Image & Qdateedit
« Reply #1 on: May 15, 2005, 03:41:28 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.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

dixie

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.dixienet.it
Python Kopsis Image & Qdateedit
« Reply #2 on: May 15, 2005, 04:43:41 pm »
Quote
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.
[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
SL6000L Sharp Rom Ver. 1.12
Asus WiFi WL110
Ambicom Bluetooth BT2000-CF
Billionton CF Ethernet 10Base Card
SD 1 Gb pq1
CF 512 Mb 40x pq1
Palm IR keiboard
Navman Bluetooth GPS

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Python Kopsis Image & Qdateedit
« Reply #3 on: May 15, 2005, 06:45:36 pm »
QDateEdit is only present in Qt versions >= 3.0.0
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

dixie

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.dixienet.it
Python Kopsis Image & Qdateedit
« Reply #4 on: May 16, 2005, 04:45:32 am »
Quote
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
SL6000L Sharp Rom Ver. 1.12
Asus WiFi WL110
Ambicom Bluetooth BT2000-CF
Billionton CF Ethernet 10Base Card
SD 1 Gb pq1
CF 512 Mb 40x pq1
Palm IR keiboard
Navman Bluetooth GPS