Qt Bluetooth and maybee serial support

Patrick Valsecchi patrick at thus.ch
Thu May 22 04:35:23 PDT 2014


On 22. 05. 14 12:09, Jef Driesen wrote:
> For bluetooth communication I'm not sure yet. Qt is a rather large 
> dependency for a small library like libdivecomputer. I'm aware that 
> alone isn't a good enough reason to reject your proposal, but it is 
> something to take into account. I also wonder whether a dependency on 
> Qt would cause problems for non-Qt based applications (e.g. Gtk)?

Qt is split in multiple libraries. For example QtCore doesn't depend on 
something special. Now, your biggest problem is that most Linux 
distribution won't provide this version of Qt for a long time.

$ ldd /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8
         linux-vdso.so.1 =>  (0x00007fff2255d000)
         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fa7a9704000)
         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa7a94eb000)
         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa7a92e6000)
         libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
(0x00007fa7a8fde000)
         librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa7a8dd6000)
         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fa7a8ad1000)
         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa7a87cb000)
         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007fa7a85b5000)
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa7a81ee000)
         /lib64/ld-linux-x86-64.so.2 (0x00007fa7a9e31000)
         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 
(0x00007fa7a7fb0000)


More information about the devel mailing list