Aseman-Land / Cutegram

Cutegram is a telegram client by Aseman Land. It's forked from sigram.
http://aseman.co/cutegram
GNU General Public License v3.0
387 stars 60 forks source link

cannot be loaded for module "TelegramQml" #293

Open kasonyin opened 6 years ago

kasonyin commented 6 years ago

hi,When I build the project, it say: qml: qrc:/app/AppMain.qml:5 plugin cannot be loaded for module "TelegramQml": Namespace 'TelegramQml' has already been used for type registration

Ubuntu 16.04

eegorov commented 6 years ago

Same in my case

henning-schild commented 6 years ago

same here, all involved repos with latest git

henning-schild commented 6 years ago

You will have to remove ASEMAN_STATIC_BUILD from DEFINES in telegramqml.pro. But still cutegram will refuse to work with the current code in all the repos.

Use commit 715fe4751b90a3424185c2b03ae394553a2dbecc for aseman-qt-tools. That works around a qml visibility issue i did not manage to fix and it also reverts another ASEMAN_STATIC_BUILD, which might also help.

After that cutegram will start and fail reading its config (i came from 2.7.1). However, on a second start it did come up and ask for authentication again.

@eegorov i have ebuilds for all of the above, could share them somehow if you like

eegorov commented 6 years ago

@henning-schild If it's not hard for you, make a pull-request in rion-overlay

henning-schild commented 6 years ago

@eegorov i had a quick look and it seems to be some work to apply all my changes to your overlay, paths and stuff differ, so i am afraid you wont see this PR

I will try to get ebuilds merged upstream in gentoo at some point

eegorov commented 6 years ago

ok, thanks