Re: SQLite

2010-02-26 Thread Graham Cobb
On Friday 26 February 2010 07:00:09 Fred Lefevere-Laoide wrote:
 Sqlite is available in the extras repository as a lib (gpe and others depnd
 on it)

The libs are available for both sqlite2 (although the library is called 
libsqlite0) and sqlite3 (the library package is called libsqlite3-0).  In 
general, new code should use sqlite3.  Databases are not compatible between 
sqlite2 and sqlite3.

However, the command line utility is ONLY available in the Diablo repository 
for sqlite2.  This is the package called sqlite (which installs a program 
also called sqlite).  The sqlite3 command line program has not been made 
available by anyone for diablo.

So, if you want to use the command line utility you need to use sqlite2.

Graham
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Developing for Maemo 5 using Qt

2010-02-26 Thread kate.alhola
Qt Mobility Phone API is not yet defined. You can get indication on icoming 
call using libtpsession. Libtpsession is not
stantard one but you can find in from extras. I am currently working 
eventlogger interface to Qt Mobility, let's see
could I find way to access Call hirsory with it.

Kate 

From: ext Jose Maria Garcia-Valdecasas [jgvaldeca...@gmail.com]
Sent: Thursday, February 25, 2010 1:05 AM
To: Alhola Kate (Nokia-FNDC/Helsinki)
Cc: maemo-developers@maemo.org
Subject: Re: Developing for Maemo 5 using Qt

Thanks for the update Kate.

One question regarding QMobility, just in case you know the answer.

Will QMobility API allow access to phone info? For example, check lost calls, 
last call, time of each call and so on. There seems to be an API for messages, 
but have not seen anything about specific phone features.

Cheers,

Jose

2010/2/24 kate.alh...@nokia.commailto:kate.alh...@nokia.com


From: 
maemo-developers-boun...@maemo.orgmailto:maemo-developers-boun...@maemo.org 
[maemo-developers-boun...@maemo.orgmailto:maemo-developers-boun...@maemo.org]
 On Behalf Of ext Jose Maria Garcia-Valdecasas 
[jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.com]
Sent: Wednesday, February 24, 2010 11:15 PM
To: Daniil Ivanov
Cc: maemo-developers@maemo.orgmailto:maemo-developers@maemo.org
Subject: Re: Developing for Maemo 5 using Qt

Thanks for the links.

Seems that platform compatibility chart is a bit out of date, as AFAIK Maemo 6 
will never appear with that name.

It is also out of the date for Maemo 5 features. Messaging, Contacts and 
Multimedia is going in pipeline
and should appear with most features in external repo very soon. Bearer 
managementhas
some dependency problem but they should be resolved also soon.

Kate

Anyway, i will check the APIs.



2010/2/24 Daniil Ivanov 
daniil.iva...@gmail.commailto:daniil.iva...@gmail.commailto:daniil.iva...@gmail.commailto:daniil.iva...@gmail.com
Hi Jose!

 QtMobility is already available. API should be quite stable at the moment.
 http://qt.nokia.com/developer/new-qt-apis
 The only problem with Maemo 5 backend:
 http://qt.nokia.com/doc/qtmobility-1.0-beta/index.html#platform-compatability

Thanks, Daniil.

On Wed, Feb 24, 2010 at 10:06 PM, Jose Maria Garcia-Valdecasas
jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.com
 wrote:
 Ville, now it's official :)

 http://labs.trolltech.com/blogs/2010/02/24/qt-for-maemo-5-home-screen-widgets/

 Thanks for your help. Now... i just need to check QMobility and it's use in
 Maemo 5.

 Cheers

 2010/2/23 Ville M. Vainio 
 vivai...@gmail.commailto:vivai...@gmail.commailto:vivai...@gmail.commailto:vivai...@gmail.com

 On Tue, Feb 23, 2010 at 11:53 AM, Sun Yalong 
 yalong@digia.commailto:yalong@digia.commailto:yalong@digia.commailto:yalong@digia.com
  wrote:

 No, hybrid application is more like an application composed of web
 view + javascript that talks to C++ through QObjects exposed to it.
 
  Got a question that: is it possible to add hybrid application on Home
  screen like Widget does.

 Yes, there is nothing special about them.

 --
 Ville M. Vainio
 http://tinyurl.com/vainio


 ___
 maemo-developers mailing list
 maemo-developers@maemo.orgmailto:maemo-developers@maemo.orgmailto:maemo-developers@maemo.orgmailto:maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Developing for Maemo 5 using Qt

2010-02-26 Thread Jose Maria Garcia-Valdecasas
Thanks Kate.

I will investigate how to use libtpsession, although i'd be interested in
any progress with Qt Mobility Phone API, or at least accessing call history
using Qt Mobility.

Jose.

2010/2/26 kate.alh...@nokia.com

 Qt Mobility Phone API is not yet defined. You can get indication on icoming
 call using libtpsession. Libtpsession is not
 stantard one but you can find in from extras. I am currently working
 eventlogger interface to Qt Mobility, let's see
 could I find way to access Call hirsory with it.

 Kate
 
 From: ext Jose Maria Garcia-Valdecasas [jgvaldeca...@gmail.com]
 Sent: Thursday, February 25, 2010 1:05 AM
 To: Alhola Kate (Nokia-FNDC/Helsinki)
 Cc: maemo-developers@maemo.org
 Subject: Re: Developing for Maemo 5 using Qt

 Thanks for the update Kate.

 One question regarding QMobility, just in case you know the answer.

 Will QMobility API allow access to phone info? For example, check lost
 calls, last call, time of each call and so on. There seems to be an API for
 messages, but have not seen anything about specific phone features.

 Cheers,

 Jose

 2010/2/24 kate.alh...@nokia.commailto:kate.alh...@nokia.com

 
 From: maemo-developers-boun...@maemo.orgmailto:
 maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org
 mailto:maemo-developers-boun...@maemo.org] On Behalf Of ext Jose Maria
 Garcia-Valdecasas [jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.com]
 Sent: Wednesday, February 24, 2010 11:15 PM
 To: Daniil Ivanov
 Cc: maemo-developers@maemo.orgmailto:maemo-developers@maemo.org
 Subject: Re: Developing for Maemo 5 using Qt
 
 Thanks for the links.
 
 Seems that platform compatibility chart is a bit out of date, as AFAIK
 Maemo 6 will never appear with that name.

 It is also out of the date for Maemo 5 features. Messaging, Contacts and
 Multimedia is going in pipeline
 and should appear with most features in external repo very soon. Bearer
 managementhas
 some dependency problem but they should be resolved also soon.

 Kate

 Anyway, i will check the APIs.
 
 
 
 2010/2/24 Daniil Ivanov daniil.iva...@gmail.commailto:
 daniil.iva...@gmail.commailto:daniil.iva...@gmail.commailto:
 daniil.iva...@gmail.com
 Hi Jose!
 
  QtMobility is already available. API should be quite stable at the
 moment.
  http://qt.nokia.com/developer/new-qt-apis
  The only problem with Maemo 5 backend:
 
 http://qt.nokia.com/doc/qtmobility-1.0-beta/index.html#platform-compatability
 
 Thanks, Daniil.
 
 On Wed, Feb 24, 2010 at 10:06 PM, Jose Maria Garcia-Valdecasas
 jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.commailto:
 jgvaldeca...@gmail.commailto:jgvaldeca...@gmail.com wrote:
  Ville, now it's official :)
 
 
 http://labs.trolltech.com/blogs/2010/02/24/qt-for-maemo-5-home-screen-widgets/
 
  Thanks for your help. Now... i just need to check QMobility and it's use
 in
  Maemo 5.
 
  Cheers
 
  2010/2/23 Ville M. Vainio vivai...@gmail.commailto:vivai...@gmail.com
 mailto:vivai...@gmail.commailto:vivai...@gmail.com
 
  On Tue, Feb 23, 2010 at 11:53 AM, Sun Yalong yalong@digia.com
 mailto:yalong@digia.commailto:yalong@digia.commailto:
 yalong@digia.com wrote:
 
  No, hybrid application is more like an application composed of web
  view + javascript that talks to C++ through QObjects exposed to it.
  
   Got a question that: is it possible to add hybrid application on Home
   screen like Widget does.
 
  Yes, there is nothing special about them.
 
  --
  Ville M. Vainio
  http://tinyurl.com/vainio
 
 
  ___
  maemo-developers mailing list
  maemo-developers@maemo.orgmailto:maemo-developers@maemo.orgmailto:
 maemo-developers@maemo.orgmailto:maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers
 
 



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: invoking the application manager programatically in Qt

