Active Topics

 


Reply
Thread Tools
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#1
Why doesn't the following work (in the SDK):

from PyQt4.QtSql import *

I get:

ImportError: Cannot import QtSql

Do I need to install a separate package?
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#2
apt-get install python2.5-qt4-sql

you can see (all) the packages with

apt-cache search python2.5-qt4
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 5 Users Say Thank You to attila77 For This Useful Post:
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#3
Thank you a lot.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#4
 

The Following 2 Users Say Thank You to qgil For This Useful Post:
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#5
I got this message when i try to install python2.5-qt4-sql..

The following packages have unmet dependencies:
python2.5-qt4-sql: Depends: python2.5-qt4-core (= 4.7-maemo4) but 4.7-maemo5 is to be installed
E: Broken packages


python2.5-qt4-core is already installed in my maemo..

Can anyone help me plz ?
 
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#6
Can anyone help me plz ?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#7
Hello. There have been some PyQt updates last night, please try again and report back if your problem has been solved.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:07.