Wrong required minimum Qt version ?

Dominik Haumann dhaumann at kde.org
Sun Dec 10 21:12:35 UTC 2017


Hi Kai,

On Sun, Dec 10, 2017 at 10:04 PM, Alexander Neundorf <neundorf at kde.org> wrote:
> Hi,
>
> my build of kate fails with the following error:
> error: ‘class QApplication’ has no member named ‘desktopFileName’
>
> This has been added to QApplication in 5.7, but my OpenSUSE Leap has Qt 5.6.
>
> The top level CMakeLists.txt states Qt 5.4 is minimum required version.
>
> So, which is wrong ?
> The minimum required version (then I couldn't build against the system Qt5
> anymore :-/ ) or the use of desktopFileName ?

This is due to the updateJumpLists feature added recently.

Kai, can you clarify? Maybe we simply #ifdef the function body
so that nothing happens when this is called?

@Alex: How would a patch look like that it compiles for you again?

Greetings
Dominik


More information about the KWrite-Devel mailing list