[maemo-developers] QtSql and Debian package probelm

From: David King davidk at openismus.com
Date: Thu Jun 10 15:12:56 EEST 2010
On 2010-06-10 15:01, Sascha Mäkelä <sascha.makela at 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 file.
>How can I check what libs I need to add there and what are their correct
>names?
>
>Cheers,
>Sascha
>
>PS. Currently it's like this: Build-Depends: dephelper (>5), libqt4-dev,
>libqt4-network

You need to add the relevant Qt SQL provider packages to the 
‘Depends:’ line, not the ‘Build-Depends:’ line, as the SQL providers 
are plugins that are not required at build time, but at runtime. You 
probably want libqt4-sql-mysql or libqt4-sql-sqlite in Depends, 
depending on which database provider you are using.

-- 
David King | http://amigadave.com/
More information about the maemo-developers mailing list