This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

qt-embedded on omapl137

Dear all,

I would like to use qt-embedded on the omapl137 evm. When I compile qt-embedded, i have an error during the make. I use montavista cross compiler (arm_v5t_le)  and the last qt-everywhere-opensource-src-4.6.0.

My qt embedded configuration is :

./configure -prefix /opt/qt -embedded arm -platform qws/linux-x86-g++ -xplatform /qws/linux-omapl1-g++ -depths 16 -no-cups -no-largefile -no-accessibility -no-opengl -no-openssl -no-rpath

And the error : 

In function `_start':

init.c:(.text+0x30): undefined reference to `main'

collect2: ld a retourné 1 code d'état d'exécution

make[1]: *** [../../lib/libQtCore.so.4.6.0] Error 1

make[1]: Leaving directory `/home/arnaud/qt-everywhere-opensource-src-4.6.0/src/corelib'

make: *** [sub-corelib-make_default-ordered] Error 2

  • Hello Arnaud,

    I was having a similar error during make. I think it is a problem with the flags used in the configure call. The problem is that somehow, the make confclean doesn't erase all the configuration files, so I solved it deleting the qt-everywhere folder and uncompressing it again before calling configure.

    In case it is useful for you, here is my configure options:

    ./configure -prefix /opt/qt-embedded -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omapl1-g++ -depths 16,24,32 -no-cups
    -no-largefile -no-accessibility -no-openssl -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -no-opengl

  • Hello Claudia,

    How were you able to execute a Qt demo on the OMAP? When I try to execute I get the error -

    "error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory"

    Kindly advise if you had faced a similar problem and how you resolved it.

    Thanks and Regards,

    Pranam

     

     


     

  • Hello Pranam,

    Yes, I had a similar problem. To solve it, you have to copy the lib folder in your embedded filesystem from your qt installation. For example, If you installed qt in /opt/qt-embedded, the path to your lib folder should be /opt/qt-embedded/lib, right? Just copy this folder to /<path-to-filesystem>/opt/qt-embedded/lib.

    That should work.

    Regards,

    Claudia