Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2045

Indicators linking fails against prebuilt QNX build in Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QSR 2.0.1
    • QSR 2.0
    • Adaptation
    • None
    • b6e02e7609c386391627f8eec03555d625baa044, f380793a0 (2.0), 499f530ce (dev)

    Description

      When building Indicators Example against the Qt QNX 5.15.12 Armv8 and pre-built Safe Renderer libraries, there is the following linker error:

      /qnx7_armv8/lib/libPlatformAdaptation.a(safewindow_p.obj): In function `SafeRenderer::SafeWindowPrivate::render(SafeRenderer::QSafeRect const&, unsigned int)':", "safewindow_p.cpp.text+0x450): undefined reference to `screen_get_window_property_pv'", "safewindow_p.cpp.text+0x534): undefined reference to `screen_blit'", "C:/Users/qt/RTA/QtSafeRenderer_2.0.0/5.15.12/qnx7_armv8/lib/libPlatformAdaptation.a(safewindow_p.obj): In function `SafeRenderer::SafeWindowPrivate::requestUpdate()':", "safewindow_p.cpp.text+0x5e0): undefined reference to `screen_get_window_property_pv'", "safewindow_p.cpp.text+0x5f8): undefined reference to `screen_post_window'", "C:/Users/qt/RTA/QtSafeRenderer_2.0.0/5.15.12/qnx7_armv8/lib/libPlatformAdaptation.a(safewindow.obj): In function `SafeRenderer::Pixmap::bytesPerLine()':", "safewindow.cpp.text._ZN12SafeRenderer6Pixmap12bytesPerLineEv[_ZN12SafeRenderer6Pixmap12bytesPerLineEv]+0x30): undefined reference to `screen_get_buffer_property_iv'", "C:/Users/qt/RTA/QtSafeRenderer_2.0.0/5.15.12/qnx7_armv8/lib/libPlatformAdaptation.a(safewindow.obj): In function `SafeRenderer::Pixmap::framebufferData()':", "safewindow.cpp.text._ZN12SafeRenderer6Pixmap15framebufferDataEv[_ZN12SafeRenderer6Pixmap15framebufferDataEv]+0x30): undefined reference to `screen_get_buffer_property_pv'", 'cc: c:/qnx700//host/win64/x86_64/usr/bin/aarch64-unknown-nto-qnx7.0.0-ld caught signal 1', "Makefile:72: recipe for target 'indicators' failed", 'make: *** [indicators] Error 1', '07:05:56: The process "C:\\qnx700\\host\\win64\\x86_64\\usr\\binmake.exe" exited with code 2.', 'Error while building/deploying project indicators (kit: Qt 5.15.12 for QNX 7.0.0 ARMv8)', 'The kit Qt 5.15.12 for QNX 7.0.0 ARMv8 has configuration issues which might be the root cause for this problem.', 'When executing step "Make"', '07:05:56: Elapsed time: 00:16.', ''] 

      The workaround is to add the screen dependency to indicators.pro as follows:

      LIBS += -lscreen

      Or build the Qt Safe Renderer from the sources for QNX as explained in:

      https://doc.qt.io/QtSafeRenderer/qtsr-build-qnx.html

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            teemu.holappa Teemu Holappa
            teemu.holappa Teemu Holappa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes