No, I just don't know what might be wrong :(. In all other source
codes, you just do:

IMAccount imAccount = IMAccount(EnumIMProtocol::IMProtocolJabber);
//
// There you do some settings of account, like login/password ...
//
UserProfile userProfile;
userProfile.addIMAccount(imAccount);

But it just doesn't work for me. I do it in QtAddWengoAccount.cpp in
function void QtAddWengoAccount::loginClicked() {} (after creating
SIP account). It compiles, it doesn't crash, it just doesn't work.
It doesn't add Jabber account to new profile.

Can someone please help me?

Jan Kaláb napsal(a):
> Ok, I solved it, but now I can't save the jabber account to my user
> profile. I'm attaching my code which should create new jabber
> account, save it to profile and connect to it (commented last line).
> But it doesn't work :(
> 
> Jan Kaláb napsal(a):
>> Hi,
>> I'd like to create a Jabber account next to the wengo/sip account
>> during startup. I know all jabber account settings, and I guess I
>> just want to copy QtJabberSettings::setIMAccount() function. But
>> what is the _imAccount thing? Compiler still complains about
>> "‘_imAccount’ was not declared in this scope" but I don't know where
>> to find it. I tried some includes, but none helped.
>>
>> Thanks for your help.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> QuteCom-dev mailing list
>> [email protected]
>> http://lists.qutecom.org/mailman/listinfo/qutecom-dev
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> QuteCom-dev mailing list
>> [email protected]
>> http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to