Kf5port(olivier) rishabh

RISHABH GUPTA rishabh9511 at gmail.com
Sun Sep 13 16:51:38 UTC 2015


On Sun, Sep 13, 2015 at 5:30 PM, <amarok-devel-request at kde.org> wrote:
>
>> Send Amarok-devel mailing list submissions to
>>         amarok-devel at kde.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://mail.kde.org/mailman/listinfo/amarok-devel
>> or, via email, send a message with subject or body 'help' to
>>         amarok-devel-request at kde.org
>>
>> You can reach the person managing the list at
>>         amarok-devel-owner at kde.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Amarok-devel digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: kf5 port(olivier) (Olivier Churlaud)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 13 Sep 2015 11:33:01 +0200
>> From: Olivier Churlaud <olivier at churlaud.com>
>> To: amarok-devel at kde.org
>> Subject: Re: kf5 port(olivier)
>> Message-ID: <55F542CD.90509 at churlaud.com>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>>
>> >> here's the output
>> >> http://pastebin.com/5StyEUth
>> > Huuu.... Wait, it's not possible. My segfault doesn't happen in
>> > handleCliArgs() but way after... It means that I left a bug, that
>> > works on my system but not yours OR that something is wrong on your
>> > side. Please investigate why this happen, I'll do this on my side too.
>>
>> Ok, in the code you have this:
>>
>>
>> QCommandLineParser parser;
>> parser.addVersionOption();
>> parser.addHelpOption();
>>
>> aboutData.setupCommandLine(&parser);
>> app.initCliArgs(&parser);
>> parser.process(app);
>> aboutData.processCommandLine(&parser);
>>
>> so normally, the parser is given in initCliArgs() to App, and the
>> options are added here.
>>
>> app.handleCliArgs(cwd) should be called after initCliArgs() (when
>> continueInit() is called) and m_args should point to parser: your error
>> shouldn't be there.. (or I did something wrong in the code, but I don't
>> know what)
>>
>> So I advise you to check very specifically that every option is called,
>> and debug that m_args points well toward the parser from the main.
>>
>>
>
>

In my main.cpp app.initcliargs(&parser) was missing after adding it, this
is the output
http://pastebin.com/Ka7cz7rZ.Is there anything else that you think is
broken on myside.Also
could you please provide your output ?




>
>
Cheers!
>> Olivier
>>
>>
>>  thanks,
 rishabh

> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>
>>
>> ------------------------------
>>
>> End of Amarok-devel Digest, Vol 104, Issue 15
>> *********************************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20150913/42103cbd/attachment.html>


More information about the Amarok-devel mailing list