[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: [D-Bus] cross-compiling qt bindings of dbus 0.62
From: Roberto Farina <farina () cefriel ! it>
Date: 2006-06-28 14:57:57
Message-ID: 44A298F5.30901 () cefriel ! it
[Download RAW message or body]
The patch I attached to my first email modifies qdbusbus.moc.
In that file, line 108, there's the following
QDBusReply<> _r = reloadConfig()
If compiled with a 3.4 toolchain everything goes fine; with a 3.3 one,
this raises a syntax error.
Modifying in
QDBusReply<void> _r = reloadConfig()
everything goes fine.
I think this is due to a different handling of templates between the two
toolchains.
Summing up, the errors I ran into are:
- the ones related to qdbusbus.moc;
- wrong linking against expat
I had to go manually in bus directory and change Makefile in this way
DBUS_BUS_LIBS = -L<my path> -lexpat
while the one produced by the configure script reports
DBUS_BUS_LIBS = -lexpat
- test failures during configure
posix_getpwn
abstract socket namespace
Best regards
Roberto
Thiago Macieira wrote:
> Roberto Farina wrote:
>> Yes,
>> I hacked the configure script and changed min_qt_version from 4.1.3 to
>> 4.1.0.
>>
>> Are you saying that upgrading to 4.1.3 everything runs fine?
>
> Yes. I ran into that problem when working on the code and fixed moc
> instead of working around.
>
>> I'm expecting the problem with qdbusbus is due on how the toolchains
>> manages templates. Compiling the same code on my host machine with a
>> 3.4.x toolchain everything goes fine; with the 3.3.x cross toolchain
>> syntax errors appear.
>> This sounds to me as a compiling problem rather than a linking problem.
>
> What qdbusbus errors?
>
--
Roberto Farina
CEFRIEL Politecnico di Milano
Via Fucini, 2 · 20133 Milano (Italy)
p. +39 02 23954 345 - f. +39 02 23954 254
e. roberto.farina@cefriel.it - w. www.cefriel.it
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic