Unverified Commit 4317f8ef authored by Wieland Morgenstern's avatar Wieland Morgenstern Committed by GitHub

Merge pull request #44 from stitchEm/w-m/license

Link to list of 3rd party library licenses in about window
parents 08d6340e fc19e352
......@@ -36,4 +36,6 @@ The software can be built on Windows, macOS and Linux. Not all features are avai
The stitchEm project is licensed under the terms of the [MIT License](LICENSE.md).
The repository includes several third-party open source files, which are licensed under their own respective licenses. They are listed in [doc/LICENSE-3RD-PARTY.md](doc/LICENSE-3RD-PARTY.md).
The repository includes several third-party open source files, which are licensed under their own respective licenses. They are listed in [doc/LICENSE-3RD-PARTY-SOURCES.md](doc/LICENSE-3RD-PARTY-SOURCES.md).
The stitchEm software uses code from third-party libraries, listed in [doc/LICENSE-3RD-PARTY-LIBRARIES.md](doc/LICENSE-3RD-PARTY-LIBRARIES.md).
......@@ -20,6 +20,7 @@
#define VIDEOSTITCH_YOUTUBE_VAHANA_URL "https://www.youtube.com/playlist?list=PLE5eSxUoYnqgv4S8ayQ5_YsPP8x_MCvvM"
#define VIDEOSTITCH_URL "https://github.com/stitchEm"
#define VIDEOSTITCH_SUPPORT_URL "https://github.com/stitchEm"
#define VIDEOSTITCH_LIBRARIES_URL "https://github.com/stitchEm/stitchEm/blob/master/doc/LICENSE-3RD-PARTY-LIBRARIES.md"
// Color
#define ORAH_COLOR "FF9E00";
......
......@@ -6,10 +6,13 @@
#include <QLabel>
#include <QPushButton>
#include <QDesktopServices>
#include "aboutwindow.hpp"
#include "version.hpp"
#include "common.hpp"
#include "libvideostitch-base/linkhelpers.hpp"
AboutWidget::AboutWidget(QString version, QWidget* const parent) : QWidget(parent) {
setupUi(this);
buttonWebSite->setProperty("vs-button-medium", true);
......@@ -18,6 +21,11 @@ AboutWidget::AboutWidget(QString version, QWidget* const parent) : QWidget(paren
.arg(QCoreApplication::applicationName())
.arg(QCoreApplication::organizationName())
.arg(QDate::currentDate().year()));
labelLibraries->setText(labelLibraries->text()
.arg(QCoreApplication::applicationName())
.arg(formatLink(VIDEOSTITCH_LIBRARIES_URL, "open source libraries.")));
connect(buttonWebSite, &QPushButton::clicked, this, &AboutWidget::onButtonWebSiteClicked);
labelAppVersion->setText(version);
QIcon webIcon(":/live/icons/assets/icon/live/web.png");
......
......@@ -165,6 +165,25 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelLibraries">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%0 uses code from %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextBrowserInteraction</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
......
The stitchEm software uses code from these third-party libraries:
| Library | Homepage | License | Source Code |
|---------|----------|---------|-------------|
| ceres solver | http://ceres-solver.org | [BSD](http://ceres-solver.org/license.html) | [ceres-solver.org](http://ceres-solver.org/installation.html) |
| Eigen3 | http://eigen.tuxfamily.org/ | [MPL2](https://www.mozilla.org/en-US/MPL/2.0/) | [bitbucket.org](https://bitbucket.org/eigen/eigen/) |
| faac | http://faac.sourceforge.net | [GPL 2](https://github.com/stitchEm/faac/blob/master/COPYING) | [github.com](https://github.com/stitchEm/faac) |
| faad2 | http://faac.sourceforge.net | [GPL 2](https://github.com/stitchEm/faad2/blob/xmms2/COPYING) | [github.com](https://github.com/stitchEm/faad2) |
| ffmpeg | https://www.ffmpeg.org | [GPL 2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) | [ffmpeg.org](https://www.ffmpeg.org/download.html) |
| gflags | https://gflags.github.io/gflags/ | [BSD](https://github.com/gflags/gflags/blob/master/COPYING.txt) | [github.com](https://github.com/gflags/gflags) |
| glog | https://github.com/google/glog | [BSD](https://github.com/google/glog/blob/master/COPYING) | [github.com](https://github.com/google/glog) |
| glew | http://glew.sourceforge.net | [BSD](http://glew.sourceforge.net/glew.txt) | [github.com](https://github.com/nigels-com/glew) |
| glm | https://glm.g-truc.net/0.9.9/index.html | [Happy Bunny](https://glm.g-truc.net/copying.txt) | [github.com](https://github.com/g-truc/glm) |
| jpeg | http://libjpeg.sourceforge.net | [IJG](https://jpegclub.org/reference/libjpeg-license/) | [sourceforge.net](http://sourceforge.net/project/showfiles.php?group_id=159521) |
| jpeg-turbo | http://www.libjpeg-turbo.org | [BSD](https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/LICENSE.md) | [github.com](https://github.com/libjpeg-turbo/libjpeg-turbo) |
| mp3lame | http://lame.sourceforge.net | [LGPL](http://lame.sourceforge.net/license.txt) | [sourceforge.net](http://lame.sourceforge.net/download.php) |
| OpenEXR | https://www.openexr.com/ | [BSD](https://www.openexr.com/license.html) | [openexr.com](https://www.openexr.com/downloads.html) |
| OpenSSL | https://www.openssl.org | [Apache](https://www.openssl.org/source/license.html) | [github.com](https://github.com/openssl/openssl) |
| OpenVR | http://steamvr.com | [BSD](https://github.com/ValveSoftware/openvr/blob/master/LICENSE) | [github.com](https://github.com/ValveSoftware/openvr) |
| png | http://www.libpng.org/pub/png/libpng.html | [libpng](http://www.libpng.org/pub/png/src/libpng-LICENSE.txt) | [sourceforge.net](https://sourceforge.net/projects/libpng/files/) |
| PortAudio | http://www.portaudio.com | [MIT](http://www.portaudio.com/license.html)| [portaudio.com](http://www.portaudio.com/download.html) |
| Protobuf | https://developers.google.com/protocol-buffers/ | [BSD](https://github.com/protocolbuffers/protobuf/blob/master/LICENSE) | [github.com](https://github.com/protocolbuffers/protobuf) |
| rtmp | https://rtmpdump.mplayerhq.hu | [LGPL](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) | [ffmpeg.org](https://git.ffmpeg.org/rtmpdump) |
| tiff | http://simplesystems.org/libtiff/ | [BSD](http://www.libtiff.org/misc.html) | [remotesensing.org](ftp://ftp.remotesensing.org/pub/libtiff) |
| OpenCV | https://opencv.org/ | [BSD](https://opencv.org/license/) | [github.com](https://github.com/opencv/opencv) |
| Qt | https://qt.io/ | [LGPL](https://doc.qt.io/qt-5/lgpl.html) | [qt.io](https://wiki.qt.io/Get_the_Source) |
| x264 | https://www.videolan.org/developers/x264.html | [GPL](https://www.gnu.org/licenses/gpl-2.0.html) | [videolan.org](https://code.videolan.org/videolan/x264.git) |
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment