Hi Iain,

On Tue, Mar 11, 2014 at 11:30 AM, Iain R. Learmonth <[email protected]> wrote:

> On 11/03/14 08:56, Ubiratan S. Freitas wrote:
> > Meanwhile, I intend to see if I can build SleepyHead using only the
> > libraries present in Debian. So I will install libquazip and
> > libqextserialport
> > in my Wheezy and see if I can build with those instead of the libraries
> > that SleepyHead ships.
>
> Also cool.
>

Well, I've managed to build it. Sort of. SleepHead builds as it is with
Debian libraries but I think I ran into a bug in libqextserialport. The
only
reason I didn't file a bug report yet is that I don't trust my conclusion
about
the bug.

When I tried to build SH I got an error saying qextserialport.h was not
found:
oximetry.h:17:28: fatal error: qextserialport.h: Aucun fichier ou dossier
de ce type

In my machine, the problem is that the file
/usr/share/qt4/mkspecs/features/extserialport.prf
points to the wrong include directory:
INCLUDEPATH += /usr/include/qt4/QtExtSerialPort

The .h files were installed in:
/usr/include/QtExtSerialPort

Changing the .prf file so that it points to the right location allowed me to
build and run SH without problems.

The reason I'm not sure this is a bug in libqextserialport is that I built
libqextserialport-dev myself from the source package (with dpkg-buildpackage
-b) and installed in a stable machine, so there is a chance I made a mistake
somewhere. Also qextserialport have been in testing since 2013-07-23. Any
package using this library and building with qmake and
CONFIG += extserialport
in the project file should have found this bug, but there are no bugs
listed in
the package.

So what do you think should I do? File the bug report anyway?


Best wishes,

Bira.

Reply via email to