Author Topic: Native -- C++ / Qt  (Read 12966 times)

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #15 on: April 12, 2005, 03:37:12 pm »
oh, now I understand!  

I was wondering how a compiler + all the qt tools was the opposite of an sdk!
SLC-860 cacko / senao wifi

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Native -- C++ / Qt
« Reply #16 on: April 13, 2005, 03:20:26 pm »
me too, and I still don't get it... but I guess it's not an issue. :->

I'll install the mesa libs and give it another try. thanks!

Scott

newkirk

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://myzaur.us
Native -- C++ / Qt
« Reply #17 on: April 13, 2005, 03:25:37 pm »
OK, I'm in the middle of setting up the cramfs zgcc on my c860, kathrin.  After reading this thread and making a few changes, I can compile and build binaries.  But compiling a Qt app gives me:
Code: [Select]
make[1]: /usr/local/bin/moc: Command not foundSo where am I supposed to acquire moc?  I thought I had everything I needed already, including qt-headers and the cramfs image, but clearly I've missed something.

j
newkirk @ myzaur.us
pdaxrom @ newkirk.us
SL-5600, SL-C860
Socket & Ambicom WiFis
Billionton bluetooth
Lexar 256mb CF & SD

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #18 on: April 13, 2005, 03:43:10 pm »
what did you use?
if you use the native sdk from pdaxrom and the qtheader ipk, then you don't have moc.

If you use the image with qt and follow the readme (and my errata ie link the qt dir in /opt/native../qt to /opt/usr/local/qt. you should have moc in /usr/local/qt/bin/moc
SLC-860 cacko / senao wifi

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Native -- C++ / Qt
« Reply #19 on: April 16, 2005, 03:06:38 pm »
[DELETED]
« Last Edit: April 16, 2005, 03:16:54 pm by ScottYelich »

newkirk

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://myzaur.us
Native -- C++ / Qt
« Reply #20 on: April 17, 2005, 02:46:55 pm »
Quote
what did you use?
if you use the native sdk from pdaxrom and the qtheader ipk, then you don't have moc.

If you use the image with qt and follow the readme (and my errata ie link the qt dir in /opt/native../qt to /opt/usr/local/qt. you should have moc in /usr/local/qt/bin/moc
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Yes, I used native SDK cramfs, qt-headers installed. [a href=\"http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/]http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/[/url]

mount -oloop,ro /mnt/card/zgcc-3.3.2.img /opt/native/arm/3.3.2-xscale-softvfp
ln -s /opt/native/arm/3.3.2-xscale-softvfp /usr/local/qt

I'll try the other approach this evening, if I have a chance.

j
newkirk @ myzaur.us
pdaxrom @ newkirk.us
SL-5600, SL-C860
Socket & Ambicom WiFis
Billionton bluetooth
Lexar 256mb CF & SD

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #21 on: April 18, 2005, 01:37:14 am »
The link command should be something like:

ln -s /opt/native/arm/3.3.2-xscale-softvfp/qt /usr/local/qt

moc is in /opt/native/arm/3.3.2-xscale-softvfp/qt/bin and after linking
in /usr/local/qt/bin.

/usr/local/qt/bin should be then added to your path
SLC-860 cacko / senao wifi

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Native -- C++ / Qt
« Reply #22 on: April 19, 2005, 11:00:23 am »
ok, mounted... and added mesa3d.*.ipk
now I can compile locally -- and it actually works...
with qmake -project && qmake && make
(moc, etc).

[compiled gync]

The only thing is the qt gcc seems to seriously break normal
things like egrep -- etc... I get messages about missing
libpcre.*.so.*

where does one get libpcre?  I thought that was a python regular
expression?  why would egrep need that.  strange.

so, I mount, compile, and umount. :->  but it works.

Thanks again, PGAS!

Scott

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #23 on: April 19, 2005, 11:04:23 am »
install pcre

Laze: this should go in the faq or in the base install.
SLC-860 cacko / senao wifi

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Native -- C++ / Qt
« Reply #24 on: April 19, 2005, 01:21:04 pm »
heheh...
uh, ya, but I was remote at the time of annoyance 8^[]

Scott
« Last Edit: April 19, 2005, 01:21:25 pm by ScottYelich »

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Native -- C++ / Qt
« Reply #25 on: December 06, 2005, 01:21:49 pm »
Quote
Here:

http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/

You will find a squashfs image (cramfs may follow soon) containing the native sdk and a full qt install (with documentation assistant designer moc, ui etc...)
Is this offline, I couldn't access this site the whole day today. Can't find any mirrors on the web.

The current RC12 SDK doesn't contain moc and ui and is thus problematic.

Can I download this image somewhere else?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #26 on: December 06, 2005, 04:27:33 pm »
Hey, here you go:

http://rapidshare.de/files/8173700/zgcc-3.3.2.zip.html

Have fun.  Thanks to Laze and pgas for making this nice SDK happen.  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Native -- C++ / Qt
« Reply #27 on: December 16, 2005, 09:23:49 am »
Quote
ln -s /opt/native/arm/3.3.2-xscale-softvfp/qt /usr/local/qt
I seem to have some problems with the Qt from this package.

I'm trying to build KDE 3.5 now, when compiling arts, when I run ./configure

with QTDIR set to /usr/local/qt where the /opt/native/.../qt is linked to, I get the checking for Qt... Qt not found error

When I export QTDIR as /usr/lib/qt i.e. not the packages Qt, then I can run ./configure

What is the problem here?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

igorekk

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #28 on: February 18, 2006, 01:19:10 pm »
Where can i find 'moc'?
 I use zgcc-3.4.5 and install qt-header.ipk.
Code: [Select]
qmake -project
qmake gync.pro -spec /usr/lib/qt/mkspecs/default
make

and i have this error:
Code: [Select]
(cd /usr/lib/qt/bin/src/moc : no such file or directory
make *** [/usr/lib/qt/bin/moc] Error 1
c3200(1.1beta3) + IceWM
Zavrik.ru - Russian Zaurus Portal.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Native -- C++ / Qt
« Reply #29 on: February 18, 2006, 01:24:15 pm »
SLC-860 cacko / senao wifi