2010-02-26 Thread Benno Senoner
you can try to install the .deb files directly
system(dpkg -i yourpackage.deb);
but probably it needs to be done as root, not sure how to handle this
situation on maemo5 ?
(perhaps system(sudo dpkg -i yourpackage.deb);

cheers,
Benno


2010/2/25 ibrahim ibrahim@asgatech.com:
 greetings;

 I was hoping to add enable installing some features/add-ons/updates in the
 form of .deb packages (for example: font packages/ updates to my SW) from
 within my  Qt application. So, I used an approach similar to OTA
 installation. I add a '.install' file in some server, open the link to that
 install file inside my application using qwebkit's webview. and when the
 user clicks on the link to the '.install' file, the
 Hildon-application-manager gets invoked and my update package is installed.
 but i faced the following problems:
 first: the webkit component doesn't understand the association between the
 .install file and the required application to open it. the qwebview either
 displays the .install file as text in the browser or does nothing.

 I can overcome this problem by delegating the webl inks and handling them on
 my own, ... when user clicks on the .install file's link, i can create a
 QHTtp object to download the file to any location (say /tmp)

 but the real problem is : i have the .install file But i can't invoke the
 app manager to install the package with the file. Calling the command
 hildon-aaplication-manager install_file.install  from system() or using a
 QProcess object from within the code  - OR EVEN from command-line as root -
  returns the following:
 in the console: the app manager requests a password (??? what password
 should i provide ???)
 then the app manager starts and shows the following notification: Operation
 Failed
 just like that.

 is there's a way to invoke the app manager to install a package from my Qt
 code ???

 any assistance is  higly appreciated
 thanks in advance;
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Dragging rows in a TreeView

2010-02-26 Thread Zachary Goldberg
Hello!

I'm working on an application where I would like the user to have the
ability to reorder the rows of a TreeView.  In my desktop version of
the application I have the user select a row and then hit an up or
down button.  I figure it would be much more user friendly if the
user could simply drag the rows for maemo.  I have done:

treeview.set_reorderable(True)

Which seems to have had no effect.  I have tried those both in and not
in a hildon PannableArea.

I very much appreciate any advice you can offer,
Cheers,
-Zach
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: invoking the application manager programatically in Qt

2010-02-26 Thread Krohon
2010/2/25 ibrahim ibrahim@asgatech.com:

  in the console: the app manager requests a password (??? what password
  should i provide ???)


Are you using the Maemo's SDK virtual image based on Debian? If so there is
no root user, you must configure sudo and then run the package manager
using sudo, i.e.:

$ sudo dpkg -i package-name.deb


Krohon
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: qmake

2010-02-26 Thread ianaré sévi
Thanks much, that worked !

- ianaré sévi



2010/2/25 daniel wilms daniel.wi...@nokia.com:
 ext ianaré sévi wrote:

 Thanks for your response.

 I'm using the following line in my control file :

 Depends: ${shlibs:Depends}, ${misc:Depends}

 Should I explicitly add it there ?

 No, you have to add it here:

 Build-Depends: debhelper (= 5), libqt4-dev

 Daniel

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers