Re: How to get kinetic scrolling working using Qt creator

2010-06-10 Thread Daniil Ivanov
Hi Sudheer! The name of a tool is Qt Designer and it should allow to do what you want, however I'm wrong person to ask how to use Qt Designer. Thanks, Daniil. On Thu, Jun 10, 2010 at 7:47 AM, Sudheer K. scifi@hotmail.com wrote: Hi Daniil, Thanks for looking into the code. The main

Re: How to optify in MADDE?

2010-06-10 Thread Daniil Ivanov
Hi Daniel! Of course manual optification is the way to go when there is no other way. But is it so that installing scratchbox and performing optification there is considered as too difficult? BTW, are there any chances maemo-optify will be included into MADDE? Thanks, Daniil. On Thu, Jun

Re: How to optify in MADDE?

2010-06-10 Thread daniel wilms
Hi, ext Daniil Ivanov wrote: Hi Daniel! Of course manual optification is the way to go when there is no other way. But is it so that installing scratchbox and performing optification there is considered as too difficult? I think the manual way is reasonably easy. Or which drawback do

Re: How to optify in MADDE?

2010-06-10 Thread daniel wilms
Hi, ext Daniil Ivanov wrote: Hi Daniel! You have to keep ratio 80%/20% /opt/usr it's not so easy to achieve manually. it is not required to have this ratio and I think this is rather confusing to give that out as a goal. The easiest way is to put everything into a separate

Re: How to optify in MADDE?

2010-06-10 Thread Riku Voipio
On 06/10/2010 11:32 AM, ext Daniil Ivanov wrote: Hi Daniel! Of course manual optification is the way to go when there is no other way. But is it so that installing scratchbox and performing optification there is considered as too difficult? BTW, are there any chances maemo-optify will

Re: How to optify in MADDE?

2010-06-10 Thread Daniil Ivanov
Hi Riku! Then why we went to maemo-optify path instead of modifying Debian build tools? I know it was a huge thread about optification, I didn't dare to read it. Neither want to start it again :) Thanks, Daniil. On Thu, Jun 10, 2010 at 12:57 PM, Riku Voipio riku.voi...@nokia.com wrote:

Re: How to optify in MADDE?

2010-06-10 Thread Tomi Ollila
On Thu 10 Jun 2010 13:08, Tim Teulings t...@framstag.com writes: Hallo! Location of application files is not only defined by the packaging mechanism. Part of the locations are defined by the software at buildtime (partly configure options), some may be hardcoded. In general one cannot be

Re: How to optify in MADDE?

2010-06-10 Thread Tomi Ollila
On Thu 10 Jun 2010 12:49, daniel wilms daniel.wi...@nokia.com writes: Hi, ext Daniil Ivanov wrote: Hi Daniel! Moreover, if you put binary to /opt on MADDE dpkg-buildpackage will fail to set execution bit to your binary (I hope it will be fixed soon). This is what I said. It is

Re: extras-devel .install files issue

2010-06-10 Thread Antonio Aloisio
Hi Ram, According to [1] there is just one devel repsitory and it's fremantle. Btw extras has the fremantle-1.2 rep too. Cheers, Antonio [1] http://repository.maemo.org/extras-devel/pool/ On Thu, Jun 10, 2010 at 1:47 PM, Ram Kurvakat rkma...@gmx.com wrote: is it dist = fremantle or dist =

Re: extras-devel .install files issue

2010-06-10 Thread Daniil Ivanov
Hi Antonio! Extras has it, but extras-devel not. At least at the moment of writing this. Thanks, Daniil. On Thu, Jun 10, 2010 at 1:58 PM, Antonio Aloisio antonio.aloi...@gmail.com wrote: Hi Ram, According to [1] there is just one devel repsitory and it's fremantle. Btw extras has the

Re: How to optify in MADDE?

2010-06-10 Thread Ville M. Vainio
On Thu, Jun 10, 2010 at 12:49 PM, daniel wilms daniel.wi...@nokia.com wrote:   Moreover, if you put binary to /opt on MADDE dpkg-buildpackage will fail to set   execution bit to your binary (I hope it will be fixed soon). This is what I said. It is fixed already (this morning ;) ) and

Re: How to optify in MADDE?

2010-06-10 Thread Tomi Ollila
On Thu 10 Jun 2010 13:55, daniel wilms daniel.wi...@nokia.com writes: ext Sascha Mäkelä wrote: OK, could someone give me or point me to example on how to do this? Basically the only the src.pro http://src.pro and the .desktop files need to be modified, right? I will post something how to do

Re: How to optify in MADDE?

2010-06-10 Thread Andrew Flegg
On Thu, Jun 10, 2010 at 12:15, Tomi Ollila tomi.oll...@guru.guru-group.fi wrote: I personally dislike polluting /opt -tree with lots of application directories (although that is allowed by FHS). Better alternative would be /opt/provider/... (IMHO) (also allowed by FHS), where provider is

QtSql and Debian package probelm

2010-06-10 Thread Sascha Mäkelä
Hi, I just made a Debian package of my app. I'm using QtSql in it. But for some reason when I install the package, all the SQL things don't work. My guess is that I'm missing something in the Build-Depends line in the control file. How can I check what libs I need to add there and what are their

Re: QtSql and Debian package probelm

