Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.21k stars 846 forks source link

Qt.labs.platform version not installable #717

Open BioHazard1282 opened 2 years ago

BioHazard1282 commented 2 years ago

Device: Raspberry Pi 400 OS: TwisterOS 2.1.2 Arch: armhf (64-bit not enabled) Installed with: Pi Apps

Unable to run because:

pi@achak-twOSPi400:~ $ ~/cool-retro-term/cool-retro-term
QQmlApplicationEngine failed to load component
qrc:/main.qml:67 Type OSXMenu unavailable
qrc:/menus/OSXMenu.qml:22 module "Qt.labs.platform" version 1.1 is not installed

The latest version of this package is installed

ahndmal commented 2 years ago

+1. Have the same here on UbuntuUbuntu 22.04 LTS. Please help to resolve the issue.

Patrick-Mayer commented 2 years ago

+1. Have the same here on UbuntuUbuntu 22.04 LTS. Please help to resolve the issue.

I also have the same issue. I've been using the built in package manager to try to find the right thing to download, but nothing has worked so far.

Crilum commented 2 years ago

Me too... Any ideas?

Patrick-Mayer commented 2 years ago

Me too... Any ideas?

Nah, I'm just using Hyper instead. The author will hopefully get this issue fixed one of these days.

BioHazard1282 commented 2 years ago

Hopefully it is fixed, I'm excited to use this.

On Fri, Jun 10, 2022 at 4:56 PM Patrick Mayer @.***> wrote:

Me too... Any ideas?

Nah, I'm just using Hyper instead. The author will hopefully get this issue fixed one of these days.

— Reply to this email directly, view it on GitHub https://github.com/Swordfish90/cool-retro-term/issues/717#issuecomment-1152788440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV6JORO4JE6ZXRRNVIZ3CLVOPB3HANCNFSM5UFIA32A . You are receiving this because you authored the thread.Message ID: @.***>

-- Sent from Arbiter's iPhone SE

ignatiusd commented 2 years ago

Installing qml-module-qt-labs-platform worked for me.

sudo apt install qml-module-qt-labs-platform

Hope it helps. cheers.

Patrick-Mayer commented 2 years ago

Installing qml-module-qt-labs-platform worked for me.

sudo apt install qml-module-qt-labs-platform

Hope it helps. cheers.

Thanks so much, man! I'll try that when I'm at my pi!

914tom commented 1 year ago

Installing qml-module-qt-labs-platform worked for me.

sudo apt install qml-module-qt-labs-platform

Hope it helps. cheers.

Unfortunately does not so in my case. after sudo apt install qml-module-qt-labs-platform the system replyes .. -- snip -- qml-module-qt-labs-platform ist schon die neueste Version (5.11.3+dfsg-2). Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: liblzo2-2 squashfs-tools Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. -- snip -- means 'already installed.

Screwtapello commented 10 months ago

I got it working on Debian by installing qml-module-qt-labs-platform, doing git clean -dxf && git pull && git submodule update to ensure I had exactly the latest code, then rebuilding from scratch with qmake && make.

gaspx2000 commented 1 month ago

Keeping this thread alive as I finally managed to resolve this error on my Raspberry install after finding lots of people with the same error but still no fix. So, if you've followed all the previous steps and you're still seeing the version 1.1 is not installed error:

qrc:/menus/OSXMenu.qml:22 module "Qt.labs.platform" version 1.1 is not installed

..then simply change the version number that you build cool-retro-term with!

Solution:

  1. Open the folder where you downloaded the cool-retro-term files to
  2. cd app/qml/menus

You should then find the "OSXMenu.qml" file mentioned in the error message.

  1. Open the OSXMenu.qml in a text editor

  2. Change line 22:
    import Qt.labs.platform 1.1 to... import Qt.labs.platform 1.0

  3. Save the file

  4. qmake && make

Hope it works for you as it did for me!