|
2010-09-07
, 19:46
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#2
|
2) I have tried to run code made for the N900 (QT 4.6.2, PyQt 4.7.5), like the excellent GReader and some of my own. Apart from the Fremantle-specific APIs (which is normal) there at least is one other thing it chokes on, in both cases : QLineEdits on which setInputMethodHints has been used by designer.
That's actually a QWidget method, so I don't know if the problem happens only with line edits ("object has no method called...").
If I comment out those lines in the UI files, the rest of the code runs fine -- not pretty, but working :-)
Has this method been added since Qt 4.5.3 ?
|
2010-09-07
, 20:33
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#3
|
On my N810 running Diablo I have the following packages I got from the "standard" repos with HAM :
Python 2.5.2
Qt 4.5.3
PyQt snapshot-4.7.1-50147fc72a58
I have two questions really :
1) is this the latest and greatest there is ? Nothing hidden away under some rug ? :-)
2) I have tried to run code made for the N900 (QT 4.6.2, PyQt 4.7.5), like the excellent GReader and some of my own. Apart from the Fremantle-specific APIs (which is normal) there at least is one other thing it chokes on, in both cases : QLineEdits on which setInputMethodHints has been used by designer.
That's actually a QWidget method, so I don't know if the problem happens only with line edits ("object has no method called...").
Has this method been added since Qt 4.5.3 ?
Oh, and a third one : is there a Maemo4 API somewhere to make less ugly apps with PyQt ?... :-)
The Following User Says Thank You to attila77 For This Useful Post: | ||
|
2010-09-07
, 20:43
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#4
|
Nope, sadly, that's about it. I could push a newer PyQt but without the newer Qt, the changes are minimal, mostly limited to bugfixes and a little syntactic sugar, no real functional differences :\
Qt4.6 port has been a rewrite (the port, not Qt), so most of the Maemo specifics - esp regarding input methods end events - are done differently, which has all sorts of implications. Q4.5 was more of a tech demonstrator, to show Qt could actually run, and also a lot of the Hildon finger/look goodies came later so there was a lot less to 'build on' at the time of 4.5. This is also the reason why, real, good lookin' 4.6 or 4.7 on N8x0 is not a trivial thing - it relies quite a bit on Fremantle parts to actually look/behave as it does - and those are simply not present on Diablo.
Not sure I follow - is the problem that you are compiling with the 4.7.5 pyuic ? Does it happen if you use the corresponding 4.7.1 Diablo pyuic, too ?
The Following User Says Thank You to fpp For This Useful Post: | ||
|
2010-09-08
, 20:42
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#5
|
The Following User Says Thank You to fpp For This Useful Post: | ||
|
2010-09-08
, 20:49
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#6
|
|
2010-09-09
, 11:11
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#7
|
|
2010-09-24
, 16:01
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#8
|
Qt4.6 port has been a rewrite (the port, not Qt), so most of the Maemo specifics - esp regarding input methods end events - are done differently, which has all sorts of implications. Q4.5 was more of a tech demonstrator, to show Qt could actually run, and also a lot of the Hildon finger/look goodies came later so there was a lot less to 'build on' at the time of 4.5. This is also the reason why, real, good lookin' 4.6 or 4.7 on N8x0 is not a trivial thing - it relies quite a bit on Fremantle parts to actually look/behave as it does - and those are simply not present on Diablo.Oh, and a third one : is there a Maemo4 API somewhere to make less ugly apps with PyQt ?... :-)
On my N810 running Diablo I have the following packages I got from the "standard" repos with HAM :
Python 2.5.2
Qt 4.5.3
PyQt snapshot-4.7.1-50147fc72a58
I have two questions really :
1) is this the latest and greatest there is ? Nothing hidden away under some rug ? :-)
2) I have tried to run code made for the N900 (QT 4.6.2, PyQt 4.7.5), like the excellent GReader and some of my own. Apart from the Fremantle-specific APIs (which is normal) there at least is one other thing it chokes on, in both cases : QLineEdits on which setInputMethodHints has been used by designer.
That's actually a QWidget method, so I don't know if the problem happens only with line edits ("object has no method called...").
If I comment out those lines in the UI files, the rest of the code runs fine -- not pretty, but working :-)
Has this method been added since Qt 4.5.3 ?
Oh, and a third one : is there a Maemo4 API somewhere to make less ugly apps with PyQt ?... :-)
TIA
fpp
maemo blog