QTermWidget

Qt Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

2
5.0
Description:

QT4 widget for terminal emulation. It is based on KDE4 Konsole code, which was rewritten entirely, and now it requires QT4 only (no KDE at all).

Package provides the widget library and a sample application.

The best way to get actual source code for QTermWidget is to use CVS (see project page). File releases can be seriously outdated.
Last changelog:

12 years ago

21.03.2009
Decided to change status from alpha to beta. The status will be changed to stable in a month or two, in case of absence of new serious bugreports.

20.09.2008
Added cmake support

01.08.2008
Some internal changes.
Version number updated - now it`s 0.1 (was 0.0.1)

16.07.2008
Added optional scrollbar

06.06.2008
Added color schemes.

26.05.2008
Created "stable" 0.0.1 file release.

11.05.2008
Initial CVS import. Version 0.0.1

xevi

12 years ago

Solaris have "utmpx" and not "utmp".

To correctly compile on solaris:

1) Modify the file lib/lib.pro and add:

DEFINES += HAVE_UTMPX HAVE_SYS_STROPTS_H

2) Modify the file lib/kpty.cpp at line 551:

gettimeofday(&(ut->ut_tv), 0);

then QTermWidged compiles and works correctly on Solaris.

Report

andyyeng

12 years ago

commpile ok on solaris,
but when run consoleq will show BUS error. main program can not run....
can you help to check ?

Report

xevi

12 years ago

This happens with gcc 3.4.3. I don't know if gcc 4.x can help. I compiled Qt 4.4.3 and QTermWidget with Sun Studio 12 and then all works correctly.

Report

andyyeng

12 years ago

i found on CharacterColor.h 248 line
maybe color style without support solaris .

how to disable color style function ?

CharacterColor.h 248 line

inline bool operator == (const CharacterColor& a, const CharacterColor& b)
{
return *reinterpret_cast<const quint32*>(&a._colorSpace) ==
*reinterpret_cast<const quint32*>(&b._colorSpace);
}

Report

C

un-defined

12 years ago

Solaris part of KPTY was taken as is from KDE code - maybe you should add some additional includes.. I have no solaris now and cannot check it immediatelly. I`ll try to do it a little bit later.

Report

riklaunim

12 years ago

Well, your widget have been choosen as an example in Qt->PyQt4 tutorial :)

http://www.rkblog.rk.edu.pl/w/p/making-pyqt4-widgets-sip/

The full code should be released soon.

Report

fonLancre

12 years ago

I was try to build project via QDevelop under MS Windows XP:

...
History.cpp:32:22: sys/mman.h: No such file or directory
History.cpp: In member function `void Konsole::HistoryFile::map()':
History.cpp:111: error: `PROT_READ' undeclared (first use this function)
History.cpp:111: error: (Each undeclared identifier is reported only once for each function it appears in.)
History.cpp:111: error: `MAP_PRIVATE' undeclared (first use this function)
History.cpp:111: error: `mmap' undeclared (first use this function)
History.cpp:114: error: `MAP_FAILED' undeclared (first use this function)
History.cpp: In member function `void Konsole::HistoryFile::unmap()':
History.cpp:124: error: `munmap' undeclared (first use this function)
mingw32-make.exe[1]: *** [../.objs/History.o] Error 1
C:\MinGW\bin\mingw32-make.exe: *** [release-all] Error 2

Report

C

un-defined

12 years ago

http://sourceforge.net/mailarchive/message.php?msg_id=451CFD5C.A2C0DCE%40bttr-software.de

For MinGW, you should perform some additional actions.
I`m not sure if it`s possible to compile and run qtermwidget from Win, and I cannot verify it myself. If you can do this, please inform me about the results.

Report

12 years ago

21.03.2009
Decided to change status from alpha to beta. The status will be changed to stable in a month or two, in case of absence of new serious bugreports.

20.09.2008
Added cmake support

01.08.2008
Some internal changes.
Version number updated - now it`s 0.1 (was 0.0.1)

16.07.2008
Added optional scrollbar

06.06.2008
Added color schemes.

26.05.2008
Created "stable" 0.0.1 file release.

11.05.2008
Initial CVS import. Version 0.0.1

12345678910
Be the first to comment
chriskon149
Sep 07 2012
MrEchoes
Jul 29 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Mar 20 2009
added Jun 07 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3
System Tags