From cb0e3a0fb536284bdf366b0bdca2f8f0bfdcf6d1 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 17 Oct 2023 22:27:14 +0800 Subject: import(teapot): Fix deps of deb: add qt qpa. And update README. I really can't understand why qt dependencies on Ubuntu is such a mess. --- works/teapot/README.md | 11 ++++++++++- works/teapot/debian/control | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'works') diff --git a/works/teapot/README.md b/works/teapot/README.md index c684667..caf2eaf 100644 --- a/works/teapot/README.md +++ b/works/teapot/README.md @@ -1 +1,10 @@ -From https://github.com/qt/qtquick3d/tree/dev/examples/quick3d/view3d \ No newline at end of file +From https://github.com/qt/qtquick3d/tree/dev/examples/quick3d/view3d + +This package only works on Ubuntu 22.04 because it relies on the system qt6 libs. At least I only test this platform. Other platforms might also work if the lib linkage is right. However, another way is to bundle all dependencies into the deb, which looks like most apps would do. But I'm new to deb package system and I'm in a hurry with no time to do more research. + +In a word, + +1. Make sure you are on Ubuntu 22.04. +2. Download `package.deb` from ci. +3. Run `sudo apt-get install package.deb` (NOT `dpkg`), and apt will take care of dependencies for you. +4. Run `crupest-teapot` and enjoy yourself! diff --git a/works/teapot/debian/control b/works/teapot/debian/control index 20aad59..74aab7c 100644 --- a/works/teapot/debian/control +++ b/works/teapot/debian/control @@ -5,4 +5,4 @@ Priority: optional Architecture: all Maintainer: crupest Description: This is a test application for packaging -Depends: libqt63dquick6,qml6-module-qtqml,qml6-module-qtqml-workerscript,qml6-module-qtquick,qml6-module-qtquick-templates,qml6-module-qtquick-controls,qml6-module-quick3d +Depends: qt6-qpa-plugins,libqt63dquick6,qml6-module-qtqml,qml6-module-qtqml-workerscript,qml6-module-qtquick,qml6-module-qtquick-templates,qml6-module-qtquick-controls,qml6-module-quick3d -- cgit v1.2.3