Results 1 to 5 of 5

Thread: Cross Compilation of QT- 4.4.3 with linux-sh4-g++

  1. #1

    Default Cross Compilation of QT- 4.4.3 with linux-sh4-g++

    Hi,
    I am trying to cross compile qt-4.4.3 with linux-sh4-g++ compiler.
    while configuring qt -4.4.3 with opengl.
    ./configure -embedded sh -xplatform qws/linux-sh4-g++ -no-libtiff -no-webkit -opengl
    I got the following error.
    The OpenGL ES functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in /root/src/qt-embedded-linux-opensource-src-4.4.3/mkspecs/qws/linux-sh4-g++.

    i added the following paths
    QMAKE_INCDIR_OPENGL = /usr/X11R6/include
    QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
    QMAKE_LIBS_OPENGL = -lqgl

    but still it shows the same error.
    Please provide solution regarding this.

  2. #2
    Join Date
    Apr 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cross Compilation of QT- 4.4.3 with linux-sh4-g++

    you can switch to subdir of config.tests,
    find the opengl test directory,then try make,
    you will find the specific error.

  3. #3

    Default Re: Cross Compilation of QT- 4.4.3 with linux-sh4-g++

    Hi,
    Thanks a lot for the reply.
    I tried that, it says
    opengles.cpp:1:21: error: GLES/gl.h: No such file or directory
    opengles.cpp:2:22: error: GLES/egl.h: No such file or directory

    Can you please tell me how can i proceed further.

  4. #4

    Default Re: Cross Compilation of QT- 4.4.3 with linux-sh4-g++

    I located for that files, but there is no matching files found.

  5. #5

    Default Re: Cross Compilation of QT- 4.4.3 with linux-sh4-g++

    Hi, i got the header files from net and created folder GLES inside opengles and added gl.h and egl.h.
    Then i did make of opengles,
    sh4-linux-g++ -Wl,-rpath,/root/SVN/platforms/image/target/usr/local/qt-4.4.3/lib -o opengles opengles.o -L/root/SVN/platforms/image/target/usr/local/qt-4.4.3/lib -L/usr/X11R6/lib -lqgl -lpthread
    /opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.1/../../../../sh4-linux/bin/ld: cannot find -lqgl

    Please let me anyone has any idea abt this.

Similar Threads

  1. Cross compilation from OS X to Windows
    By NicholasSmith in forum Installation and Deployment
    Replies: 3
    Last Post: 15th January 2009, 17:43
  2. Configure error building Qt 4.4.3 on Red Hat Enterprise Linux 4
    By montylee in forum Installation and Deployment
    Replies: 2
    Last Post: 5th December 2008, 18:40
  3. qt-embedded cross compilation error help
    By aj2903 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 27th October 2008, 08:41
  4. Cross compiling QT3 on Linux, for win32
    By mjrich in forum Installation and Deployment
    Replies: 10
    Last Post: 6th March 2006, 18:58

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.