qt5base-lts/examples/network/http/http.pro
Assam Boudjelthia 86f7d44089 Examples: request Android storage permissions when using QStandardPaths
http example uses QStandardPaths, on Android permissions might need to
be explicitly requested to write the downloaded file.

Task-number: QTBUG-80717
Change-Id: Icd377254ad77cac661c5ae37e9081e0463493d8b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2020-02-26 23:07:48 +02:00

15 lines
320 B
Prolog

QT += network widgets
android: qtHaveModule(androidextras) {
QT += androidextras
DEFINES += REQUEST_PERMISSIONS_ON_ANDROID
}
HEADERS += httpwindow.h
SOURCES += httpwindow.cpp \
main.cpp
FORMS += authenticationdialog.ui
# install
target.path = $$[QT_INSTALL_EXAMPLES]/network/http
INSTALLS += target