Hello All,

I successfully compiled the latest 'master' in Solaris. These are the
following changes, i had to make in the source code.

src/libs/utils/process_stub_unix.c
 ~ #include <unistd.h> // instead of #include <sys/ptrace.h>
~ replace PT_TRACE_ME with value 7
 ~ replace PT_DETACH with value 8
src/libs/utils/process_stub.pro
~ add 'LIBS += -lsocket' to unix {} context after SOURCES +=
process_stub_unix.c
src/plugins/debugger/outputcollector.cpp
~ add this following code inside '#else' of '#ifdef Q_OS_WIN'
#ifdef Q_OS_SOLARIS
 #include <sys/filio.h>
#endif
src/plugins/debugger/gdb/gdbegine.cpp
 ~ add  '|| defined(Q_OS_SOLARIS)' to '#if defined(Q_OS_LINUX) ||
defined(Q_OS_MAC)'

Qt-creator rocks in solaris. Till date i was only using regular text editor,
and suddenly i've got whole power of unmatched IDE :)

Trolltech devs,

    Please validate these changes and try incorporating them in qt-creator
source.

Regards,
Dinesh

On Tue, May 26, 2009 at 2:59 PM, Oswald Buddenhagen <
[email protected]> wrote:

> hi,
>
> On Mon, May 25, 2009 at 06:24:39PM -1000, Victor Sardina wrote:
> > When I tried compiling QtCreator, however, the compilation aborts with
> > an error message about the "sys/ptrace.h" include file not found (no
> > longer supported by SUN, I believe).
> >
> well ... though luck. the replacement for ptrace is something /proc
> based, though i have no idea how that works. contributions are most
> welcome. ;)
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to