Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
e243aa7d
Commit
e243aa7d
authored
Jun 23, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(App): display an error box if qt version is lower than 5.8.0
parent
15aaff8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
main.cpp
src/main.cpp
+4
-0
No files found.
src/main.cpp
View file @
e243aa7d
...
...
@@ -22,6 +22,7 @@
#include <QDirIterator>
#include <QFontDatabase>
#include <QMessageBox>
#include <QScreen>
#include "gitversion.h"
...
...
@@ -31,6 +32,7 @@
// Must be unique. Used by `SingleApplication` and `Paths`.
#define APPLICATION_NAME "linphone"
#define APPLICATION_VERSION LINPHONE_QT_GIT_VERSION
#define APPLICATION_MINIMAL_QT_VERSION "5.8.0"
#define DEFAULT_FONT "Noto Sans"
...
...
@@ -39,6 +41,8 @@ using namespace std;
// =============================================================================
int
main
(
int
argc
,
char
*
argv
[])
{
QT_REQUIRE_VERSION
(
argc
,
argv
,
APPLICATION_MINIMAL_QT_VERSION
);
// Disable QML cache. Avoid malformed cache.
qputenv
(
"QML_DISABLE_DISK_CACHE"
,
"true"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment