Hi Oliver,

the QextSerialPort library used in 3rdparty/SerialPort exists also as
an standalone library [1], so it should be possible to build against it.
Using system libraries is mandated by the Fedora and Debian packaging
guidelines and I already got a bug opened for this reason in Fedora [2].
So here is the patch that does it. The patch is split into 3 parts for
easier development, which explains the size, but you can merge them
before committing. I was fighting with properly creating the moc files,
there were problems when the QT4_WRAP_CPP macro was used, but then I
found the automoc feature [3] which resolved it.

1. move the QextSerialPort files to own subdirectory
2. update QextSerialPort to version 1.2beta2 (which is packaged in
Fedora)
3. try finding a system library using a newly written cmake module and
use it when found

Please find the patch
http://fedora.danny.cz/qlandkartegt-1.7.6-qextserialport.patch
even a gzipped file was too large for the mailing list.

[1] http://code.google.com/p/qextserialport/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=872883
[3] https://blogs.kde.org/2011/11/01/cool-new-stuff-cmake-286-automoc


        With regards

                Dan

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to