[Qt-interest] problems in installing Qt-embedded 4.5 in Linux fedora 8

Thiago Macieira thiago.macieira at trolltech.com
Tue Mar 24 07:57:24 CET 2009


Ravi_Kalepalli wrote:
>I couldn't find the .profile in my root directory(I am logging in as
> root and I am a complete newbie to Linux, so I guess when we say home
> directory ,it will be 'root' directory for root user)

I suggest you learn a bit more about Linux before continuing. It will do 
you a lot of good.

In particular, here are some suggestions:
1) don't use root for a task that isn't system administration. Tinkering 
with Qt for Embedded Linux isn't.

2) the home directory for the root user is /root, not the root directory. 
For a normal user, it's usually /home/<username>

>[root at localhost browser]# cd
> /usr/local/Trolltech/QtEmbedded-4.5.0-tp1/demos/textedit

Don't use Qt 4.5.0's technical preview. That was released 6 months ago. 
You really want to use 4.5.0 final version, released 3 weeks ago.

>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I../../../Qt-4.4.3/mkspecs/linux-g++ -I.
> -I../../../Qt-4.4.3/include/QtCore -I../../../Qt-4.4.3/include/QtCore
> -I../../../Qt-4.4.3/include/QtGui -I../../../Qt-4.4.3/include/QtGui
> -I../../../Qt-4.4.3/include -I. -I. -o textedit.o textedit.cpp

From the output here, I can tell you your PATH=.... command did not work: 
the qmake command that was run was the Qt 4.4.3 (X11) that comes with your 
distribution, not the Qt for Embedded Linux you installed.

Please make sure you installed Qt for Embedded Linux correctly (by running 
"make install"), that qmake is in 
/usr/local/Trolltech/QtEmbedded-4.5.0/bin (I'm assuming you will upgrade 
from the TP1) and that you ran the PATH=.... command correctly.
-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090324/b9f1da9c/attachment.bin 


More information about the Qt-interest-old mailing list