diff options
author | J-P Nurmi <jpnurmi@gmail.com> | 2018-12-19 10:58:58 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@gmail.com> | 2018-12-26 19:24:59 +0000 |
commit | 7064057843bd474115055acdc76a886953acf898 (patch) | |
tree | 10e84a854a240ec3c1997397a62679c9aeb3d38e /src/plugins/gstreamer/camerabin/camerabinflash.h | |
parent | 7b0b5bb0b9e15ad54b061ee39712ce86235535d5 (diff) |
QGstUtils: fix build with MSVC
MSVC didn't like the #iffery that was done with GST_STATIC_CAPS(). The
build error was:
qtmultimedia\src\gsttools\qgstutils.cpp(1323): error C2121: '#':
invalid character: possibly the result of a macro expansion
qtmultimedia\src\gsttools\qgstutils.cpp(1323): error C2059: syntax
error: 'if'
qtmultimedia\src\gsttools\qgstutils.cpp(1323): error C2143: syntax
error: missing ';' before '{'
qtmultimedia\src\gsttools\qgstutils.cpp(1311): error C2143: syntax
error: missing ';' before '}'
qtmultimedia\src\gsttools\qgstutils.cpp(1325): error C2059: syntax
error: 'return'
qtmultimedia\src\gsttools\qgstutils.cpp(1326): error C2059: syntax
error: '}'
qtmultimedia\src\gsttools\qgstutils.cpp(1326): error C2143: syntax
error: missing ';' before '}'
qtmultimedia\src\gsttools\qgstutils.cpp(1329): error C2143: syntax
error: missing ';' before '{'
qtmultimedia\src\gsttools\qgstutils.cpp(1329): error C2447: '{':
missing function header (old-style formal list?)
Change-Id: Ic9ac64648aba396fc4ef433e73d5c72a8c1c3da1
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinflash.h')
0 files changed, 0 insertions, 0 deletions