[Qt-interest] embedded console applications

Thiago Macieira thiago at kde.org
Mon Mar 15 17:47:45 CET 2010


Em Segunda-feira 15 Março 2010, às 16:24:16, Bob Tennent escreveu:
> I need to embed an xterm-like console into a Qt window. I can use
> xterm -into ... with QX11EmbedContainer, but I haven't been able to
> figure out how to use other xterm-like console emulators such as konsole
> or gnome-terminal. They don't seem to have a -into ... option and
> I don't know how to get the winId after starting the process as a
> QProcess.

You have to ask the developers of those apps how it's done.

In particular, Konsole doesn't provide X11 embedding capabilities. Instead, it 
provides a KPart, which you can load into your application and run.

Your application must link to libkpart to be able to load kparts.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100315/9cbd4bff/attachment.bin 


More information about the Qt-interest-old mailing list