qt5base-lts/tests/auto/other/other.pro
Eskil Abrahamsen Blomfeldt ce9c4915d5 Android: Don't open assets files in read/write mode
We would return true when opening assets in read/write mode despite
the fact that the files are not writable. The logic now matches
that of the qrc file engine.

This also adds a unit test for Android-specific issues.

[ChangeLog][Android][Important Behavior Changes] Opening assets with
QIODevice::ReadWrite now returns false to correctly indicate that the
files are not writable.

Change-Id: I019cc27861fc9b000dc13c5e0a38c0fc09a08671
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2015-01-28 12:20:54 +00:00

77 lines
1.5 KiB
Prolog

TEMPLATE=subdirs
SUBDIRS=\
# atwrapper \ # QTBUG-19452
baselineexample \
compiler \
gestures \
headersclean \
lancelot \
languagechange \
macgui \
macnativeevents \
macplist \
modeltest \
networkselftest \
qaccessibility \
qaccessibilitylinux \
qaccessibilitymac \
qcomplextext \
qfocusevent \
qnetworkaccessmanager_and_qprogressdialog \
qobjectperformance \
qobjectrace \
qsharedpointer_and_qwidget \
qprocess_and_guieventloop \
qtokenautomaton \
windowsmobile \
toolsupport \
!qtHaveModule(widgets): SUBDIRS -= \
baselineexample \
gestures \
headersclean \
lancelot \
languagechange \
modeltest \
qaccessibility \
qfocusevent \
qnetworkaccessmanager_and_qprogressdialog \
qsharedpointer_and_qwidget \
windowsmobile \
qaccessibility \
qaccessibilitylinux \
qaccessibilitymac \
!qtHaveModule(network): SUBDIRS -= \
baselineexample \
headersclean \
lancelot \
networkselftest \
qnetworkaccessmanager_and_qprogressdialog \
qobjectperformance
testcocoon: SUBDIRS -= headersclean
cross_compile: SUBDIRS -= \
atwrapper \
compiler
wince*|!contains(QT_CONFIG, accessibility): SUBDIRS -= qaccessibility
!contains(QT_CONFIG, accessibility-atspi-bridge): SUBDIRS -= qaccessibilitylinux
!mac: SUBDIRS -= \
macgui \
macnativeevents \
macplist \
qaccessibilitymac
!embedded|wince*: SUBDIRS -= \
qdirectpainter
winrt: SUBDIRS -= \
qprocess_and_guieventloop
android: SUBDIRS += \
android