Help project development - PhotoFlare/photoflare GitHub Wiki
Photoflare is primarily created and developed by one person at the moment. This project could definitely use more resources to push it further.
Stack overview
The main components of Photoflare are currently:
- C++ (Development language)
- Qt5 (Cross Platform GUI framework)
- libgraphicsmagick (Graphics processing library - used for filters)
Building the source
Using Git checkout the latest source from master: https://github.com/PhotoFlare/photoflare.
Linux
Ubuntu
In the terminal enter the below via command line:
sudo apt-get install libgraphicsmagick++-dev, qt5-default, qtcreator
Open .pro file with Qt Creator. Select Release as the mode and click run. Alternatively you can use qmake passing in the location of the .pro file.
qmake PhotoFlare.pro
Mac
Install brew by running the below via command line:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install graphicsmagick with brew via the command line:
brew install graphicsmagick
Install Qt Creator and open the .pro file. Run the project in Release mode with the Clang compiler.
Windows
Download and install Visual Studio 2017:
https://www.visualstudio.com/downloads/
Download the latest Graphicsmagick source code (zipped folder, filename ending in windows-source):
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/windows/
In the Graphicsmagick source code enter the VisualMagick/configure folder. Open the .sln file and compile with SDK 10.
If successfully compiled then launch configure.exe. This dialog will allow you to configure the build options.
Now click OK and open the generated .sln file.
Build the magick++ project with SDK 10 in release mode.
Next download Qt Community Edition:
Select a version to install. Latest version would be recommend with MSVC to match the Visual Studio version.
Open the .pro file and change the paths in the magick folder source as required for the Qt project. (alternatively you could do this in your favourite text editor)
To change include paths to be correct level follow the example below:
include "magick/magick_config.h" changes to include "../../../magick/magick_config.h"
Fix all paths inside this directory. (header paths) VisualMagick/magick/
Contributing
We would be more than happy to have contributors on board. Build the source for starters and run the application locally. Take a look at the issues and especially anything with the label "help wanted". Find something you think you can solve and submit a PR.