Author Topic: Useful Qt programs for SL760?  (Read 18242 times)

LadyBug

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #30 on: April 22, 2004, 10:30:30 am »
Ced, could you provide an ipk (or pointer to the IPK) for the PTimeTracker?
C760, Symbol CF WiFi, Lexar 1GB SD, score of CFs
Currently running pdaXrom.

zautrix

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
    • http://www.pi-sync.net
Useful Qt programs for SL760?
« Reply #31 on: April 22, 2004, 10:52:46 pm »
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.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Useful Qt programs for SL760?
« Reply #32 on: April 23, 2004, 01:30:48 am »
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.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

zautrix

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
    • http://www.pi-sync.net
Useful Qt programs for SL760?
« Reply #33 on: April 23, 2004, 01:41:25 am »
Quote
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.
Quote
- 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:
 
Quote
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.

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #34 on: April 23, 2004, 03:12:57 am »
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?
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

zautrix

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
    • http://www.pi-sync.net
Useful Qt programs for SL760?
« Reply #35 on: April 23, 2004, 03:25:08 am »
Quote
zautrix --] Have you try to compile lyx?
no
Quote
... 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.

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #36 on: April 23, 2004, 03:36:44 am »
no I haven\'t compiled with that option... so how do you enable rtti?

here is my configure:
Code: [Select]
./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:
Code: [Select]
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:
Code: [Select]
../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...
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

zautrix

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
    • http://www.pi-sync.net
Useful Qt programs for SL760?
« Reply #37 on: April 23, 2004, 03:58:12 am »
Quote
no I haven\'t compiled with that option... so how do you enable rtti?

here is my configure:
Code: [Select]
./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

Quote
---
for lyx I\'m getting this:
Code: [Select]
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:
Code: [Select]
../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.

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #38 on: April 23, 2004, 05:18:02 am »
thanks for the info for the \"rtti\" option.

kcheckers --] http://kde-apps.org/content/show.php?content=10003

compiled/run file under qt3
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Useful Qt programs for SL760?
« Reply #39 on: April 23, 2004, 06:45:59 am »
Quote
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.

Quote
for lyx I\'m getting this:
Code: [Select]
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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #40 on: April 23, 2004, 07:26:51 am »
sorry Mickeyl, I found nothing in the configure.ac, I\'m a bit newbie in term of Makefile/configure...

Code: [Select]
[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;
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Useful Qt programs for SL760?
« Reply #41 on: April 23, 2004, 08:11:05 am »
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
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #42 on: April 23, 2004, 10:07:19 am »
I\'ve changed it in the configure file and I\'m getting the same thing
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Useful Qt programs for SL760?
« Reply #43 on: April 23, 2004, 11:13:23 am »
It would help to inspect the offending portion in config.log. Without error messages it\'s a bit digging in the dark
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Useful Qt programs for SL760?
« Reply #44 on: April 23, 2004, 11:36:22 am »
have u got an email so I can send my config.log?
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD