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.
cha05e90 wrote: But I *still* get complaints about:
ld: warning: libfreetype.so, needed by /qt/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
ld: warning: libc.so, needed by /qt/lib/libQtGui.so, not 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.
"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... ?!?
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?
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?
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:
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.
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 ?
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
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.
@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.