qt-dbus compilation problem

Ralf Habacker ralf.habacker at freenet.de
Wed May 31 19:43:08 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thiago Macieira schrieb:
> Ralf Habacker wrote:
>> Some notes:
>>
>> 1. Any problem to create the binaries into builddir/bin like kdelibs
>> does, it makes it easier to run applications because no additional path
>> to libdbus-qt4-1 is required. I would add the relating stuff to main
>> CMakeLists.txt
> 
> I don't object. The buildsystem should take care of running 
> installed/uninstalled binaries on its own, though.
> 
>> 2. ping/pong is located in examples and in selftests/qdbusmarshall/ping
>> .. /qpong. Isn't this duplicated stuff ?
> 
> No. Those are two different programs.
> 
>> 3. In snapshots of dbus-win3 I had prefixed the examples with 'q' to
>> make it clear that this are qt related. This may escpecially sense for
>> ping. If the qt-dbus builddir bin is in the system path it may be
>> overriden by the system ping tool. Any comments ?
> 
> Yes: don't install the examples. They are not meant to be installed.
> The only one that will one day be installed is examples/dbus. And it
> won't take a q, because it's meant to replace "dcop".

I'm talking about where the uninstalled binaries will be located.

C:\Daten\kde4\kdesupport\qt-dbus-build>dir bin
31.05.2006  17:56    <DIR>          .
31.05.2006  17:56    <DIR>          ..
31.05.2006  17:56           198.600 chat.exe
31.05.2006  17:56           141.543 complexping.exe
31.05.2006  17:56           122.767 complexpong.exe
31.05.2006  17:56           173.793 dbus.exe
31.05.2006  17:56           151.023 dbuscpp2xml.exe
31.05.2006  17:56           228.215 dbusidl2cpp.exe
31.05.2006  17:56           101.254 hello.exe
31.05.2006  17:56           878.103 libdbus-qt4-1.dll
31.05.2006  17:56           203.826 libdbus-qt4-1.dll.a
31.05.2006  17:56           126.218 listnames.exe
31.05.2006  17:56           120.644 ping.exe
31.05.2006  17:56           114.418 pong.exe
31.05.2006  17:56           119.930 qpong.exe
31.05.2006  17:56           124.350 tst_hal.exe
31.05.2006  17:56           300.073 tst_qdbusabstractadaptor.exe
31.05.2006  17:56           162.739 tst_qdbusconnection.exe
31.05.2006  17:56           212.833 tst_qdbusinterface.exe
31.05.2006  17:56           275.385 tst_qdbusxmlparser.exe

if all uninstalled binaries are living in bin there is a name clash
between examples/ping and selftests/qdbusmarshall/ping. The latter could
be renamed to qping
Additional ping.c has to be patched because  it could not start
../qpong/qpong and the call to dbusidl2cpp in examples/CMakeLists.txt
has to be patched.

>> 4. Not all testcases are working, but this may depends on qt release. I
>> will see when I can update to qt 4.1.3
> 
> There's only one test failing for me: tst_Hal::lock. It fails in all Qt 
> versions I have. Nothing else fails in Qt 4.1.2 for me.

I've appended a error log. Maybe you can give some informations about
the reasons, i hope.

BTW: How do you have planned to run the tests, by the cmake provided
test environment (add_test()) or in an other way ?

Regards
Ralf




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEfeO7oHh+5t8EXncRAoHMAJ9PmKfQ43YTENK/sgy8AlonBRVUEgCfRewz
Y/3JuFguWgcaZzypr8zOe/0=
=CVTi
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log.bz2
Type: application/octet-stream
Size: 6175 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060531/6ca613d8/attachment.obj>


More information about the kde-core-devel mailing list