KF5 Porting Notes

Dominik Haumann dhaumann at kde.org
Thu Jan 7 08:57:24 GMT 2016


On Wed, Jan 6, 2016 at 11:15 PM, Albert Astals Cid <aacid at kde.org> wrote:
> El Wednesday 06 January 2016, a les 14:56:48, Martin Koller va escriure:
>> In the section about KApplication -> QApplication, I find:
>>
>> Make sure to:
>> Call QCoreApplication::setApplicationName() and others ...
>>
>> It seems this is not needed when one uses KAboutData::setApplicationData()
>
> Correct, you can see KAboutData::setApplicationData calls
> app->setApplicationName(aboutData.componentName());

Btw, you can also quickly navigate KF5 source code here:
http://code.woboq.org/qt5/kf5/kcoreaddons/src/lib/kaboutdata.cpp.html#904
This often is faster than browsing through the headers on disk.

Greetings,
Dominik


>> If this is correct, I would add this to the page:
>>
>> https://community.kde.org/index.php?title=Frameworks/Porting_Notes&action=ed
>> it&section=16
>




More information about the kde-core-devel mailing list