Repository: opencv
Issue: compiling error on QNX plarform
Labels: category: build/install,platform: other,category: 3rdparty

##### System information (version)
<!-- Example
- OpenCV => 4.2
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2017
-->

- OpenCV => 4.3
- Operating System / Platform => QNX
- Compiler => cmake cross compiling

##### Detailed description

<!-- your description -->
v_sse_reinterpret_as error，please help me check

error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) 


In file included from /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin.hpp:212:0,
                 from /home/benson/workspace/opencv-master/modules/core/src/precomp.hpp:85,
                 from /home/benson/workspace/opencv-master/modules/core/src/algorithm.cpp:43:
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp: At global scope:
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:324:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128i, __m128i, OPENCV_HAL_NOP)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:325:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128i, __m128, _mm_castps_si128)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128d&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:326:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128i, __m128d, _mm_castpd_si128)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128 cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:327:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128, __m128i, _mm_castsi128_ps)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128 cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:328:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128, __m128, OPENCV_HAL_NOP)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128 cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128d&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:329:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128, __m128d, _mm_castpd_ps)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128d cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:330:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128d, __m128i, _mm_castsi128_pd)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128d cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:331:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128d, __m128, _mm_castps_pd)
     ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128d cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128d&)' does not match any template declaration
     to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \
                 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:332:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW'
     OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128d, __m128d, OPENCV_HAL_NOP)
     ^
In file included from /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin.hpp:510:0,
                 from /home/benson/workspace/opencv-master/modules/core/src/precomp.hpp:85,
                 from /home/benson/workspace/opencv-master/modules/core/src/algorithm.cpp:43:
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:13:47: warning: ignoring attributes on template argument 'uint64 {aka long long unsigned int}' [-Wignored-attributes]
     template<> struct Type2Vec128_Traits<type_> \
                                               ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:25:1: note: in expansion of macro 'CV_INTRIN_DEF_TYPE2VEC128_TRAITS'
 CV_INTRIN_DEF_TYPE2VEC128_TRAITS(uint64, v_uint64x2);
 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:13:47: warning: ignoring attributes on template argument 'int64 {aka long long int}' [-Wignored-attributes]
     template<> struct Type2Vec128_Traits<type_> \
                                               ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:26:1: note: in expansion of macro 'CV_INTRIN_DEF_TYPE2VEC128_TRAITS'
 CV_INTRIN_DEF_TYPE2VEC128_TRAITS(int64, v_int64x2);
 ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:40:44: warning: ignoring attributes on template argument 'uint64 {aka long long unsigned int}' [-Wignored-attributes]
 template<> inline Type2Vec128_Traits<uint64>::vec_type v_setall<uint64>(const uint64& a) { return v_setall_u64(a); }
                                            ^
/home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:41:44: warning: ignoring attributes on template argument 'int64 {aka long long int}' [-Wignored-attributes]
 template<> inline Type2Vec128_Traits< int64>::vec_type v_setall< int64>(const  int64& a) { return v_setall_s64(a); }


##### Steps to reproduce

<!-- to add code example fence it with triple backticks and optional file extension
    ```.cpp
    // C++ code example
    ```
 or attach as .txt or .zip file
-->

##### Issue submission checklist

 - [ ] I report the issue, it's not a question
   <!--
   OpenCV team works with answers.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with question without real issue statement will be
   closed.
   -->
 - [ ] I checked the problem with documentation, FAQ, open issues,
       answers.opencv.org, Stack Overflow, etc and have not found solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://answers.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [ ] I updated to latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only latest release for each branch.
   The ticket is closed, if the problem is not reproduced with modern version.
   -->
 - [ ] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as archite to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->