Phonon

Harald Sitter sitter at kde.org
Tue May 31 19:36:06 CEST 2011


On Tue, May 31, 2011 at 12:31 AM, Alexander Neundorf <neundorf at kde.org> wrote:
> On Sunday 22 May 2011, Alexander Neundorf wrote:
> ...
>> > > There will be a PhononConfig.cmake file, which will be found by
>> > > find_package(), and it will contain all the information about the
>> > > installed phonon, like e.g. the include dir.
>> > > It will be placed in lib/cmake/phonon/.
>> > > Alternatively it could also go into lib/phonon/cmake/.
>> >
>> > lib/cmake/phonon sounds best (to have everything in a central place :)).
>>
>> Ok.
>
> One more thing: phonon installs some things by default outside
> CMAKE_INSTALL_PREFIX.
> This is the Qt plugin and the Qt prj file.
>
> This is not good. By default nothing should be installed outside
> CMAKE_INSTALL_PREFIX, because the one who installs may not have write
> permissions there and he may have chosen the install prefix so that it doesn't
> touch the rest of the system.

I agree.

> So, I'd like to change this so that the default is inside
> CMAKE_INSTALL_PREFIX, maybe with a message that some things may have to be set
> up, and that it can optionally be changed to whatever is wanted.

If we'd install the Qt plugins anywhere but in the designated Qt
directories, Qt would not find them, making for a major inconvenience
for the user. I am not quite sure how to install to C_I_P and maintain
sane default behavior. If I wanted to develop an application using
Phonon and Qt Designer (though QML will have the very same problem
really), I surely would not want to jump through all sorts of hoops to
get the install paths right.

So, no idea what to do, but simply installing to C_I_P will not do as
it moots the users/developers experience.

regards,
Harald


More information about the Kde-buildsystem mailing list