Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 1
Guests: 40

NinjaCyborg, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 21 22 23 (24) 25 26 27 ... 40 »
Re: Beta testing
Quite a regular
Quite a regular


See User information
Nobody commented on fontconfig things. That is, I get the same from all qt programs: "Fontconfig error: Cannot load default config file" and so initializing database never finishes and program never starts its functions.

Go to top
Re: Beta testing
Amigans Defender
Amigans Defender


See User information
Quote:

cha05e90 wrote:
But I *still* get complaints about:

ldwarninglibfreetype.soneeded by /qt/lib/libQtGui.sonot found (try using -rpath or -rpath-link)
ldwarninglibc.soneeded by /qt/lib/libQtGui.sonot found (try using -rpath or -rpath-link)

...despite the fact that they *are* there. Wrong version of libfreetype.so and libc.so or wrong combination of .a/.so-files, perhaps?


Just ignore these. The dynamic linker will find them at runtime.

Go to top
Re: Beta testing
Quite a regular
Quite a regular


See User information
@Chris, Alfkil

Ok, the line

"ld: warning: libfreetype.so, needed by /qt/lib/libQtGui.so, not found (try using -rpath or -rpath-link) "

is what's left for now...

Indeed my SDK install was somewhat borked, I did a fresh and new install and a whole bunch of problems are gone. Nevertheless libiconv.so and linintl.so are not part of the standard linking from the SDK, so I had to do them manually. Maybe this should be part of the Qt installation routine (check and link, if it's not present).


There's another culprit - but I assume this has nothing to do with Qt: While my Sam440ep (slooooow) and my X1000 (faaaast) compile stuff like Analogclock or Calculator, my Pegasos II does this only sometimes - ca. 30% of the gmakes fail with a GrimReaper in a "cc1plus" process... ?!?

X1000|II/G4|440ep|2000/060|2000/040|1000
Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
alfkil i tried to compile "tea" a text editor..
when it links i get this:


rvln.o: In function `rvln::load_userfonts()':
rvln.cpp:(.text+0x755e): undefined reference to `QFontDatabase::removeAllApplicationFonts()'
rvln.cpp:(.text+0x7566): undefined reference to `QFontDatabase::removeAllApplicationFonts()'

any idea what might be wrong? project specific or qt specific?

Go to top
Re: Beta testing
Quite a regular
Quite a regular


See User information
Hey, all you Qt specialists!

Is there any chance to tell Qt to use a borderless window?

@spotUP

Where and how did you set the StackCookie in Lifetime2? I couldn't find anything in the source code...

X1000|II/G4|440ep|2000/060|2000/040|1000
Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
@spot

Probably a missing function in my code. Sorry :)

@Cha

Check the qt:bin/assistant and the QWidget class for info in widget flags like borderless. There is one, but I cannot quite remember what it is called. And did you copy the two files I mentioned?

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
cha05e90: i didn't include my changed code in that project, as it only had one simple line changed and the archive was a bit messy. That's why you can't find it. You can find it in all my other qt ports though.

In case you just wondered how to do it, it's like this:

#ifdef __amigaos4__
static const char * __attribute__((used)) stackcookie = "$STACK: 2002936";
#endif

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
alfkil a function that will be added or should i work around it?

this is what i found on it:

bool QFontDatabase::removeAllApplicationFonts () [static]

Removes all application-local fonts previously added using addApplicationFont() and addApplicationFontFromData().

Returns true if unloading of the fonts succeeded; otherwise returns false.

This function was introduced in Qt 4.2.


Update: I commented that line and built it. It seems to work fine, but it had some small gfxglitches and generally it was a quite weird and ugly editor so i will not release it.

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
alfkil, may i suggest using Deja Vu Sans Size 12 as default in QT to make it look a lot more like the rest of the system and less clumsy?

Go to top
Re: Beta testing
Home away from home
Home away from home


See User information
Quote:
alfkil, may i suggest using Deja Vu Sans Size 12 as default in QT to make it look a lot more like the rest of the system and less clumsy?


Yeah fully agree on that

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
@Alfkil :

ClipGrab :
When I was porting ClipGrab I had to use the function
QDesktopServices::openUrl("file:") to open the directory where are located downloaded videos.

But it opens my browser with URL "file:////xxxx".
According to the documentation QDesktopServices have to open a browser when a URL is passed but have to open a OS window (workbench drawer) when URL = "file:".

"If the URL is a reference to a local file (i.e., the URL scheme is "file") then it will be opened with a suitable application instead of a Web browser."

Not a problem, I have replaced it with an external procedure and it works, just to signal to you ;)

Edyuk :
I have more or less finished to port Edyuk a Qt IDE (like QDevelop) but better. Now auto-completion works, it has an embedded help, templates creator and no crash at exit after usual fixes...

And it don't use a lot of CPU ;) (except at first startup when building caches and when indexing help for the first time)

But it creates a lot of "Unamed" windows. Do you still see that ?

http://zzd10h.amiga-ng.org/Qt/Edyuk_01.jpg
http://zzd10h.amiga-ng.org/Qt/Edyuk_02.jpg
http://zzd10h.amiga-ng.org/Qt/Edyuk_03.jpg

Thank you





Go to top
Re: Beta testing
Quite a regular
Quite a regular


See User information
@alfkil

Yes, I did include the files you mentioned. And, thanks, I found the "Qt::FramelessWindowHint" WindowFlag!

@spotUP

Thanks, that was the lines of code was looking for!

X1000|II/G4|440ep|2000/060|2000/040|1000
Go to top
Re: Beta testing
Quite a regular
Quite a regular


See User information
Hmm, should I publish this somehow?

Resized Image

...still has problems (especially Canvas refreshes) , but it is usable. Nevertheless I don't think it's ready for OS4Depot...

X1000|II/G4|440ep|2000/060|2000/040|1000
Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
Sad, it looks an useful tool. If you want, send me it and i will test it.

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
"Fixed the no crash on exit with the usual fixes"

How!?! I have a port of Elite here that crashes on exit, and i've spent the whole evening fixingthe sources so i really want to release it...

Go to top
Re: Beta testing
Home away from home
Home away from home


See User information
@spotUP

I just tried the version of mElite you upload on OS4Depot but here it crash at startup, then more or less it start

Quote:
Crash log for task "Player Process"
Generated by GrimReaper 53.5
Crash occured in module libpthread.so at address 0x6E68E9BC
Type of crash: ISI (Instruction Storage Interrupt) exception

Register dump:
GPR (General Purpose Registers):
0: 6E68E9BC 50EFAE90 00000000 00000000 00001111 0002F030 021AA7C0 021AA834
8: 00000001 00000000 00000001 80000017 44442042 00000000 FFFFFFFF 51D4EBA0
16: 02270000 7FD73DC0 02270000 5565BDC0 52F30000 52F30000 50EFAF08 52F30000
24: 50EFAEB8 00000000 52C3D000 5333C000 5365F2C0 50EFAEB8 50EFAF08 52F30000


FPR (Floating Point Registers, NaN = Not a Number):
0: nan 77 50 0
4: 0 221.8 24.8 51.2
8: 51.2 1 51.2 51.2
12: 256 4.5036e+15 0 -0
16: 0 0 0 0
20: 0 0 0 8.88967e+20
24: 0 0 2.65249e-315 -9.55139e+35
28: 0 1.35808e-312 8.6917e-311 -8.43375e-81

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


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x24442022
Instruction Pointer (ip) : 0x6E68E9BC
Xtended Exception (xer) : 0x20000000
Count (ctr) : 0x0181203C
Link (lr) : 0x6E68E9BC
DSI Status (dsisr) : 0x00000000
Data Address (dar) : 0x7FD697C0



680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x6E68E9BC belongs to module "libpthread.so" (PowerPC)
Symbol: pthread_mutexattr_setpshared + 0xBC in section 8 offset 0x00001790

Stack trace:
[source/linklib/lib.c:513] libpthread.so:pthread_mutexattr_setpshared()+0xbc (section 8 @ 0x1790)
[source/linklib/lib.c:27] libpthread.so:pthread_mutexattr_gettype()+0xe0 (section 8 @ 0x1D0C)
native kernel module dos.library.kmod+0x00022d9c
native kernel module kernel+0x0003bd20
native kernel module kernel+0x0003bda0


PPC disassembly:
6e68e9b4: 83c10008 lwz r30,8(r1)
6e68e9b8: 38210010 addi r1,r1,16
*6e68e9bc: 7c0803a6 mtlr r0
6e68e9c0: 4e800020 blr
6e68e9c4: 80010014 lwz r0,20(r1)

System information:

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

Machine
Machine name: Sam440EP
Memory: 1048576 KB
Extensions: bus.pci

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
you didn't start it from the included icon did ya?
it sets stack in the script.

Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
new version uploaded with stack cookie in the bin as well...

both the crack intro and the game uses minigl btw.

you do have hardware that is supported by minigl right?
does it crash on the crack intro or after?

try starting mElite.exe directly and see if it crashes.
Make sure you re-download the game so that you are using the latest version with the stack cookie in the game exe.

Go to top
Re: Beta testing
Quite a regular
Quite a regular


See User information
@zzd10h

Mail sent! (if your mailbox explodes, I'll might upload it somewhere else and provide a download link... ).

X1000|II/G4|440ep|2000/060|2000/040|1000
Go to top
Re: Beta testing
Just can't stay away
Just can't stay away


See User information
@Spotup :
For the crash at exit, for me, it's usually because of SysTray (AmiDock) use.
By removing the AmiDock icon BEFORE to exit the program is the solution who works for me.
But it's certainly not this problem for your mElite.

@Cha05e90 :
received, will try this evening...

Go to top

  Register To Post
« 1 ... 21 22 23 (24) 25 26 27 ... 40 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project