[odb-users] Problem compiling applications when Qt is built without STL compatibility

Sinny Kumari ksinny at gmail.com
Sat Feb 1 02:09:13 EST 2014


Hi,

Thank you for your quick response and writing this application which made
our work easier. I also tried libodb-qt with fixes made by you on fedora
and it works fine.

Cheers!


On Sat, Feb 1, 2014 at 12:23 PM, Shantanu Tushar Jha <shantanu at kde.org>wrote:

> Hi Boris,
>
> Thanks for the quick reply! I tested the tarball you linked to, seems to
> work fine :)
>
> Also, another appreciation I have for ODB is that the manual at
> http://codesynthesis.com/products/odb/doc/manual.xhtml is very good, we
> couldn't use other C++ ORMs because their docs were very confusing. Plus
> there is support for Qt/sqlite which just works (TM).
>
> Thanks,
>
>
> On Sat, Feb 1, 2014 at 10:37 AM, Boris Kolpackov <boris at codesynthesis.com>wrote:
>
>> Hi Shantanu Tushar,
>>
>> Shantanu Tushar Jha <shantanu at kde.org> writes:
>>
>> > We are using ODB for Plasma Media Center[1] in the KDE project.
>>
>> That's pretty cool. Let us know if you find any other issues with
>> using ODB in projects like this.
>>
>>
>> > Follwing advice from a stackoverflow post[2], we have come up with a
>> > patch[3] for libodb-qt which seems to work.
>> >
>> > Now, for packaging we can either request distros to manually apply this
>> > patch to ODB packages, or is it possible for this to be applied
>> upstream?
>>
>> Yes, the more portable ODB is the better. I've applied a slightly
>> modified version of your patch (used toLatin1() instead of toUtf8()
>> and added a comment explaining why we can't use toStdString()):
>>
>>
>> http://scm.codesynthesis.com/?p=odb/libodb-qt.git;a=commitdiff;h=1039d51ecde835ef842a6596083e771f7f367fc7;hp=4d9bde105203653492573d6d52b307c3ce42419b
>>
>> I've also packaged libodb-qt with the fix:
>>
>> http://codesynthesis.com/~boris/tmp/odb/libodb-qt-2.3.0.tar.bz2
>>
>> If you could try it and let me know if everything works on your side,
>> then I can publish it as a 2.3.1 bug-fix release.
>>
>> Boris
>>
>
>
>
> --
> Shantanu Tushar    (UTC +0530)
> http://www.shantanutushar.com
>



-- 
http://www.sinny.in


More information about the odb-users mailing list