Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
41 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 41

more...

Headlines

 
  Register To Post  

First "homegrown" Qt app
Just can't stay away
Just can't stay away


See User information
So... While my Sam was being fixed in Italy, I did this little thing in Ubuntu called flasQ. It is a flash animation editor, and it is in the very early development stages. Also, the interface reacts somewhat slowish, this is because of Qt and might be fixed at some point. (it needs the very latest Qt version to function properly).

Don't get your hopes up too high, most of the featues are not implemented yet. But you can at least make small movies using circles, rounded boxes etc....

Go to top
Re: First "homegrown" Qt app
Just popping in
Just popping in


See User information
Umm, what is QT??

Go to top
Re: First "homegrown" Qt app
Just can't stay away
Just can't stay away


See User information
@Tajmaster

Take a look at os4depot

And by the way, it is Qt, capital Q and small letter t, and it is pronounced "cute"!

Go to top
Re: First "homegrown" Qt app
Amigans Defender
Amigans Defender


See User information
@TajMmster

It's a GUI toolkit. See numerous threads in this forum, or download at http://os4depot.net/?function=showfil ... lopment/cross/qt-user.lha and have a play.

Go to top
Re: First "homegrown" Qt app
Quite a regular
Quite a regular


See User information
QT = Quicktime

Qt = ...um I don't actually know... gui toolkit owned by Nokia/Microsoft.

Go to top
Re: First "homegrown" Qt app
Not too shy to talk
Not too shy to talk


See User information
With new Qt(0.8.4) all examples/demos start much faster. Its hard to notice progress bar (font init?). With previous version it took 5/7s.

FlasQ starts but then:

Crash log for task "flasQ"
Generated by GrimReaper 53.2
Crash occured in module libQtGui.so at address 0x6EAFD49C
Type of crash: DSI (Data Storage Interrupt) exception

Register dump:
GPR (General Purpose Registers):
0: 6EAFD49C 52890D50 00000000 0000001E 52893478 52F7FE70 0000001D 000000FF
8: 0000000F 52F7FE70 00000002 548D2C64 0041FF7D 55633420 00000000 00000000
16: 5965B000 6F9981D0 00000001 55664010 02270000 00340014 02270000 556BAD68
24: 00000001 5FFFE140 56788B60 00000000 02270000 02270000 549150F0 52890D50


FPR (Floating Point Registers, NaN = Not a Number):
0: nan 30 30 16
4: 30 -5.57154e+307 -5.57154e+307 -5.57154e+307
8: -5.57154e+307 -5.57154e+307 -5.57154e+307 0.5
12: 30 16 0 1.3583e-296
16: 0 0 0 0
20: 0 0 0 0
24: 0 2.65249e-315 0 0
28: 0 0 0 16

FPSCR (Floating Point Status and Control Register): 0x92020000


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x44442048
Instruction Pointer (ip) : 0x6EAFD49C
Xtended Exception (xer) : 0x00000001
Count (ctr) : 0x6EAFD49C
Link (lr) : 0x6EB018E4
DSI Status (dsisr) : 0x00800000
Data Address (dar) : 0x5288CC50



680x0 emulated registers:
DATA: 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 55B2D926 00000000 00000000 00000000 00000000 00000000 00000000 5289E4F0
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x6EAFD49C belongs to module "libQtGui.so" (PowerPC)
Symbol: _Z17blend_src_genericIL10SpanMethod0EEviPK11QT_FT_Span_Pv + 0x0 in section 10 offset 0x0054949C

Stack trace:
libQtGui.so:_Z17blend_src_genericIL10SpanMethod0EEviPK11QT_FT_Span_Pv()+0x0 (section 10 @ 0x54949c)
libQtGui.so:_Z13qBlendTextureiPK11QT_FT_Span_Pv()+0x98 (section 10 @ 0x53e39c)
libQtGui.so:_Z21qt_span_fill_clipRectiPK11QT_FT_Span_Pv()+0x160 (section 10 @ 0x5083d4)
libQtGui.so:_ZN11QSpanBuffer10flushSpansEv()+0x48 (section 10 @ 0x49a03c)
libQtGui.so:_ZN11QSpanBufferD1Ev()+0x3C (section 10 @ 0x49a0a0)
libQtGui.so:_ZN11QRasterizer13rasterizeLineERK7QPointFS2_db()+0x42A4 (section 10 @ 0x496cd0)
libQtGui.so:_ZN18QRasterPaintEngine9drawImageERK6QRectFRK6QImageS2_6QFlagsIN2Qt19ImageConversionFlagEE()+0x1970 (section 10 @ 0x521fb0)
libQtGui.so:_ZN8QPainter9drawImageERK6QRectFRK6QImageS2_6QFlagsIN2Qt19ImageConversionFlagEE()+0x704 (section 10 @ 0x3f2154)
libQtGui.so:_ZN8QPainter9drawImageERK5QRectRK6QImage()+0x130 (section 10 @ 0x27ef74)
libQtGui.so:_ZNK15QPlastiqueStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x13FA0 (section 10 @ 0x902a18)
libQtGui.so:_ZNK12QCommonStyle18drawComplexControlEN6QStyle14ComplexControlEPK19QStyleOptionComplexP8QPainterPK7QWidget()+0x9A4 (section 10 @ 0x8418e8)
libQtGui.so:_ZNK13QWindowsStyle18drawComplexControlEN6QStyle14ComplexControlEPK19QStyleOptionComplexP8QPainterPK7QWidget()+0x1D90 (section 10 @ 0x96a29c)
libQtGui.so:_ZNK15QPlastiqueStyle18drawComplexControlEN6QStyle14ComplexControlEPK19QStyleOptionComplexP8QPainterPK7QWidget()+0x136C8 (section 10 @ 0x91af00)
libQtGui.so:_ZN10QScrollBar10paintEventEP11QPaintEvent()+0x2DC (section 10 @ 0xb89d88)
libQtGui.so:_ZN7QWidget5eventEP6QEvent()+0xF34 (section 10 @ 0x1497d0)
libQtGui.so:_ZN15QAbstractSlider5eventEP6QEvent()+0x48 (section 10 @ 0x9aa15c)
libQtGui.so:_ZN10QScrollBar5eventEP6QEvent()+0x1DC (section 10 @ 0xb8bb00)
libQtGui.so:_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent()+0x248 (section 10 @ 0x1d630)
libQtGui.so:_ZN12QApplication6notifyEP7QObjectP6QEvent()+0x4184 (section 10 @ 0x21808)
libQtCore.so:_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent()+0x1E0 (section 10 @ 0x2fc0b0)
libQtGui.so:_ZN16QCoreApplication20sendSpontaneousEventEP7QObjectP6QEvent()+0x80 (section 10 @ 0x49dc8)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0xE58 (section 10 @ 0x1431bc)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x144300)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16D4 (section 10 @ 0x143a38)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x144300)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16D4 (section 10 @ 0x143a38)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x144300)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16D4 (section 10 @ 0x143a38)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x144300)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16D4 (section 10 @ 0x143a38)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x144300)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x564 (section 10 @ 0x1440cc)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16D4 (section 10 @ 0x143a38)
libQtGui.so:_ZN19QWidgetBackingStore4syncEv()+0x167C (section 10 @ 0x5abab0)
libQtGui.so:_ZN14QWidgetPrivate16syncBackingStoreEv()+0x240 (section 10 @ 0x12ca6c)
libQtGui.so:_ZN14QWidgetPrivate8show_sysEv()+0x120 (section 10 @ 0x1ae990)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x5E4 (section 10 @ 0x152010)
libQtGui.so:_ZN14QWidgetPrivate14show_recursiveEv()+0x1D4 (section 10 @ 0x151548)
libQtGui.so:_ZN14QWidgetPrivate12showChildrenEb()+0x33C (section 10 @ 0x1518a4)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x178 (section 10 @ 0x151ba4)
libQtGui.so:_ZN7QWidget10setVisibleEb()+0x900 (section 10 @ 0x152c58)
libQtGui.so:_ZN7QWidget4showEv()+0x38 (section 10 @ 0x1a942c)
libQtGui.so:_ZN14QWidgetPrivate12showChildrenEb()+0x358 (section 10 @ 0x1518c0)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x178 (section 10 @ 0x151ba4)
libQtGui.so:_ZN7QWidget10setVisibleEb()+0x900 (section 10 @ 0x152c58)
libQtGui.so:_ZN7QWidget4showEv()+0x38 (section 10 @ 0x1a942c)
libQtGui.so:_ZN7QWidget13showMaximizedEv()+0x16C (section 10 @ 0x11ec60)
flasQ:_ZN6fl_AppC1Ev()+0x464 (section 8 @ 0x5afbc)
flasQ:main()+0x2C0 (section 8 @ 0x628f0)
native kernel module newlib.library.kmod+0x00002054
native kernel module newlib.library.kmod+0x00002ca0
native kernel module newlib.library.kmod+0x00002e64
flasQ:_start()+0x170 (section 8 @ 0x170)
native kernel module dos.library.kmod+0x00022a0c
native kernel module kernel+0x0003af48
native kernel module kernel+0x0003afc8


PPC disassembly:
6eafd494: 4e800020 blr
6eafd498: e5e17c38 .word 0xE5E17C38
*6eafd49c: 9421bf00 stwu r1,-16640(r1)
6eafd4a0: 7c0802a6 mflr r0
6eafd4a4: 93c140f8 stw r30,16632(r1)

System information:

CPU
Model: AMCC PPC440EP V1.3
CPU speed: 799 MHz
FSB speed: 133 MHz
Extensions:





Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: First "homegrown" Qt app
Just can't stay away
Just can't stay away


See User information
@mr2

I forgot to increase the stack size for the icon. Please set stack to 2.000.000 and try again!

Go to top
Re: First "homegrown" Qt app
Not too shy to talk
Not too shy to talk


See User information
Crash again...

Before first run had to install libming.so.

Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: First "homegrown" Qt app
Not too shy to talk
Not too shy to talk


See User information
Found it?

I've changed start from Shell to start from Workbench and it works...

Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: First "homegrown" Qt app
Just popping in
Just popping in


See User information
Ahhh! Now I get it! lol, thank you

Taj

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project