Yet another lightweight image viewer.
Go to file
2020-10-24 09:39:42 +08:00
.github/workflows build(ci): deb package for ubuntu 20.04 2020-08-13 19:45:38 +08:00
dist license: wrong license descripted in appdata.xml file 2020-10-24 09:39:42 +08:00
icons fix: windows icon size not correct in explorer 2020-07-22 19:02:23 +08:00
languages chore: about dialog strings, also add a thanks tab 2020-10-05 20:43:30 +08:00
.gitignore chore: migrate to CMake 2019-11-23 20:51:58 +08:00
aboutdialog.cpp fix: styling for some text 2020-10-09 22:09:09 +08:00
aboutdialog.h chore: the way we setup aboutdialog layout 2020-10-08 22:24:54 +08:00
appveyor.yml CI: for windows build, also copy LICENSE file to binary dir 2020-08-04 19:15:10 +08:00
bottombuttongroup.cpp refactor: opacity helper 2019-10-06 14:58:01 +08:00
bottombuttongroup.h refactor: opacity helper 2019-10-06 14:58:01 +08:00
CMakeLists.txt fix(cpack): update feedback/contact url 2020-09-30 23:54:24 +08:00
graphicsscene.cpp fix: drag on image transparent pixels for panning viewport 2020-09-26 10:47:28 +08:00
graphicsscene.h fix: use SmoothTransformation when scale factor less than 100% 2020-02-13 19:45:14 +08:00
graphicsview.cpp feat: load gallery for wsl$ location 2020-08-31 20:02:49 +08:00
graphicsview.h misc: lower minimum window size limit 2020-07-27 20:47:54 +08:00
LICENSE feat: new about dialog 2020-09-28 20:10:33 +08:00
main.cpp fix: cannot load images under WSL2 network location 2020-08-28 15:25:07 +08:00
mainwindow.cpp feat: try using QWindow::startSystemMove() under Qt 5.15+ 2020-10-16 01:00:11 +08:00
mainwindow.h config file support 2020-07-28 21:29:37 +08:00
navigatorview.cpp refactor: opacity helper 2019-10-06 14:58:01 +08:00
navigatorview.h refactor: opacity helper 2019-10-06 14:58:01 +08:00
opacityhelper.cpp refactor: opacity helper 2019-10-06 14:58:01 +08:00
opacityhelper.h refactor: opacity helper 2019-10-06 14:58:01 +08:00
pineapple-pictures.pro feat: new about dialog 2020-09-28 20:10:33 +08:00
pineapple-pictures.rc feat: add version info datat for windows, and application display name 2020-07-21 20:47:06 +08:00
README.md Update README.md 2020-08-23 23:46:12 +08:00
README.zh_CN.md docs: add readme for zh_CN language 2020-08-29 10:59:44 +08:00
resources.qrc feat: add prev and next button 2020-07-04 13:49:12 +08:00
settings.cpp chore: only enable portable mode support for windows 2020-08-10 23:41:59 +08:00
settings.h feat: simple config dialog 2020-07-29 00:57:43 +08:00
settingsdialog.cpp chore: about dialog strings, also add a thanks tab 2020-10-05 20:43:30 +08:00
settingsdialog.h feat: new about dialog 2020-09-28 20:10:33 +08:00
toolbutton.cpp feat: add prev and next button 2020-07-04 13:49:12 +08:00
toolbutton.h feat: add prev and next button 2020-07-04 13:49:12 +08:00

Yet another image viewer.

CI Build Status
Windows Build Windows build status
macOS Build macOS CI
Ubuntu 20.04 Build Ubuntu 20.04 CI

Pineapple Pictures - Main Window

Get it!

Build it manually:

Current state, we need:

  • cmake: as the build system.
  • qt5 with qt5-svg and qt5-tools: since the app is using Qt.

Then we can build it with any proper c++ compiler like g++ or msvc.

Building it just requires normal cmake building steps:

$ mkdir build && cd build
$ cmake ..
$ cmake --build . # or simply using `make` if you are using Makefile as the cmake generator.

After that, a ppic executable file will be available to use. You can also optionally install it by using the target install (or simply make install in case you are using Makefile). After the build process, you can also use cpack to make a package.

Image formats supports rely on Qt's imageformats plugins, just get the plugins you need from your distro's package manager will be fine. For Windows user, you may need build and install the imageformats plugin manually, read the content below.

Linux

Just normal build process as other program will be fine. Nothing special ;)

For Archlinux there are also a PKGBUILD you can use.

For packaging to debian-based distro, the CMakeLists.txt provides some cpack configurations for generating a .deb package. After the build process, use cpack -G DEB to generate the package. You can also take .github/workflows/ubuntu.yml as a reference.

For this project, DEB is the only supported cpack generator in current state, feel free to submit a PR if you like improving cpack support for this project.

Windows

The normal build steps for Linux is also applied to Windows, but since Windows doesn't have a decent package manager, so if you need any other image formats support other than the supported formats which Qt provided, you need to get and build these imageformats plugins manually and vendor it. It's optional and can be skipped if you don't need extra image formats support.

For the Windows binary I provided, kimageformats plugin is used (for formats like kra, xcf, psd and etc.). You can take appveyor.yml as a reference to learn what I did when building the Windows binary.

KDE Craft environment also can be used to build and package this program. I did also created a blueprint for building this project, but since I don't have a CI to run KDE Craft build, the blueprint repo are not provided here. Maybe sometimes later.

macOS

I don't have a mac, so no support at all. There is also a GitHub Action (see .github/workflows/macos.yml) running macOS build though so at least it can build. Feel free to submit a PR if you would like to give some love to the macOS build ;P

Help Translation!

Translate this project on Transifex!

Feel free to open up an issue to request a new language to translate.

License

This program released under MIT license