luspi / photoqt

PhotoQt Image Viewer (mirror repo) - https://photoqt.org
GNU General Public License v2.0
49 stars 11 forks source link

photoqt not launching or opening #15

Closed aanishacharyaa closed 1 year ago

aanishacharyaa commented 2 years ago

this is what it says if launched from terminal

QQmlApplicationEngine failed to load component qrc:/mainwindow.qml:242:5: Type PQTrayIcon unavailable qrc:/PQTrayIcon.qml:24:1: module "Qt.labs.platform" is not installed

luspi commented 2 years ago

Hi @aanishacharyaa

Thanks for reporting this. A few questions:

1) What platform are you using, Windows or Linux? 2) How did you install PhotoQt? 3) Which version of PhotoQt do you have?

aanishacharyaa commented 2 years ago

@luspi I'm using linux mint (Ubuntu 22) 64 bit and installed it using software manager (v2.5-4)

luspi commented 2 years ago

Okay, thanks! It seems like the package in the official repositories is missing the package qml-module-qt-labs-platform as dependency, installing that one should fix this.

You can also add the PhotoQt PPA in order to get the latest version from there (currently 2.9, soon 2.9.1): https://launchpad.net/~lumas/+archive/ubuntu/photoqt

aanishacharyaa commented 2 years ago

@luspi Thanks! Just to mention that even though your website has clear instructions for each platform, GitHub README is bit confusing at first glance. Maybe just put downloads link of your website in linux download section of the GitHub.

alexmyczko commented 1 year ago

Thanks for the solution, it'll be in the 3.0 package...