OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: zautrix on April 18, 2004, 10:19:49 pm
-
Hi!
I wonder if anyone knows some useful Qt programs ( which does not use KDElibs, such that it could be easily compiled), which could be compiled for the SL-760 with Qtopia based ROM.
I have taken KCommander3 ( and fixed man bugs there ) and compiled it with Qt 323 for the Zaurus.
(Sreenshot on www.pi-sync.net/daunlood/kcommander3onZaurus760.png ).
It is a file managing tool (like midnight commander) with a text editor and previews for text, hex or images.
KCommander does not use anything from KDE such that KDE dep. were no problem.
It is Qt3 based such that I compiled Qt 323 ( size :9 MB lib) for the Zaurus as well.
I wonder if anyone knows some useful Qt programs ( may be Qt3 based ), which would be nice to have it on the zaurus as well ...
z.
-
Where can we get KCommander for the C7x0? Would you post a link?
-
I can put it on the web as soon as I have found a location where the Qt323 lib can be downloaded.
This lib is 9 MB of size.
That means, you will need 10 MB of programs ( 9MB Qt + 1 MB KCommander) to run KCommander.
z.
-
Please post a link here when you find a host. Thanks!!!!
-
A useful QT program(for me at least) would be Tuxcards (www.tuxcards.de), which is a QT-based outliner and notebook.
Can the QT323 lib be installed to an SD card?
And Zautrix, a million thanks for all the efforts you\'re putting in to programs for the 760!
-
Very nice zautrix!!!
I want this link ;-)
-
@PowerZ
I will do so ...
@mjotad
Thx for the link!
Tuxcards looks very useful!
I have it already compiled.
The QT323 lib can be installed to an SD card, no problem.
But there is a problem with the qt323 lib I compiled for the Zaurus.
I cannot handle small pixmaps. Such that Tuxcards crashes after the start.
I guess, I wll take me some time until I find the reason for the crash.
Maybe I have compiled the Qt lib with some wrong settings or it is a bug in Qt.
But Tuxcards should be available in some days.
DOES ANYBODY KNOWS MORE SUCH NICE APPS?
z.
-
I dowloaded and compiled the latest Qt Version - now Tuxcards is running without problems.
It is really a great app for the Zaurus.
But there is one problem left:
A program compiled for Qt3 does not get an icon in the taskbar, such that it is unreachable, if it is not visible any more.
Hope, I can solve this problem somehow.
z.
-
Do you experience any performance differences with Qt/2 versus Qt/3 ?
-
I was wondering if either Mille Bornes (http://www.die.net/doc/linux/man/man6/mille.6.html (http://www.die.net/doc/linux/man/man6/mille.6.html)) or Pyramid Solitare would be possible?
-
@Mikeyl:
I believe Qt/2 is faster than Qt/3, but not very much.
@PowerZ
Do you have any links to sources for these programs?
Hi ZUG-Admins!
Would it be possible to make a compiled Version of Qt 3.3.1 lib downloadable from ZUG directly?
It is compiled for the Sharp-Qtopia environment and make is possible to run any Qt App on the Zaurus.
Its size is compressed about 3.3 MB.
-
This is a link to an X version of Mille Bournes: [a href=\"ftp://ftp.x.org/R5contrib/xmille.tar.Z%5b/url\" target=\"_blank\"]]ftp://ftp.x.org/R5contrib/xmille.tar.Z (http://%20%5burl=)[/a]
Here is another link to a version: http://www.tip.net.au/~dbell/programs/mille-2.0.tar.gz (http://www.tip.net.au/~dbell/programs/mille-2.0.tar.gz)
If these 2 aren\'t good enough, let me know,
As to Pyramid, I have not found a Linux source, yet but I will keep looking.
And yet another suggesstion, KMonop: http://prutser.cx/~icehawk/kmonop/ (http://prutser.cx/~icehawk/kmonop/)
-
Sorry, but xmille is not a Qt program.
And KMonoP is a KDE game.
Both are useless for my purpose, I wrote:
\"A Qt Application not dependeng on KDE libs\".
-
http://artis.imag.fr/Members/Gilles.Debunne/Code/QDU/ (http://artis.imag.fr/Members/Gilles.Debunne/Code/QDU/)
-
Hi ced, thx for the link.
qdu is already running running on my 760.
I have solved the problem with the missing icon for a Qt3 program as well
( I have written a (very small) Qt2 program which callls the Qt3 program and makes it visible when clicking the icon ).
Now there are now technical problems any more to run a Qt3 prog on Zaurus with Qtopia environment.
I will make some ipks in the next one or two week, that all of you can use these progs.
The TuxCards pogram is really a very useful App for a PDA!
z.
-
How about Lyx, a graphical non-technical front end for LaTeX.
It\'s at: www.lyx.org
As far as I can tell, it\'s supported on QT 2.3.x and 3.x
Unfortunately, it also needs Latex to be ported to the Z, but wasnt that already done somewhere?
Yz (dying for a decent word processor)
-
I will make some ipks in the next one or two week, that all of you can use these progs.
The TuxCards pogram is really a very useful App for a PDA!
Zautrix, you are fast becoming my personal hero!
TuxCards is very useful, and I miss having it a lot. I had it working under Cacko X11, but since I went back to Cacko Qtopia I\'ve been unable to get it to run properly under Xqt (all the fonts are huge and it runs about four times large than the screen).
Can I put in a vote for Lyx as well?
-
Ok, you can download the Qt lib from
http://sourceforge.net/projects/kdepimpi/ (http://sourceforge.net/projects/kdepimpi/)
File Release
Qt3emb4zaurus
It is only the lib.
The ipk packagages follow later ...
z.
-
And here is TuxCards for Qt3:
www.pi-sync.net/daunlood/feed/TuxCards4Qt3_1.1.0z_arm.ipk
I had problems with some fonts and Qt 3.
If the app crashes, please start from console.
If there is a message like : could not mmap font blabla.qpf
rename it to blabla.qpf.something such that it is not found anymore.
Example :
I have renamed (removed) all lcfont fonts.
Example: I have now in my font dir something like
/home/QtPalmtop/lib/fonts/lcfont_240_50_t10.qpf.wech
z.
-
zautrix --] which toolchain do you use? I\'m using the cacko SDK (which include qt 3.1.2).
I\'ve compiled \"qdu\" and it needs the libgcc_s.so.5 library. the cacko version is linked to libc 2.2.4. do you have a libgcc_s linked to libc 2.2.2?
-
Ahm ... what is a toolchain?
What is the purpose of the cacko SDK? Compiling for X11Rom?
What do you want?
Compile for Cacko X11 Rom or for Qtopia framebuffer?
z.
-
ok which crosscompiler do you use?
I don\'t want to compile for the X11 ROM (I\'m using the default Sharp ROM). the cacko sdk has qt3 so I\'m using this...
-
I am using arm-linux-g++ --version
2.95.2
Why you do not take the newest Qt emb 331 version?
z.
-
And here is TuxCards for Qt3:
Zautrix, many many thanks. You\'ve just made my Zaurus about 50% more useful!
-
I\'ve tried to run the qt-embedded 3.1.1 examples like the \"tux\" example and I\'m getting this from the console:
bash-2.05$ file tux
tux: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
bash-2.05$ ldd tux
libqte-mt.so.3 => /home/QtPalmtop/lib/libqte-mt.so.3 (0x40022000)
libdl.so.2 => /lib/libdl.so.2 (0x407a4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x407af000)
libm.so.6 => /lib/libm.so.6 (0x407cd000)
libc.so.6 => /lib/libc.so.6 (0x407fb000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bash-2.05$ ./tux
QWSDisplayData::readMore() : Protocol error - got 00000000!
sformed: driver not found
bash-2.05$
I\'ve tried \"qdu\" and I\'m getting the same thing...
-
You didn\'t have compiled the gfx driver.
you need -qt-gfx-transformed
I did compile Qt with
./configure -depths 8,16,24,32 -embedded sharp -qt-gfx-transformed -thread -qt-imgfmt-jpeg -qt-imgfmt-png -qt-imgfmt-mng
It took me hours to find out which driver to choose for Zaurus, I found no info on the web.
z.
-
I\'ve used this:
./configure -depths 16 -embedded sharp -qt-gfx-transformed -thread -qt-imgfmt-jpeg -qt-imgfmt-png -qt-imgfmt-mng -qt-gif -release -shared -no-cups -system-zlib -qt-kbd-sl5000
-depths 16 --] zaurus only support 16bits
-no-cups --] don\'t need printing
-qt-gif --] provide gif support (doesn\'t hurt...)
-system-zlib --] zlib already in the sharp rom
-qt-kbd-sl5000 --] support for the sharp keyboard
after uploading the \"tux\" example and the new library (ldconfig -v), I\'m getting the same thing from the console...
QWSDisplayData::readMore() : Protocol error - got 00000000!
If I\'m running your TuxCards application (using your library) from the console then I\'m getting the same error (it\'s fine from the desktop icon).
the library size (after using \"arm-linux-strip\") is around 7.3M
-
Hello Zautrix,
Qt3-support sounds great. Do you think it is possible to provide pyqt for qt3 so that one can develop python apps?
It would be good to have the nice richtext-control from qt3 on the zaurus.
Regards,
Fabian
-
Hi fabianE,
I do not know anything about python, such that I do not know, if it is possible to develop python apps.
I moved location of tuxcards ( same program package as above link )
http://www.pi-sync.net/daunlood/feed/qt3/T..._1.1.0z_arm.ipk (http://www.pi-sync.net/daunlood/feed/qt3/TuxCards4Qt3_1.1.0z_arm.ipk)
And another useful app:
http://www.pi-sync.net/daunlood/feed/qt3/K..._3.1.0z_arm.ipk (http://www.pi-sync.net/daunlood/feed/qt3/KCommander3_4Qt3_3.1.0z_arm.ipk)
To run these progs on Qtopia based rom, you need Qt3 lib, download from:
http://sourceforge.net/projects/kdepimpi/ (http://sourceforge.net/projects/kdepimpi/)
Notes on KCommander :
KCommander may have bugs!
Click on maximize Window after program start to get proper display.
Click on icon to get context menu.
Context menu \"view disk usage\" is very useful. I starts build in qdu.
Click in qdu on second column to get context menu.
Hold pen down on Buttons at the bottom ( like \" F3 View\" ) to get additional options .
z.
-
http://www.ece.auckland.ac.nz/~swon074/ptt...tt-web/ptt.html (http://www.ece.auckland.ac.nz/~swon074/ptt-web/ptt.html)
compile/run fine under qt3
-
Ced, could you provide an ipk (or pointer to the IPK) for the PTimeTracker?
-
Thx for the link ced, another very useful program for a PDA.
I will \"hack\" and compile this later for the zaurus.
Here is a hint, how to get one of my Qt3 programs in the foreground, if something went wrong:
Example: tuxcards.
1) Start Konsole, search for pid of tuxcards
ps -ax |grep tuxcards
11315 pts/11 S 0:01 ./tuxcards
11369 pts/13 R 0:00 grep tuxcards
The pid is 11315.
2) Send the process the signal continue ( SIGCONT )
kill -n 18 11315
Now tuxcards is maximized and in foreground.
Hint:
You can do this in cacko1.21 also from:
Settings-System Info-Process TAB
Choose process tuxcards and send signal SIGCONT
z.
-
I installed Tuxcards, looks like a great program to me.
Still a few bugs in it ?
- can\'t change the font of the tree (it\'s saved in options, but font doesn\'t change in tree)
- when trying to select \"lcfont\" TuxCards crashes
The rest seems to work fine
Thanks Zautrix.
-
I installed Tuxcards, looks like a great program to me.
Still a few bugs in it ?
- can\'t change the font of the tree (it\'s saved in options, but font doesn\'t change in tree)
Yes, that\'s a bug. I did a mistake when hacking the app to make it useable for the pda.
Will be fixed soon.
- when trying to select \"lcfont\" TuxCards crashes
The rest seems to work fine
Thanks Zautrix.
I have the same problem.
I really do not know, what is wrong.
I will not spend time to fix this problem.
I removed the lcfont on my 760.
I wrote already:
And here is TuxCards for Qt3:
www.pi-sync.net/daunlood/feed/TuxCards4 ... 0z_arm.ipk
I had problems with some fonts and Qt 3.
If the app crashes, please start from console.
If there is a message like : could not mmap font blabla.qpf
rename it to blabla.qpf.something such that it is not found anymore.
Example :
I have renamed (removed) all lcfont fonts.
Example: I have now in my font dir something like
/home/QtPalmtop/lib/fonts/lcfont_240_50_t10.qpf.wech
z.
-
zautrix --] Have you try to compile lyx?
... just a question about general shared library...
I\'ve compiled my own qt3 library (smaller in footprint) and if I\'ve used the zautrix\'s TuxCards ipk (which is linked to his own qt3 lib) then it can\'t find objects from my library (like TabDialog or QWidget). If I compiled TuxCards by myself then it\'s ok?!? any clue what\'s going on?
-
zautrix --] Have you try to compile lyx?
no
... just a question about general shared library...
I\'ve compiled my own qt3 library (smaller in footprint) and if I\'ve used the zautrix\'s TuxCards ipk (which is linked to his own qt3 lib) then it can\'t find objects from my library (like TabDialog or QWidget). If I compiled TuxCards by myself then it\'s ok?!? any clue what\'s going on?
I guess you have compiled your Qt with -fno_rtti
My Qt is compiled without that option.
With that option you cannot use any program, which uses dynamic_casts.
z.
-
no I haven\'t compiled with that option... so how do you enable rtti?
here is my configure:
./configure -depths 16 -embedded sharp -thread -qt-gfx-transformed -qt-imgfmt-jpeg -qt-imgfmt-png -qt-imgfmt-mng -release -shared -system-zlib -qt-kbd-sl5000 -system-libjpeg -system-libpng -no-qvfb -no-xft -no-cups
---
for lyx I\'m getting this:
checking for moc... /opt/Qtopia//bin/moc
checking for uic... /opt/Qtopia//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
here is my configure with qt2.3.2:
../lyx-1.3.4/configure --build=i686-pc-linux-gnu --host=arm-linux --with-qt-dir=/opt/Qtopia --with-frontend=qt
I\'ve got the QTDIR setup, I\'m getting the same thing with qt3...
-
no I haven\'t compiled with that option... so how do you enable rtti?
here is my configure:
./configure -depths 16 -embedded sharp -thread -qt-gfx-transformed -qt-imgfmt-jpeg -qt-imgfmt-png -qt-imgfmt-mng -release -shared -system-zlib -qt-kbd-sl5000 -system-libjpeg -system-libpng -no-qvfb -no-xft -no-cups
If you do not have removed it, you have it compiled with -fno-rtti
You will see the -fno-rtti in every line g++ is compiling.
To compile w/o -fno-rtti you have to remove it from
mkspecs/qws/linux-sharp-g++/qmake.conf
I have there the line
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions
---
for lyx I\'m getting this:
checking for moc... /opt/Qtopia//bin/moc
checking for uic... /opt/Qtopia//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
here is my configure with qt2.3.2:
../lyx-1.3.4/configure --build=i686-pc-linux-gnu --host=arm-linux --with-qt-dir=/opt/Qtopia --with-frontend=qt
I\'ve got the QTDIR setup, I\'m getting the same thing with qt3...
Hehe.
That is the reason, why I am not trying to compile that crap.
-
thanks for the info for the \"rtti\" option.
kcheckers --] http://kde-apps.org/content/show.php?content=10003 (http://kde-apps.org/content/show.php?content=10003)
compiled/run file under qt3
-
no I haven\'t compiled with that option... so how do you enable rtti?
Edit the compiler configurations (configs/*) to _not_ pass -fno-rtti to the compiler.
for lyx I\'m getting this:
checking for moc... /opt/Qtopia//bin/moc
checking for uic... /opt/Qtopia//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
You have to patch the LyX configure.ac to add -lqte as a possible link source.
-
sorry Mickeyl, I found nothing in the configure.ac, I\'m a bit newbie in term of Makefile/configure...
[cedric@phoenix lyx-1.3.4]$ grep lqt *
acinclude.m4: for libname in -lqt3 -lqt2 -lqt -lqt-mt;
acinclude.m4: QTTHREADS_LIB="-lqthreads"
acinclude.m4: AC_CHECK_LIB(qt, qt_null, QTTHREADS_LIB="-lqt")
acinclude.m4: AC_CHECK_LIB(qt, qt_null, GUILE_LIBS="-lqt $GUILE_LIBS")
aclocal.m4: for libname in -lqt3 -lqt2 -lqt -lqt-mt;
aclocal.m4: QTTHREADS_LIB="-lqthreads"
aclocal.m4: AC_CHECK_LIB(qt, qt_null, QTTHREADS_LIB="-lqt")
aclocal.m4: AC_CHECK_LIB(qt, qt_null, GUILE_LIBS="-lqt $GUILE_LIBS")
configure: for libname in -lqt3 -lqt2 -lqt -lqt-mt;
-
Didn\'t remember it offhand. You found it though:
acinclude.m4: for libname in -lqt3 -lqt2 -lqt -lqt-mt;
append -lqte here.
If you don\'t want to regerenate the config with autoreconf then just change it in the ./configure
-
I\'ve changed it in the configure file and I\'m getting the same thing
-
It would help to inspect the offending portion in config.log. Without error messages it\'s a bit digging in the dark
-
have u got an email so I can send my config.log?
-
mickeyl@handhelds.org
although you could paste it here, because not the complete config.log is interesting, but just the few lines after where it says \"trying to compile a qt application\" and then it bails out with the error.
-
Given that there\'s a noticeable dearth of good syntax highlighting text editors out there (or at least, it seems to me), why not try compiling CUTE (a Scintilla based text editor), which needs QT3.3.
Here\'s the linkage:
http://cute.sourceforge.net/index.html (http://cute.sourceforge.net/index.html)
Yz
-
LyX:
I\'ve been able to pass the configure with the following (and hacking the configure file to set \"-lqte\"):
CC=arm-linux-gcc CXX=arm-linux-g++ ./configure --host=arm-linux --build=i686-pc-linux-gnu --with-qt-dir=/opt/Qtopia/sharp --with-frontend=qt --without-x
I\'m getting this during the make:
make[4]: Entering directory `/home/cedric/upload/lyx-1.3.4/boost/libs/regex/src\'
source=\'cregex.cpp\' object=\'cregex.lo\' libtool=yes
depfile=\'.deps/cregex.Plo\' tmpdepfile=\'.deps/cregex.TPlo\'
depmode=gcc /bin/sh ../../../../config/depcomp
/bin/sh ../../../../libtool --mode=compile arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -O -Wno-non-template-friend -ftemplate-depth-30 -c -o cregex.lo `test -f \'cregex.cpp\' || echo \'./\'`cregex.cpp
arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -O -Wno-non-template-friend -ftemplate-depth-30 -c cregex.cpp -Wp,-MD,.deps/cregex.TPlo
In file included from ../../../../boost/boost/limits.hpp:15,
from ../../../../boost/boost/regex/detail/regex_match.hpp:33,
from ../../../../boost/boost/regex.hpp:1576,
from cregex.cpp:27:
../../../../boost/boost/detail/limits.hpp:57: #error The file boost/detail/limits.hpp needs to be set up for your CPU type.
make[4]: *** [cregex.lo] Error 1
make[4]: Leaving directory `/home/cedric/upload/lyx-1.3.4/boost/libs/regex/src\'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cedric/upload/lyx-1.3.4/boost/libs/regex\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cedric/upload/lyx-1.3.4/boost/libs\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cedric/upload/lyx-1.3.4/boost\'
make: *** [all-recursive] Error 1
How should I configure the limits.hpp file?
-
I am having a problem getting KCommnader to run. I have installed both the ipk and the Qt lib. Can someone assist?
-
Bump. Still need assistance, please.
-
ced, I would recommend getting it to built against qte on x86 prior to doing it cross. Probably best to ask on the boost mailing list about that error.