[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Phonon #includes don't work with Qt applications
From: Nikos Chantziaras <realnc () arcor ! de>
Date: 2010-03-07 10:46:41
Message-ID: hn0062$7id$1 () dough ! gmane ! org
[Download RAW message or body]
On 03/07/2010 12:22 PM, Thiago Macieira wrote:
> Em Domingo 7. Março 2010, às 09.55.44, George Kiagiadakis escreveu:
>> On Sun, Mar 7, 2010 at 3:53 AM, Nikos Chantziaras<realnc@arcor.de> wrote:
>>> Hello list.
>>>
>>> It seems that either my distro (Gentoo) or KDE's Phonon has a bug. Qt
>>> applications that have includes like this:
>>>
>>> #include<Phonon/MediaObject>
>>>
>>> Don't work with the KDE version of Phonon:
>>>
>>> error: Phonon/MediaObject: No such file or directory
>>>
>>> Indeed, there's no /usr/include/Phonon/ directory. There's only
>>> /usr/include/KDE/Phonon/.
>>> [...]
>>
>> The only thing that will work for sure is<phonon/foobar.h>. It seems
>> phonon and Qt people have not yet decided which is the correct include
>> format for phonon and they ship the camel-case headers in different
>> places. [...]
Thanks for the pointer. Indeed, this seems to work regardless of platform.
> Anyway, the library is called libphonon (with lowercase p) and so the headers
> should be with lowercase p too.
I guess they just want consistency. Since everything else in Qt is
camel-case, it would look weird if Phonon would be an exception.
Unfortunately, the Qt docs don't mention this incompatibility with KDE's
Phonon.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic