aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-17 22:27:14 +0800
committercrupest <crupest@outlook.com>2023-10-17 22:27:14 +0800
commitcb0e3a0fb536284bdf366b0bdca2f8f0bfdcf6d1 (patch)
treecfbbe30880b06336e4a7d7e221a60d78a539bda3
parent8aa652f77ad921c64f9e6a7bfc4a51f3e6f2727d (diff)
downloadcrupest-cb0e3a0fb536284bdf366b0bdca2f8f0bfdcf6d1.tar.gz
crupest-cb0e3a0fb536284bdf366b0bdca2f8f0bfdcf6d1.tar.bz2
crupest-cb0e3a0fb536284bdf366b0bdca2f8f0bfdcf6d1.zip
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.
-rw-r--r--works/teapot/README.md11
-rw-r--r--works/teapot/debian/control2
2 files changed, 11 insertions, 2 deletions
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 <crupest@outlook.com>
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