52f859604d
These functions are supposed to make it easy for third parties (and QLineEdit) to implement the textAt/Before/AfterOffset functions. Before the functions were ignoring newlines completely and thus only somewhat useful. Change-Id: I7136b9502a7fa6f8ad9ad7236761a34c1a7fd4da Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
25 lines
635 B
Prolog
25 lines
635 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qaccessibility
|
|
requires(contains(QT_CONFIG,accessibility))
|
|
QT += testlib core-private gui-private widgets-private
|
|
SOURCES += tst_qaccessibility.cpp
|
|
HEADERS += accessiblewidgets.h
|
|
|
|
unix:!mac:LIBS+=-lm
|
|
|
|
wince*: {
|
|
accessneeded.files = $$QT_BUILD_TREE\\plugins\\accessible\\*.dll
|
|
accessneeded.path = accessible
|
|
DEPLOYMENT += accessneeded
|
|
}
|
|
|
|
win32 {
|
|
!*g++:!winrt {
|
|
include(../../../../src/3rdparty/iaccessible2/iaccessible2.pri)
|
|
DEFINES += QT_SUPPORTS_IACCESSIBLE2
|
|
}
|
|
LIBS += -luuid
|
|
!winphone: LIBS += -loleacc -loleaut32 -lole32
|
|
}
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|