Portage de code de Qt 1.0 à Qt 5.11

Qt 5.11 , - Qt 1.0… , :) , Qt .

Qt ( ). ( ) Qt. . Qt 1.0 1996 : 2.0, 3.0, 4.0 (, !) 5.0.

, . : , Qt 1.0 Qt 5.11?

, Qt 1.0 Qt 5. 1.41, , … . , , «t14» — 14- ( ) .

, .

: 10 files changed, 798 insertions(+)
: 1996- Qt.

qmake: 3 files changed, 2 insertions(+), 148 deletions(-)

image

qmake tmake. Perl. , tmake Perl, ( !) qmake. , tmake , make-. .

include-: 4 files changed, 8 insertions(+), 8 deletions(-)

image

, , Windows 8 . , , Unix , , — «» «qscrbar.h» «qbttngrp.h».

include-: 1 file changed, 3 insertions(+)
.

TRUE/FALSE true/false: 1 file changed, 13 insertions(+), 13 deletions(-)

image

. ! , !

, «Qt»: 3 files changed, 15 insertions(+), 15 deletions(-)

image

«Qt» 1998 … . , , .

«name»: 6 files changed, 26 insertions(+), 26 deletions(-)

image

QObject .

API QScrollBar : 1 file changed, 5 insertions(+), 5 deletions(-)

image

, API. — , , 7 .

QString const char*: 2 files changed, 2 insertions(+), 2 deletions(-)

image

QString Qt 1994 . 8- Latin1 const char*, - API const char*. Unicode Qt 2.0.

warning() qWarning(): 1 file changed, 1 insertion(+), 1 deletion(-)
- . , , «Q». .

QApplication: 1 file changed, 2 deletions(-)

image

Qt , . 1996 8 , 256 .

QAccel QShortcut: 1 file changed, 4 insertions(+), 3 deletions(-)

image

QShortcut — . — . QShortcut 2004 .

: 1 file changed, 7 insertions(+), 7 deletions(-)

image

90- , . , , . , , . , .

QObject::killTimers() : 2 files changed, 3 insertions(+), 2 deletions(-)

image

. , Qt. .

QWMatrix QMatrix: 1 file changed, 2 insertions(+), 2 deletions(-)
.

QWidget::setBackgroundColor() : 1 file changed, 3 insertions(+), 1 deletion(-)

image

— : QPalette . , - . Qt, .

pixmap : 1 file changed, 1 insertion(+), 1 deletion(-)

image

pixmap, Qt .

: 1 file changed, 1 insertion(+), 1 deletion(-)

image

, , . Qt 4.0 QPainter::drawRect() , « rectangle.size() + ». , ( 1) QPainter.

, :

image

… - . , - , , , 1996 . QLayout, Qt 1.0 ( Qt 1.1. Qt 2.0).

QLayout : 4 files changed, 29 insertions(+), 24 deletions(-)

image

, , , , , :

image

? ( ) 22- Qt 1.0 Qt 5.11. . , , , . API Qt . , , . , , Qt.

Source: https://habr.com/ru/post/fr392489/


All Articles