Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2453  / 2 Years ago, tue, november 8, 2022, 2:33:01

I am running UbuntuStudio 20.04 and up until recently was able to use KDEConnect without any issues.


Now KDEConnect does not start up. If I run kdeconnect-app on a terminal, I get the following error.


qt5ct: using qt5ct plugin
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:93 Cannot assign object of type "DevicesModel" to property of type "QAbstractItemModel*" as the former is neither the same as the latter nor a sub-class of it.


I have not done any changes apart from perhaps one regular system update.


Any ideas on how to fix this issue?


More From » kde

 Answers
2

I've no idea to fix it (tried to build from source but 20.04 haven't good lib version for qt5 Ext.) I'm running linuxmint distro with ubuntu 20.04.
I use redmi note 10 5g with kdeconnect.apk (googleplay)
A workaround solution is to not use kdeconnect-app.
Just use kdeconnect-cli and kdeconnect-indicator (gui-parameters).


Some explanations:


Due to a bug with official Debian package file:


$ kdeconnect-app 
qt5ct: using qt5ct plugin
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:93 Cannot assign object of type "DevicesModel" to property of type
"QAbstractItemModel*" as the former is neither the same as the latter nor a sub-class of it.

We can make it working in another way:



  1. Thirst step is to put android device and Linux machine on the same network e.g. 10.42.10.1/24

  2. On Android device, get from play-store the kdeconnect application.

  3. Next, we have to, retrieve kdeconnect from distro's repository $ sudo apt install kdeconnect

  4. Run: $ kdeconnect-cli -l which will list the connected devices and run the kdeconnectd daemon.

  5. Then we can run: $ kdeconnect-indicator which will put a grey icon 'rectangle with [k] inside' in the task-bar from where you can configure the interaction with the android device.

  6. Go back to Android and run kdeconnect, after that, you will ask for pairing with Linux, (you have to accept the request on Linux machine)

  7. That all, you can try doing a copy to clipboard on Linux and paste the content to android, or somethings else.


cli Visual


configuration gui


[#1104] Wednesday, November 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llianconclad

Total Points: 65
Total Questions: 109
Total Answers: 127

Location: Mali
Member since Fri, Dec 3, 2021
2 Years ago
llianconclad questions
Sun, May 1, 22, 08:47, 2 Years ago
Mon, Aug 23, 21, 15:58, 3 Years ago
Sun, Jul 25, 21, 18:19, 3 Years ago
;