Results 1 to 7 of 7

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

  1. #1
    Join Date
    Jan 2014
    Location
    Bangalore, India
    Posts
    4
    Thanks
    2
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default 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,
    dhananjay

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.2 for QNX Neutrino”: screen/screen.h: No such file or directory

    libscreen is the low level displaying API on newer QNX versions. The header needs to be part of the QNX SDK. Check that your version of QNX is already using libscreen.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    Er.Dhananjay (3rd January 2014)

  4. #3
    Join Date
    Jan 2014
    Location
    Bangalore, India
    Posts
    4
    Thanks
    2
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt5.2 for QNX Neutrino”: screen/screen.h: No such file or directory

    Hi,

    I am using QNX650SP1 version. I am not finding Screen.h file and libScreen library. If QNX SDP does not come with libscreen headers and libraries, then do i need to install any additional packages? If yes, please mention how and from where i can get it.

    Thank You,
    Dhananjay.

  5. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.2 for QNX Neutrino”: screen/screen.h: No such file or directory

    Your version sounds recent enought but I don't know the exact version that had screen for the first time.

    My recommendation would be to check with your QNX representative or ask on a QNX forum.

    Cheers,
    _

  6. #5
    Join Date
    Jan 2014
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.2 for QNX Neutrino”: screen/screen.h: No such file or directory

    Screen? Make sure you have SP1 or you'll have to rip out a few lines to make it run on standard 6.5.0
    You'll also probably not find libscreen on standard 6.5.0, either.

    Headers:
    QNX650SP1\target\qnx6\usr\include\screen\

    Libs:
    QNX650SP1\target\qnx6\armle-v7\lib\ (where armle-v7 is the target arch)


    (where QNX650SP1 was the QNX SDK install directory)

    Edit: Side note: I've been successful using both on both 6.5.0 and 6.5.0 SP1 targets, using both tarball and git source trees.

  7. #6
    Join Date
    Jan 2014
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt5.2 for QNX Neutrino”: screen/screen.h: No such file or directory

    I have installed QNX650 for linux and windows hosts. and unfortunately I don't see that screen.h appeared.
    Did you installed any additional packages ? perhaps you have TDK installed ? (http://www.qnx.com/download/feature....rogramid=14396)

  8. #7
    Join Date
    Jan 2014
    Location
    Bangalore, India
    Posts
    4
    Thanks
    2
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt5.2 for QNX Neutrino”: screen/screen.h: No such file or directory

    Hi,

    I copied screen.h file and screen.o/screen.so library from BlackBerry NDK folder <target/qnx6/x86/> to the qnx installed directory <C:\QNX650\target\qnx6\x86\>.
    Then qt source code got compiled successfully for qnx and qmake.exe got created. but When i tried to compile a sample qt application with the my customized kit[created with qmake and qcc after qt source code compilation in qt creator], i got the following error.

    Error while parsing file D:/copyHere/test3/test3/test3.pro. Giving up.
    Project ERROR: This mkspec requires an MSYS environment.
    Could not read qmake configuration file C:/Qt5.2.0onQNX_X86/mkspecs/qnx-x86-qcc/qmake.conf.
    Project ERROR: This mkspec requires an MSYS environment.

    I am trying to resolve it, is anyone have some idea how to resolve it please help.

    Thanks.
    dhananjay

Similar Threads

  1. Qt Creator Welcome screen and help screen font size
    By zd3nik in forum Qt Tools
    Replies: 0
    Last Post: 23rd November 2013, 17:57
  2. Replies: 3
    Last Post: 25th January 2011, 13:36
  3. Replies: 0
    Last Post: 19th January 2011, 03:29
  4. application screen as screen saver
    By wizarda in forum Qt Programming
    Replies: 0
    Last Post: 6th January 2011, 19:15
  5. Replies: 2
    Last Post: 11th June 2010, 07:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.