QT installation on UBUNTU

ragip
hi all!

I use ubuntu 10.04 on my host pc.When I try to configure qt its give me
some error,I wrote them below,If somebody solved this problem,I will be
grateful.

at console;

rm -fr qtopia-2.2.0-FriendlyARM
tar xfvz qtopia-2.2.0.tar.gz
cd qtopia-2.2.0-FriendlyARM
echo yes | ./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32
-system-jpeg -gif' -qpe '-edition pda -displaysize 240x320  -fontfamilies
"helvetica fixed micro smallsmooth smoothtimes"' -qt2 '-no-opengl -no-xft'
-dqt '-no-xft -thread'

To manually build a particular component (eg. because it failed to build)
source the set...Env script. eg. . ./setQpeEnv; cd $QPEDIR; make

how can I find true way for this script , I tried that
http://www.friendlyarm.net/forum/topic/210 .But result is the same.

content of setQpeEnv :
export
QPEDIR=/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia
export
QTOPIA_DEPOT_PATH=/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/
qtopia
export
QTDIR=/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2
export
DQTDIR=/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt
export
TMAKEDIR=/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++
export PATH=$QPEDIR/bin:$QTDIR/bin:$DQTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QPEDIR/lib:$QTDIR/lib:$DQTDIR/lib:$LD_LIBRARY_PATH

mizch
I can't see any error message in your output.

ragip
http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-...

I followed sites that appear above, but result is the same :(

full output :
root@ragip-laptop:/opt/FriendlyARM/mini2440/x86-qtopia# ./build

This is the Qtopia Free Edition.

You are licensed to use this software under the terms of
the Qtopia Free Edition License.

Type '?' to view the Qtopia Free Edition License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the Qtopia Free Edition License?
Using the following configurations:
QPE_CFG="'-edition' 'pda' '-displaysize' '240x320' '-fontfamilies'
'helvetica fixed micro smallsmooth smoothtimes' -no-qtopiadesktop -release
-platform 'linux-g++' -xplatform 'linux-generic-g++'"
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32'
'-system-jpeg' '-gif' -release -platform 'linux-g++' -xplatform
'linux-generic-g++'"
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"
DQT_CFG="'-no-xft' '-thread' -platform 'linux-g++'"

Qtopia is now configured.

Type "make"              to build the qtopia bundle (and the tools, if
required).
Type "make install"      to install Qtopia.
Type "make cleaninstall" to install Qtopia after removing the image first
(avoid stale files in the image).
Type "make clean"        to clean the qtopia bundle.

Type "make tools"        to build the tools bundle.
Type "make cleantools"   to clean the tools bundle.

To manually build a particular component (eg. because it failed to build)
source the set...Env script. eg. . ./setQpeEnv; cd $QPEDIR; make

/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/scripts/bui
ldQtopia
Qtopia Tools exist.

***********************************
********* Build Qt/Embedded *******
***********************************
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32'
'-system-jpeg' '-gif' -release -platform 'linux-g++' -xplatform
'linux-generic-g++'"


This is the Qt/Embedded Free Edition.

You are licensed to use this software under the terms of
the GNU General Public License (GPL).

Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?

Enable Qt Virtual Framebuffer support for development on X11 (default yes)
symlink created for src/tools/qconfig-qpe.h

        This target is using the GNU C++ compiler (linux-g++).

        Recent versions of this compiler automatically include
        code for exceptions, which increase both the size of
        the Qt library and the amount of memory taken by your
        applications.

        You may elect to re-run ./configure with the -no-g++-exceptions
        option to compile Qt without exceptions.  This is
        completely binary compatible, and existing
        applications will continue to work (like KDE 2).


Building on:   linux-g++-shared
Building for:  linux-generic-g++-shared

Thread support..................... no
Configuration...................... qconfig-qpe.h

Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make[1]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'
dizinine giriliyor
make[1]: `all' için hiçbir şey yapılmadı.
make[1]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'
dizininden çıkılıyor

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="'-edition' 'pda' '-displaysize' '240x320' '-fontfamilies'
'helvetica fixed micro smallsmooth smoothtimes' -no-qtopiadesktop -release
-platform 'linux-g++' -xplatform 'linux-generic-g++'"

The following configuration values have been guessed or autodetected:
    -arch generic
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US
    -qvfb

Symlinking header files to include directory
Creating qmake...No makedepend available
make[1]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/qm
ake'
dizinine giriliyor
.make[1]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/qmake'
dizininden çıkılıyor

Creating
pngscale...make[1]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyAR
M/qtopia/util/pngscale'
dizinine giriliyor
...make[1]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/util/pngsc
ale'
dizininden çıkılıyor

Generating
makefiles.......................................................................
.........................................
make[1]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'
dizinine giriliyor
make[2]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c'
dizinine giriliyor
make[3]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c'
dizinine giriliyor
cd qt && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/qt'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/qt'
dizinine giriliyor
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
dizininden çıkılıyor
cd libraries/qtopia && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopia'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopia'
dizinine giriliyor
make[5]: `all' için hiçbir şey yapılmadı.
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopia'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopia'
dizininden çıkılıyor
cd libraries/qtopia1 && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopia1'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopia1'
dizinine giriliyor
make[5]: `all' için hiçbir şey yapılmadı.
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopia1'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopia1'
dizininden çıkılıyor
cd libraries/qtopia2 && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopia2'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopia2'
dizinine giriliyor
make[5]: `all' için hiçbir şey yapılmadı.
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopia2'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopia2'
dizininden çıkılıyor
cd 3rdparty/plugins/obex/openobex && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/3rdparty/plugins/obex/openobex'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/3rdparty/plugins/obex/openobex'
dizinine giriliyor
make[5]: `all' için hiçbir şey yapılmadı.
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/3rdpar
ty/plugins/obex/openobex'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/3rdpar
ty/plugins/obex/openobex'
dizininden çıkılıyor
cd libraries/qtopiapim && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopiapim'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/qtopiapim'
dizinine giriliyor
make[5]: `all' için hiçbir şey yapılmadı.
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopiapim'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/qtopiapim'
dizininden çıkılıyor
cd libraries/mediaplayer && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/mediaplayer'
dizinine giriliyor
make[5]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/sr
c/libraries/mediaplayer'
dizinine giriliyor
make[5]: `all' için hiçbir şey yapılmadı.
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/mediaplayer'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/librar
ies/mediaplayer'
dizininden çıkılıyor
cd libraries/qtopiacalc && make -f Makefile
make[4]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0...stripped-down

ragip
make[8]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/etc/themes
/mediaplayer/techno'
dizininden çıkılıyor
make[7]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/etc/themes
/mediaplayer/techno'
dizininden çıkılıyor
make[6]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/etc/themes
'
dizininden çıkılıyor
make[5]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/etc/themes
'
dizininden çıkılıyor
make[4]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
dizininden çıkılıyor
make[3]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
dizininden çıkılıyor
make[2]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
dizininden çıkılıyor
make[1]:
`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'
dizininden çıkılıyor
opt/Qtopia/lib/fonts/
opt/Qtopia/lib/fonts/helvetica_120_50.qpf
opt/Qtopia/lib/fonts/songti_160_50.qpf
opt/Qtopia/lib/fonts/fontdir
opt/Qtopia/lib/fonts/helvetica_120_50_t5.qpf
root@ragip-laptop:/opt/FriendlyARM/mini2440/x86-qtopia# 

any idea?

mizch
Please prefix your commands by 'LC_ALL=C', i.e. type 'LC_ALL=C make'
(without the quotes) instead of simply 'make' when posting to an
international forum.  Thus the output will be more readable for
non-speakers of your local language.  I fail to make any sense out of
"dizininden çıkılıyor".  Also, you might want to use
attachments for long listings.

And please describe *what* makes you think there is an error and point us
to the offending line.

davef
I'll make a guess:

-arch generic


Shouldn't there be something to tell the compiler you want to make it for
ARM?

Dave

ragip
davef;

I dont know which is true (arch=ARM or arch=generic) , While I was using
fedora9 on my host pc, everything is perfect. 
I tried to compile with that command ' #arch=ARM ./build ', but nothing has
changed.First mistake output that 

***********************************
********* Build Qt/Embedded *******
***********************************
 .
 .
 .
Building on:   linux-g++-shared
Building for:  linux-generic-g++-shared

Thread support..................... no
Configuration...................... qconfig-qpe.h

Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make[1]:`/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'

entered into the directory
make[1]: nothing made for 'all'.
make[1]:/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'
exits from the directory.

ragip
additional informations;
* host pc: ubuntu 10.04 ( on virtualbox )
* arm-linux-gcc-4.3.2 toolchain is succesfull.
* Installing x86-qtopia is failed.

fundu
did you set up the arm linux tool chain ?

ragip
Hi all!

I installed the QT4-designer and I followed x86-qtopia steps of equallybad
blog.x86-qtopia installation finished some error,but qtopia framebuffer is
working.

thanks for all help

enas
Dear Ragip & all,

I've tried qtopia installation as described in mini2440 Chinese manual, I
also tried it in both Ubuntu 10.04 and Fedora 9 (as described in manual)
but it always failed.
the fail message is:

checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and
libraries) not found. Please check your installation!

anyone has clue?
thanks

rahul sharma
Hi ,

I have the same problem as enas.Someone please list out the steps to
compile qtopia for friendly arm.This would be a big help to all of us.

Cheers,
Rahul.