[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#729602: qtbase5-dev: cmake fails to find Sql Qt5 package if all Sql drivers are not installed



tag 729602 pending
thanks

On Thursday 14 November 2013 21:37:22 Matthieu Gallien wrote:
> Package: qtbase5-dev
> Version: 5.2.0~beta1+dfsg-2
> Severity: normal
> 
> Dear Maintainer,
> Trying via cmake to find Qt5 Sql module cannot work because
> /usr/lib/i386-linux-gnu/cmake/Qt5Sql/Qt5Sql_QTDSDriverPlugin.cmake refer to
> files installed by package libqt5sql5-tds. This package is not a dependency
> of qtbase5-dev and in my opinion rightly. A possible solution could be to
> install the cmake file of Sql drivers at the same time than the Sql driver
> plugin.

First of all, thanks for your bugreport and sorry for the late reply.

Indeed, this is an interesting packaging bug to solve. Installing the cmake 
files with the plugin is, IMHO, not an option.

On the other hand, creating a dev package for each an every sql plugin is too 
much for a single cmake file, and as they are plugins, there are not backend-
specific headers. Even making a new package like libqt5sql5-dev does not seems 
correct.

What I'm going to do is create libqt5sql5-dev, and make it a recommend of 
qtbase5-dev. libqt5sql5-dev will depend on the plugins and have the SQL 
related headers and cmake files.


Kinds regards, Lisandro.

-- 
Videogames do not influence kids. I mean, if Pac-Man influenced our
generation, we would all be jumping in dark rooms, chomping magic pills
and listening to electronic repeating music.
  Kristian Wilson, Nintendo Inc. 1989

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: