PDA

View Full Version : error in compiling qtopia.....



sar_van81
27th December 2006, 10:36
hi everyone,

i had downloaded qtopia-free-src-2.2.0.tar.gz. can anyone say me how to complie it for the host(linux,i386 processor).i followed the steps below:

suse: gunzip qtopia-free-src-2.2.0.tar.gz
suse:tar xvf qtopia-free-src-2.2.0.tar
suse:cd qtopia-free-2.2.0/
suse: ./configure
suse:make.

. but there were the following errors:

home/qtopia/qto/qtopia-free-2.2.0/qt2/include/qwindowsystem_qws.h:230: error: ‘QWSInputMethod’ has not been declared
/home/qtopia/qto/qtopia-free-2.2.0/qt2/include/qwindowsystem_qws.h:237: error: ‘QWSGestureMethod’ has not been declared
make[1]: *** [allmoc.o] Error 1
make[1]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qt2/src'

************************************************** *********************
*
* ERROR: Building Qtopia has failed.
*
* Please search the make output for any error messages.
*
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*
* For more information about the build process please use a browser
* and go to the getting started section in:
* /home/qtopia/qto/qtopia-free-2.2.0/qtopia/doc/html/index.html
*
************************************************** *********************

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="-edition pda -displaysize 240x320 -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-generic-g++'"

The following configuration values have been guessed or autodetected:
-arch generic
-fontfamilies helvetica fixed micro smallsmooth smoothtimes
-fontsizes all
-fontstyles 50 50i 75 75i
-languages en_US
-qvfb

Symlinking header files to include directory
Creating qmake...make[1]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/qmake'
..............................................make[1]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/qmake'

Creating pngscale...make[1]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/util/pngscale'
.................................................. ................make[1]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/util/pngscale'

Generating makefiles......................................... .................................................. .....................
make[1]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia'
make[2]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src'
make[3]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src'
cd qt && make -f Makefile
make[4]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/qt'
make[5]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/qt'
make[5]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/qt'
make[4]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/qt'
cd libraries/qtopia && make -f Makefile
make[4]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[5]: Entering directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
/home/qtopia/qto/qtopia-free-2.2.0/qt2/bin/uic passwordbase_p.ui -o ../../../include/qtopia/private/passwordbase_p.h
make[5]: /home/qtopia/qto/qtopia-free-2.2.0/qt2/bin/uic: Command not found
make[5]: *** [../../../include/qtopia/private/passwordbase_p.h] Error 127
make[5]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/qtopia/qto/qtopia-free-2.2.0/qtopia'

************************************************** *********************
*
* ERROR: Building Qtopia has failed.
*
* Please search the make output for any error messages.
*
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*
* For more information about the build process please use a browser
* and go to the getting started section in:
* /home/qtopia/qto/qtopia-free-2.2.0/qtopia/doc/html/index.html
*
************************************************** *********************
suse:/home/qtopia/qto/qtopia-free-2.2.0 #


can anyone provide me suggestions or solutions for this....? is this the correct procedure...? else can anybody send me the procedure how to compile...


thanks in advance.

saravanan..

e8johan
7th January 2007, 10:32
There seems to be few answers to Qtopia building issues here. I'm replying to your thread to remove it from the unanswered list as it has been there for a week now.

lpotter
11th January 2007, 07:14
What version of gcc are you using?

sar_van81
11th January 2007, 10:10
the following are the gcc versions:

libgcc-4.1.0-25
gcc-info-4.1.0-25
gcc-4.1.0-25
colorgcc-1.3.2-132
gcc-java-4.1.0-25
gcc-c++-4.1.0-25