|
2010-05-26
, 04:32
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#2
|
The Following 4 Users Say Thank You to Khertan For This Useful Post: | ||
|
2010-05-26
, 11:35
|
|
Posts: 794 |
Thanked: 784 times |
Joined on Sep 2007
@ /Canada/Ontario/GTA
|
#3
|
|
2010-05-26
, 19:20
|
|
Posts: 543 |
Thanked: 802 times |
Joined on Apr 2010
@ Germany
|
#4
|
"python2.5, python-osso, python-dbus, python2.5-qt4-sql"
"python2.5-qt4-core, python2.5-qt4-gui, python-osso, python-dbus, python2.5-qt4-sql"
|
2010-05-26
, 21:58
|
|
Posts: 543 |
Thanked: 802 times |
Joined on Apr 2010
@ Germany
|
#5
|
|
2010-05-27
, 11:59
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#6
|
|
2010-05-27
, 23:11
|
|
Posts: 543 |
Thanked: 802 times |
Joined on Apr 2010
@ Germany
|
#7
|
Easy people, Qt dependencies are still being ironed out. The python-qt4 I pushed to extras-testing is the first reference version that should be taken seriously under PR1.2.
Also, as a general rule of thumb with python to which pyqt is no exception - DEPEND ON WHAT YOU IMPORT. If you import QtGui and QtCore, then depend on those two. The python2.5-qt4(-doc) metapackages are for developers and tinkerers, NOT for applications.
Another thing - USE VERSIONED DEPENDENCIES. If you just toss in a generic python2.5-qt4-gui dependency, it does not say what version of Qt you want. So if someone did not upgrade to PR1.2, they might get the old, Qt4.5 version of PyQt4 which of course might not be what you want if your app is developed for Qt4.6.
p.depends = "python2.5-qt4-core, python2.5-qt4-gui, python-osso, python-dbus, python2.5-qt4-sql"
p.depends = "python2.5, python-osso, python-dbus, python2.5-qt4-sql"
from PyQt4 import QtGui, QtCore, QtSql import urllib2 import socket import dbus import dbus.glib import time, threading from os import path from os import makedirs
|
2010-05-28
, 06:24
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#8
|
p.depends = "python2.5-qt4-core (>> 4.7.3-maemo5), python2.5-qt4-gui (>> 4.7.3-maemo5), python-osso, python-dbus, python2.5-qt4-sql (>> 4.7.3-maemo5)"
The Following User Says Thank You to attila77 For This Useful Post: | ||
Thanks in advance.
Mobile Tablets Blog
Follow me on Twitter