futrnostr / futr

nostr client app written in haskell and qt5
GNU General Public License v3.0
55 stars 2 forks source link

The app fails to start (Qt) #33

Closed starius closed 1 month ago

starius commented 1 month ago

I built the app following the instructions from the README and tried to run it.

$ /home/user/futr/dist-newstyle/build/x86_64-linux/ghc-9.6.6/futr-0.1.0.0/build/futr/futr

(futr:146700): Gdk-CRITICAL **: 00:44:46.229: gdk_atom_intern: assertion 'atom_name != NULL' failed

(futr:146700): Gdk-CRITICAL **: 00:44:46.229: gdk_atom_intern: assertion 'atom_name != NULL' failed
HsQML: qrc:/qml/main.qml:4:1: Type App unavailable
HsQML: qrc:/qml/content/App.qml:4:1: module "QtQuick.Controls.Material" is not installed
HsQML: qrc:/qml/content/App.qml:3:1: module "QtQuick.Controls" is not installed
HsQML: qrc:/qml/content/App.qml:2:1: module "QtQuick.Window" is not installed
HsQML: qrc:/qml/content/App.qml:4:1: module "QtQuick.Controls.Material" is not installed
HsQML: qrc:/qml/content/App.qml:3:1: module "QtQuick.Controls" is not installed
HsQML: qrc:/qml/content/App.qml:2:1: module "QtQuick.Window" is not installed
HsQML: qrc:/qml/content/App.qml:4:1: module "QtQuick.Controls.Material" is not installed
HsQML: qrc:/qml/content/App.qml:3:1: module "QtQuick.Controls" is not installed
HsQML: qrc:/qml/content/App.qml:2:1: module "QtQuick.Window" is not installed

This seems like a Qt (or Qt Quick for Haskell) error.

How to fix it?

OS: Debian 12

prolic commented 1 month ago

You need to install qt quick packages for debian. I listed Ubuntu packages in readme. The package names might be different on debian though. If you keep running into this, I might be able to help out Monday.

On Sun, Oct 13, 2024, 00:48 Boris Nagaev @.***> wrote:

I built the app following the instructions from the README and tried to run it.

$ /home/user/futr/dist-newstyle/build/x86_64-linux/ghc-9.6.6/futr-0.1.0.0/build/futr/futr

(futr:146700): Gdk-CRITICAL **: 00:44:46.229: gdk_atom_intern: assertion 'atom_name != NULL' failed

(futr:146700): Gdk-CRITICAL **: 00:44:46.229: gdk_atom_intern: assertion 'atom_name != NULL' failed HsQML: qrc:/qml/main.qml:4:1: Type App unavailable HsQML: qrc:/qml/content/App.qml:4:1: module "QtQuick.Controls.Material" is not installed HsQML: qrc:/qml/content/App.qml:3:1: module "QtQuick.Controls" is not installed HsQML: qrc:/qml/content/App.qml:2:1: module "QtQuick.Window" is not installed HsQML: qrc:/qml/content/App.qml:4:1: module "QtQuick.Controls.Material" is not installed HsQML: qrc:/qml/content/App.qml:3:1: module "QtQuick.Controls" is not installed HsQML: qrc:/qml/content/App.qml:2:1: module "QtQuick.Window" is not installed HsQML: qrc:/qml/content/App.qml:4:1: module "QtQuick.Controls.Material" is not installed HsQML: qrc:/qml/content/App.qml:3:1: module "QtQuick.Controls" is not installed HsQML: qrc:/qml/content/App.qml:2:1: module "QtQuick.Window" is not installed

This seems like a Qt (or Qt Quick for Haskell) error.

How to fix it?

OS: Debian 12

— Reply to this email directly, view it on GitHub https://github.com/futrnostr/futr/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAJPCKDZ6PYRFK4LIODLDZ3HUSPAVCNFSM6AAAAABP3AUMKKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DGNRRGIZTOOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

starius commented 1 month ago

I installed qml-module-qtquick-controls and qml-module-qtquick-controls2. Now it starts! Thanks! I added the packages to README in https://github.com/futrnostr/futr/pull/32