Skip to content

eesandoval/PoPi

Repository files navigation

A screenshot tool originally developed for GNU/Linux that auto uploads to Imgur

Supported Operating Systems

  • Linux/X11 - Tested on Kubuntu 18.04
  • Windows - Tested on Windows 10

Requirements

  • Qt 5
  • gcc on Linux
  • MinGW on Windows, preferably 5.3 and higher

Building

Install Qt 5 and install the OpenGL libraries (if necessary):

  • Debian: sudo apt install build-essential libgl1-mesa-dev
  • Fedora/RHEL: sudo yum groupinstall "C Development Tools and Libraries" and sudo yum install mesa-libGL-devel
  • openSUSE: sudo zypper install -t pattern devel_basis

Register an application at Imgur:

  • Register the client details here and a client id will be given
  • Replace the client id in mainwindow.cpp under the function sendScreenshot()

On Linux

  • Install linuxdeployqt here and follow the installation instructions
  • Build using qmake
  • Run linuxdeployqt linuxdeployqt <path to binary file>

On Windows

  • Build using qmake. If you receive an SSL error or missing dll error, download Win32 OpenSSL v1.10h Light and install. Take the following dll and paste them to the root directory: libeay32.dll ssleay32.dll
  • Run windeployqt windeployqt <path\to\PoPi.exe> in the command prompt in the Qt SDK directory Qt\5.10.1\mingw\bin\
  • Go to the Qt SDK path Qt\5.10.1\mingw\bin\ and copy the following files to the directory where the binary/executable is: libstdc++-6.dll libwinpthread-1.dll libgcc_s_dw2-1.dll

Credit

Thanks to mitei for the qglobalshortcut library used to capture global hotkeys across multiple operating systems

About

The Screenshot Tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •