Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt5.2 for QNX Neutrino": screen/screen.h: No such file or directory



  • Hi All,

    I want to compile Qt5.2 source code for QNX Nutrino target on windows host,
    i have installed all required pre-requisits like ActivePerl, Python, Ruby, DirectX SDK, MingW and QNX SDP 650SP1.

    I can able to configure successfully. But when i am trying to compile with mingw32-make, iam getting the following error.
    @In file included from main.cpp:43:
    qqnxintegration.h:49:27: error: screen/screen.h: No such file or directory
    In file included from main.cpp:43:
    qqnxintegration.h:80: error: 'screen_window_t' was not declared in this scope
    qqnxintegration.h:80: error: template argument 1 is invalid
    qqnxintegration.h:80: error: invalid type in declaration before ';' token
    qqnxintegration.h:133: error: expected ';' before '(' token
    qqnxintegration.h:135: error: expected ';' before '(' token
    qqnxintegration.h:137: error: 'screen_display_t' has not been declared
    qqnxintegration.h:146: error: 'screen_window_t' has not been declared
    qqnxintegration.h:147: error: 'screen_window_t' has not been declared
    qqnxintegration.h:149: error: 'screen_context_t' does not name a type
    cc: C:/QNX650/host/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx6.5.0eabi/4.4.2/cc1p
    lus caught signal 1
    Makefile:2005: recipe for target '.obj/main.obj' failed
    mingw32-make[5]: *** [.obj/main.obj] Error 1
    mingw32-make[5]: Leaving directory 'c:/Users/sivakumar/Downloads/qt-everywhere-o
    pensource-src-5.2.0/qt-everywhere-opensource-src-5.2.0/qtbase/src/plugins/platfo
    rms/qnx'
    Makefile:90: recipe for target 'sub-qnx-make_first' failed
    mingw32-make[4]: *** [sub-qnx-make_first] Error 2
    mingw32-make[4]: Leaving directory 'c:/Users/sivakumar/Downloads/qt-everywhere-o
    pensource-src-5.2.0/qt-everywhere-opensource-src-5.2.0/qtbase/src/plugins/platfo
    rms'
    Makefile:121: recipe for target 'sub-platforms-make_first' failed
    mingw32-make[3]: *** [sub-platforms-make_first] Error 2
    mingw32-make[3]: Leaving directory 'c:/Users/sivakumar/Downloads/qt-everywhere-o
    pensource-src-5.2.0/qt-everywhere-opensource-src-5.2.0/qtbase/src/plugins'
    Makefile:471: recipe for target 'sub-plugins-make_first' failed
    mingw32-make[2]: *** [sub-plugins-make_first] Error 2
    mingw32-make[2]: Leaving directory 'c:/Users/sivakumar/Downloads/qt-everywhere-o
    pensource-src-5.2.0/qt-everywhere-opensource-src-5.2.0/qtbase/src'
    Makefile:41: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'c:/Users/sivakumar/Downloads/qt-everywhere-o
    pensource-src-5.2.0/qt-everywhere-opensource-src-5.2.0/qtbase'
    Makefile:60: recipe for target 'module-qtbase-make_first' failed
    mingw32-make: *** [module-qtbase-make_first] Error 2@

    It clearly states that screen.h file was not found. I dont have any clues on how can i get the specified headers and its corresponding libraries.

    Please help me in doing this.

    Thanks,
    Siva.


Log in to reply