Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qt Library Adding: (18 Items)
   
Qt Library Adding  
Hi,

I'm using ubuntu 11.10. I complied qt hello world application for omap3530 beagle board.
 
I'm using qt_every_where and qnx_qnx. 

There is an error in my Target Setup step. I complied qt hellowrold project. You can look image5.png for complie steps 
also if you wanna  look qthelloworld application source you can look image12.png

I wanna add qt library for beagle qnx .ifs image but ı'm only added dependencies libarry. I don't know how the process 
would be to add.

ı have read this comments.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  Qt libraries:
    $ARCH/usr/lib/libQt*.so*   (libQt*.so.4 on targets with no symlink support)                        /I could not do 
the process of adding
    $ARCH/usr/lib/qt4/plugins/                                                                                          
           /I could not do the process of adding
    $ARCH/usr/lib/qt4/imports/                                                                                          
           /I could not do the process of adding
  Dependencies:
    $ARCH/lib/libc.so.3                                   /i added this library with momentics ide                      
                                                       
    $ARCH/lib/libcpp.so.4                               /i added this library with momentics ide
    $ARCH/lib/libgf.so.1                                  /i added this library with momentics ide
    $ARCH/lib/libm.so.2                                  /i added this library with momentics ide                    
    $ARCH/lib/libsocket.so.2                          /i added this library with momentics ide
    $ARCH/lib/libsocket.so.3                          /i added this library with momentics ide
    $ARCH/lib/libstdc++.so.6                         /i added this library with momentics ide
    $ARCH/usr/lib/libz.so.2                            /i added this library with momentics ide
  Data files:
    usr/share/qt4/translations/                        /I could not do the process of adding
    usr/photon/font_repository/                       /I could not do the process of adding
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

I need to adding qt libraries for . ifs image.

Thanks for Helps
Attachment: Image image5.png 70.11 KB
Re: Qt Library Adding  
image12.png
Attachment: Image image12.png 36.57 KB
Re: Qt Library Adding  
I assume you are building for Qt4...

image5.png says "ARM version 1".  It is unclear to me whether you are building for "armle-v7".  Only libraries for armle
-v7 are available - unless you build them yourself.  BUT you should run 'v7' on beagle.

To be sure what libraries need to be included, run this against the program you built.

  # ntoarmv7-objdump -x helloworld | grep NEEDED

You should see output indicating which shared libraries it is linked to.
Re: Qt Library Adding  
Thanks for help Dennis,

I have new problem make stage. 

I am getting the following error in the compilation stage . 

"ntoarmv7-g++: error: environment variables QNX_HOST and QNX_TARGET not defined" 

if you wanna more information you can look image1.png 

if you wanna look the following output of commands 
qconfig (image2.png) 
qconfig -v (image3.png) 
printenv (1.txt) 

Thanks for help Dennis
Attachment: Text 1.txt 3.14 KB
Re: Qt Library Adding  
image1.png
Attachment: Image image1.png 239.61 KB
Re: Qt Library Adding  
Eren-

Your .configure. line is wrong for 4.8.x .  -xplatform has changed from

-xplatform unsupported/qws/qnx-i386-g++ 
to
-xplatform qws/qnx-i386-g++

I might help to follow these notes:
http://dl.dropbox.com/u/13676760/QtBuild.pdf
Re: Qt Library Adding  
Thanks for help

I'm follwed this document but i have a new probelem.


"ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or directory"
You can look image.png for information

ı used this configuration.


./configure -xplatform qws/qnx-i386-g++ -embedded i386 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-
gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -confirm-license


Attachment: Image imagex1.png 228.6 KB
Re: Qt Library Adding  
>>>./configure -xplatform qws/qnx-i386-g++ -embedded i386 

Why does this say i386?
Re: Qt Library Adding  
Sorry. I wrote the wrong.I used this configuration. 

./configure -xplatform qws/qnx-armv7-g++ -embedded armv7 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -
qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -confirm-license



Re: Qt Library Adding  
Hi Dennis,

I changed computer at the office. I wrote the previous message 

Let me tell you the problem. I have two different problem.

I'm getting this problem when I'm super-user : ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or 
directory

I'm getting this problem when I'm normal-user : ntoarmv7-g++: error: environment variables QNX_HOST and QNX_TARGET not 
defined 

What can I do about it?

Thanks for help
Re: Qt Library Adding  
also i used  this config:


./configure -embedded armv7 -xplatform qws/qnx-armv7-g++ -little-endian -fast -nomake examples -nomake demos -no-webkit 
-no-declarative -no-declarative-debug -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-gfx-vnc -opensource -no-gfx-linuxfb -
no-kbd-tty -prefix /usr/local/qt-qnx-armv7 -prefix-install -static

qt-everywhere..4.8.2.tar.gz
Re: Qt Library Adding  
>>>I'm getting this problem when I'm super-user : ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or 
directory

>>>I'm getting this problem when I'm normal-user : ntoarmv7-g++: error: environment variables QNX_HOST and QNX_TARGET 
not defined 

The envronment changes when you switch user.  The PATH should be right when you run as the user that installed Momentics
... apparently not 'root'.

You can check environment with 
# set

You can fix any missing or wrong variables with...

# export QNX_HOST=....
etc.

Then re-try the build.


Re: Qt Library Adding  
the error is still ongoing but anymore i have one problem.

i running set command on super user shell and normal user shell.

I'm getting the following error: ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or 
directory

You can look attachment for output of set command
Attachment: Text super-user-set.txt 2.94 KB
Re: Qt Library Adding  
normal-user-set.txt
Attachment: Text normal-user-set.txt 280.86 KB
Re: Qt Library Adding  
Hi Dennis,

Do you have another idea about this error?

I need to complete the process of port. I'm waiting for help.

Thanks
Re: Qt Library Adding  
image2.png
Attachment: Image image2.png 25.56 KB
Re: Qt Library Adding  
image3.png
Attachment: Image image3.png 41.96 KB
Re: Qt Library Adding  
image3.png
Attachment: Image image3.png 41.96 KB