Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zAlexandr

Pages: [1]
1
Qt/Qtopia / Help With Compile Enviroment Settings
« on: December 08, 2006, 07:20:13 am »

2
Qt/Qtopia / Qtopia Compilation/ Link Error
« on: December 08, 2006, 03:04:32 am »
Quote
you need to link to libqpe and possibly libqtopia as well.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136298\"][{POST_SNAPBACK}][/a][/div]
Maybe, this is the same problem as I had.
The Qtopia 1.7 SDK binares compiled with gcc 3.3.5 i.e. we don't need gcc 2.95 for linux native compilation.
Solution: if you need to delete path to the gcc 2.95 from PATH variable.

3
Qt/Qtopia / Help With Compile Enviroment Settings
« on: December 08, 2006, 03:01:08 am »
Quote
Quote
The first problem is fixed.   
This was in "glibc" library i.e. it must be installed on Suse for development.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147666\"][{POST_SNAPBACK}][/a][/div]

But now I have linker problems it showed that "QPEAppplication::QPEAppplication()" not found and all members from QWidget.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147667\"][{POST_SNAPBACK}][/a][/div]

It works!!!  
The problem was: Qtopia 1.7 SDK binaries for x86 compiled with gcc 3.3.5. So, we don't need gcc 2.95 for linux compilation, we need it for cross-compilation ONLY!!!.

4
Qt/Qtopia / Help With Compile Enviroment Settings
« on: December 01, 2006, 03:02:18 am »
Quote
The first problem is fixed.   
This was in "glibc" library i.e. it must be installed on Suse for development.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147666\"][{POST_SNAPBACK}][/a][/div]

But now I have linker problems it showed that "QPEAppplication::QPEAppplication()" not found and all members from QWidget.

5
Qt/Qtopia / Help With Compile Enviroment Settings
« on: December 01, 2006, 03:00:36 am »
The first problem is fixed.  
This was in "glibc" library i.e. it must be installed on Suse for development.

6
Qt/Qtopia / Help With Compile Enviroment Settings
« on: November 29, 2006, 05:07:13 pm »
Fresh installed Suse 9.3 (try with 10 too).
The packages was installed with Yast for qtopia development.

Installed Packages:
binutils-cross-arm-2.11.2-0.i386.rpm
gcc_old-2.95.3-7.i586.rpm
gcc-cross-sa1100-2.95.2-0.i386.rpm
glibc-arm-2.2.2-0.i386.rpm
linux-headers-arm-sa1100-2.4.6-3.i386.rpm
qtopia-free-1.7.0-1su82.i386.rpm
and
tmake-1.13.tar.gz


The enviroment script:
QPEDIR=/opt/Qtopia
QTDIR=/opt/Qtopia
PATH=/opt/gcc295/bin:$QTDIR/bin:$QPEDIR/bin:/opt/Qtopia/tmake-1.13:$PATH
TMAKEPATH=/opt/Qtopia/tmake-1.13/lib/qws/linux-x86-g++/
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QPEDIR QTDIR PATH TMAKEPATH LD_LIBRARY_PATH PS1
echo "Altered environment for Sharp Zaurus Development x86"


When try to compile example, compiler showed errors:


 g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -DNO_DEBUG -I/opt/Qtopia/include -I/opt/Qtopia/include -o main.o main.cpp
In file included from /opt/Qtopia/include/qstring.h:43,
                 from /opt/Qtopia/include/qvariant.h:42,
                 from examplebase.h:12,
                 from example.h:3,
                 from main.cpp:1:
/opt/Qtopia/include/qcstring.h:50: string.h: No such file or directory
In file included from /opt/gcc295/lib/gcc-lib/i486-suse-linux/2.95.3/include/syslimits.h:7,
                 from /opt/gcc295/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h:11,
                 from /opt/Qtopia/include/qwindowdefs.h:48,
                 from /opt/Qtopia/include/qwidget.h:42,
                 from examplebase.h:13,
                 from example.h:3,
                 from main.cpp:1:
/opt/gcc295/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h:117: limits.h: No such file or directory
In file included from /opt/Qtopia/include/qtopia/qcom.h:33,
                 from /opt/Qtopia/include/qtopia/applicationinterface.h:24,
                 from /opt/Qtopia/include/qpe/qpeapplication.h:148,
                 from main.cpp:2:
/opt/Qtopia/include/qtopia/quuid.h:34: memory.h: No such file or directory
In file included from /opt/Qtopia/include/qstring.h:43,
                 from /opt/Qtopia/include/qvariant.h:42,
                 from examplebase.h:12,
                 from example.h:3,
                 from main.cpp:1:
/opt/Qtopia/include/qcstring.h: In function `int cstrncmp(const char *, const char *, unsigned int)':
/opt/Qtopia/include/qcstring.h:107: implicit declaration of function `int strncmp(...)'
In file included from /opt/Qtopia/include/qtopia/qcom.h:33,
                 from /opt/Qtopia/include/qtopia/applicationinterface.h:24,
                 from /opt/Qtopia/include/qpe/qpeapplication.h:148,
                 from main.cpp:2:
/opt/Qtopia/include/qtopia/quuid.h: In method `QUuid::QUuid()':
/opt/Qtopia/include/qtopia/quuid.h:56: implicit declaration of function `int memset(...)'
make: *** [main.o] Error 1


Some essential packages missing?
Thank you.

7
Qt/Qtopia / Qtopia 2.2 Development For Zaurus Sl-c1000
« on: November 28, 2006, 12:22:26 pm »
Qtopia 2.2 Overview
Quote
Note that the Qtopia API has been broken up into two seperate libraries. One library is called libqpe and the other library is libqtopia1. libqpe 1.5.2 is binary compatible with the existing libqpe 1.5.0 and libqpe 1.5.1 libraries. libqtopia1 contains the source code for the additional methods and classes added to Qtopia for the Qtopia 1.7.0 release. Qtopia 1.7 applications depend on both of these libraries. Qtopia 1.5 devices will be able to install Qtopia 1.7 applications by installing libqtopia1 and any other libraries they need.

Is additional libraries needed for Qtopia 2.2 applications running on Qtopia 1.5?  Is something like "libqtopia1" with 2.2 features available for zaurus?

Thank You.

8
Qt/Qtopia / What IDE/environment are you using?
« on: December 19, 2005, 07:01:51 am »
Hello, Is it possible to use KDevelop3, Suse 9.3/10 with Qtopia?
The variable QTDIR is setted to the qt3 directory and if it reset it and start KDevelop3, then it crash.
Thank you.

P.S: Currently I am using Suse 9.3, KWrite and toolchain.

Quote
Kdevelop 3.x specifically supports Qtopia projects (Create a new project and look under C++/Embedded/Qtopia Application) which are based on tmake. Note that you have to run it from a terminal after setting up your build environment with something like the script dev-x86-qpe.sh It has even more support for OPIE btw. Also see this tutorial:

http://www.kdevelop.org/3.0/doc/tutorial_qtopia/
(The Kdevelop version is a little out of date but it does work with the Qtopia 1.5 SDK as well as v1.6)

QT Designer v2 comes with the Qtopia SDK and kdevelop can still use its .ui files within a project although you have to explicitely use Designer v2 rather than 3. I just created an extra Tools menu entry for this as double clicking a .ui file in kdevelop opens it in Designer v3.

The one thing that I don't like about kdevelop is the code completion doesn't seem to work properly. I've created a permanent store of the Qtopia include files and ctags of my stuff too, but the context sensitivity just isn't there, nor are function info tooltips. I don't particularly like Micro$oft but my day job is programming in Visual Basic and Visual C++ and the 'IntelliSense' stuff really helps get the job done faster. Has anyone got this to work properly in kdevelop? I only use the SuSE RPMs so they could be broken.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=48488\"][{POST_SNAPBACK}][/a][/div]

9
Qt/Qtopia / qtopia sdk problem
« on: December 15, 2005, 05:56:05 pm »
Quote
The 1.7 sdk can be used to create apps for Sharp rom, provided you remove the -lqtopia from tmake.conf as he has done, and thus would not need to install libqtopia.

Qtopia is backwards compatible.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=51428\"][{POST_SNAPBACK}][/a][/div]

I have the same problem with SDK 1.7 and SuSE 9.3.
But from this thread I cannot undestand what I must do to compile it?
I removed -lqtopia from tmake, but the same problems.
HEEELP !!!  

Thank you.

10
Qt/Qtopia / Anyone Use Suse 10.0 For Z Dev?...
« on: December 15, 2005, 04:10:17 am »
Quote
Personally I have had no problems doing development for the Z under SuSE 10.0 .  I have been able to cross compile kernels and applications quick and easy using the How-To guides on the user group website.  The only thing I have not tried doing is cross compiling Qtopia apps, everything that I have compiled has been console based.  But I would recommend giving SuSE a go, it does a lot of other things well besides Z dev too.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=105979\"][{POST_SNAPBACK}][/a][/div]

Hello.
Did you compile it from command line or in KDevelop IDE?
I cannot configure KDevelop 3 while QDIR variable setted to the qt3 and if I reassign it then KDE is failed to start.  

Thank you.

Pages: [1]