Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
9196920b
Commit
9196920b
authored
Nov 24, 2016
by
Christopher Tenter
Browse files
Merge branch 'master' into CameraNode
parents
459966f2
d45b8a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
OpenFlipper.cc
View file @
9196920b
...
...
@@ -305,7 +305,27 @@ bool remoteControl = false;
bool
parseCommandLineOptions
(
CSimpleOpt
&
args
){
QString
port
;
QString
port
;
#ifndef WIN32
#ifndef __APPLE__
//workaround for bug with stereo mode on Qt5.7.0 and Qt5.7.1 on Linux
int
QtVersionMajor
,
QtVersionMinor
,
QtVersionPatch
;
if
(
sscanf
(
qVersion
(),
"%1d.%1d.%1d"
,
&
QtVersionMajor
,
&
QtVersionMinor
,
&
QtVersionPatch
)
==
3
)
{
if
(
QtVersionMajor
==
5
&&
QtVersionMinor
>=
7
)
{
if
(
QtVersionPatch
<
2
)
{
std
::
cerr
<<
"The used Qt Version does not support stereo mode. Disabling stereo mode."
<<
std
::
endl
;
OpenFlipper
::
Options
::
stereo
(
false
);
}
else
std
::
cerr
<<
"Stereo Mode has not been tested for the used Qt Version."
<<
std
::
endl
;
}
}
#endif
#endif
// while there are arguments left to process
while
(
args
.
Next
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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