New ConverseJS (XMPP) app with broken source links?
-
@pparent The problem now is that I can't import your code. This is main.qml https://pastebin.com/raw/kt9cpWBz I get :/qml/Main.qml:37 NotificationHelper is not a type
-
I did ./setup-project.sh [PROJECT-PATH] so it must be installed.
-
-
@wilson101 said in New ConverseJS (XMPP) app with broken source links?:
I did ./setup-project.sh [PROJECT-PATH] so it must be installed.
Yes but you should check that the module gets indeed compiled and linked to your project.
-
said in New ConverseJS (XMPP) app with broken source links?:
import Pparent.Notifications 1.0
It's building and installing the app it runs but freezes.
-
You can always debug with
journalctl -rI don't see how the module could make the app freeze, but if the qml module was not built, or not linked to the project, then it could refuse to start QML.
-
@pparent ubuntu-phablet aa-exec[74446]: qrc:/qml/Main.qml:27:1: module "Pparent.Notifications" is not installed yes i see this in clickable logs
-
should I add to clickable.yaml here
clickable_minimum_required: 8.6.0
builder: rust
kill: conversejs
install_root_data:- manifest.json
- content-hub.json
- conversejs.apparmor
- conversejs.desktop
- assets
- www
the folder of the module?
-
@pparent said in New ConverseJS (XMPP) app with broken source links?:
Standard XMMP protocol does not allow to register a custom push server? If so it was poorly designed for a federated protocol...
I am no expert on the topic, but I think while you can of course register a custom push server from the client, UT's push implementation is significantly different from FCM or Apple's one that you would still need a custom proxy server.
-
I'm ready with compiling, but now the app don't start.
Launching app
terminate called after throwing an instance of 'std::runtime_error'
what(): Lost our connection with the registry
-bash: line 1: 112884 Aborted
lomiri-app-launch conversejs.wilson101_conversejs_1.5.7
Started: conversejs.wilson101_conversejs_1.5.7
ADB_COMMAND_FAILED -
I see your project is a Rust project, honestly I don't know how it should work with Rust + Qt, because Rust is not an officially supported language for Qt. There might be problems when linking a C++ Qml module in a Rust project. This is beyond my scope, sorry.