2010-06-10 Thread Ram Kurvakat
you need libqt4-sql and probably libqt4-sql-plugin ( plugin = sqlite , if you are using sqlite plugin ) - Original Message - From: Sascha Mäkelä Sent: 06/10/10 01:01 PM To: maemo-developers Subject: QtSql and Debian package probelm Hi, I just made a Debian package of my app. I'm using

Re: QtSql and Debian package probelm

2010-06-10 Thread David King
On 2010-06-10 15:01, Sascha Mäkelä sascha.mak...@gmail.com wrote: Hi, I just made a Debian package of my app. I'm using QtSql in it. But for some reason when I install the package, all the SQL things don't work. My guess is that I'm missing something in the Build-Depends line in the control

Re: QtSql and Debian package probelm

2010-06-10 Thread Daniil Ivanov
Hi Sascha! You don't have to include libqt4-network and libqt4-sql in Depends:. Where do you save your DB? Thanks, Daniil. On Thu, Jun 10, 2010 at 3:47 PM, Sascha Mäkelä sascha.mak...@gmail.com wrote: This how it looks now: Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-network,

Re: QtSql and Debian package probelm

2010-06-10 Thread David King
On 2010-06-10 15:47, Sascha Mäkelä sascha.mak...@gmail.com wrote: This how it looks now: Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-network, libqt4-sql, libqt4-sql-sqlite But still it doesn't work. Am I missing something? The app works fine when I run it in N900 from Qt Creator.

Re: QtSql and Debian package probelm

2010-06-10 Thread Sascha Mäkelä
Hmm... I'm not sure what you mean by this. I simply use something like this to open the database: QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE); db.setDatabaseName(AppName); return db.open(); On Thu, Jun 10, 2010 at 15:51, Daniil Ivanov daniil.iva...@gmail.comwrote: Hi

Re: QtSql and Debian package probelm

2010-06-10 Thread Sascha Mäkelä
I'm just getting: QSqlQuery::value: not positioned on a valid record It's like the app is unable to write any data to the SQLite database. As I said, it does work fine when running it from Qt Creator or MADDE. On Thu, Jun 10, 2010 at 15:57, David King dav...@openismus.com wrote: On

Re: How to optify in MADDE?

2010-06-10 Thread daniel wilms
ext Graham Cobb wrote: On Thursday 10 June 2010 12:28:10 Andrew Flegg wrote: Using /opt/maemo for anything other than maemo-optify output could cause confusion, if not problems. I agree with Andrew. We have enough problems maintaining the optify hack without having to worry about

Problems downloading file on N900 using libcurl ...

2010-06-10 Thread Obaid Mushtaq
Hi, I am a new developer on maemo and using libcurl in C to download a file. When I run the application on normal PC, it works fine but on N900 I get the following: * About to connect() to xyz.com port 80 (#0) * couldn't connect to host * Closing connection #0 * Couldn't connect to server I

RE: extras-devel .install files issue

2010-06-10 Thread tero.kojo
The N900 automatically inserts the proper dist when you open the install file in Application manager. fremantle-1.2 for PR1.2 and just fremantle for all prior PR's Could you describe what the problem you exactly were experiencing and where? Tero From:

Re: Problems downloading file on N900 using libcurl ...

2010-06-10 Thread Luca Donaggio
On Thu, Jun 10, 2010 at 3:56 PM, Obaid Mushtaq obaidmush...@gmail.comwrote: Hi, I am a new developer on maemo and using libcurl in C to download a file. When I run the application on normal PC, it works fine but on N900 I get the following: * About to connect() to xyz.com port 80 (#0) *

Re: extras-devel .install files issue

2010-06-10 Thread Ram Kurvakat
yes I agree. for example for an app in extras-devel and if you specify distribution = fremantle in the .install file, in my phone(PR1.2) it was looking for fremantle-1.2 by default, some users reported the same. Not sure if this is connected to what is being discussed. I can post the example

RE: extras-devel .install files issue

2010-06-10 Thread tero.kojo
Utterly missed the link, sorry about that. (wans't really aware that we have .install files for extras-devel :) ) Looks like a case for.. the admin! Niels? Tero From: ext Daniil Ivanov [daniil.iva...@gmail.com] Sent: 10 June 2010 17:24 To: Kojo Tero

Re: Problems downloading file on N900 using libcurl ...

2010-06-10 Thread Obaid Mushtaq
Hi, Yes. I can use PING. The problems seems to be strange to me now. I am running the following program on N900. http://curl.haxx.se/libcurl/c/simple.html When I put www.google.com there, it doesn't work. For other sites, it works. There is no packet generated for the case of google. I have

Re: Problems downloading file on N900 using libcurl ...

2010-06-10 Thread Obaid Mushtaq
Hi, The problem was solved by using IPv4 always. curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); Thanks for the cooments. BR, Obaid On Thu, Jun 10, 2010 at 4:53 PM, Obaid Mushtaq obaidmush...@gmail.comwrote: Hi, Yes. I can use PING. The problems seems to be strange to me

Re: How to optify in MADDE?

2010-06-10 Thread Tomi Ollila
On Thu 10 Jun 2010 15:17, Graham Cobb g+...@cobb.uk.net writes: On Thursday 10 June 2010 12:28:10 Andrew Flegg wrote: Using /opt/maemo for anything other than maemo-optify output could cause confusion, if not problems. I agree with Andrew. We have enough problems maintaining the optify hack