OK, first try with the QT SDK, and there are some issues.
The installer should add a path to the user startup else qmake can't be found. I added this to my user-startup to make qmake available.
Path Bob:QT-4.7/bin/ add
So after that, i continued and tried to build my first project, so i typed "qmake" in shell... qmake started working but after a few seconds i got this requester: Please insert volume Work: in any drive. Process: "qmake".
So it seems you have an hardcoded path in qmake?
I tried to assign work: to bob: (see path above) and then qmake failed with this message:
6.RAM Disk:speedcrunch-0.11-alpha/src> qmake findConfiguration() OOPS! qtconfig= "/qt/bin/qt.conf" Project ERROR: unsupported Qt major version found but 4 required
Seems wrong, as we have qt 4, right? something wrong in my qt.conf?
The last three projects i tried to compile gave me this error:
In file included from /SDK/newlib/include/sys/time.h:16, from /SDK/newlib/include/sys/resource.h:4, from /SDK/newlib/include/sys/reent.h:19, from /SDK/newlib/include/string.h:11, from /qt/include/QtCore/qbytearray.h:48, from /qt/include/QtCore/qstring.h:46, from /qt/include/QtCore/qobject.h:48, from /qt/include/QtCore/qcoreapplication.h:45, from /qt/include/QtGui/qapplication.h:45, from /qt/include/QtGui/QApplication:1, from main.cpp:1: /SDK/newlib/include/sys/select.h:80: error: expected ',' or '...' before 'protected'
in sys/select.h on line 80 we find: int waitselect _PARAMS ((int, fd_set *, fd_set *, fd_set *, struct timeval *, unsigned int *signals));
if i comment that line all compiles without problem, but, well, this is the wrong approach ofcourse. =)
the first bin i got (with the nasty comment in select.h crashed on start, so i deleted it and tried another one.. also this one with the comment in select.h, this one also crashes on start, i thought i'd paste some feedback here.
shell output:
6.RAM Disk:JSPong_Qt> JSPong_Qt findConfiguration() qtconfig= "./qt.conf" NATIVE PAINTING ***************** Loading AMiGA font (rawmode): ' DejaVu Sans Bold.font ' pointSize = 20 pixelSize = 20 No extra! create_sys: window: 0x66e2fba8 createDefaultWindowSurface_sys() Creating QAmigaWindowSurface for MainWindow(0x5e0c6b84) : 0x5e5f4590 AmigaWindowSurface::setGeometry( QRect(0,0 550x350) )
stacktrace:
Symbol info: Instruction pointer 0x7D11C890 belongs to module "libQtGui.so" (PowerPC) Symbol: _ZNK11QTextEngine7itemizeEv + 0x0 in section 10 offset 0x0064B890
The missing PATH is because you have choosen "update" in the installer. That way the s:startup-sequence is not updated, and since your last installed version was "user", there is a missing line there. This is of course a mistake, I will change it. Thanks for reporting!
The qt.conf problem is a little more strange, I will need to look into that.
The version problem you mention is probably due to me inserting a lot of stupid debug output. I think the script might expect to get the version from qmake and not getting it but just some random debug output instead. Should be fixed.
About the SDK clash: For some reason, the c++ compiler doesn't like the work "signals" in the header. Just change it to "_signals" (or smth similar) for now. The same problem might occur in exec and bsdsocket at some point.
About the crash you experience from JSPong: Can you try and track down which font is used? Have you tried both the native renderer and opengl (there might be a difference)?
I am an idiot with IRC. I have a client on my Ubuntu machine, but I don't know how to use it. Is there a keyword for connecting to a server? /CONNECT maybe...? No, doesn't seem to work...