diff --git a/src/network/qqtwebaccessmanager.cpp b/src/network/qqtwebaccessmanager.cpp index 4f3f1c99..f9abbc71 100644 --- a/src/network/qqtwebaccessmanager.cpp +++ b/src/network/qqtwebaccessmanager.cpp @@ -1,4 +1,4 @@ -#include "qqtwebaccessmanager.h" +#include "qqtwebaccessmanager.h" #include "qqtcore.h" @@ -418,7 +418,7 @@ QQtWebAccessSession* QQtWebAccessManager::sendCustomRequest ( const QNetworkRequ return session; } -#ifndef Q_OS_WIN +#if !defined( Q_OS_WIN ) && !defined( __EMBEDDED_LINUX__ ) QQtWebAccessSession* QQtWebAccessManager::sendCustomRequest ( const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data ) diff --git a/src/network/qqtwebaccessmanager.h b/src/network/qqtwebaccessmanager.h index a663ce80..e9c907a0 100644 --- a/src/network/qqtwebaccessmanager.h +++ b/src/network/qqtwebaccessmanager.h @@ -1,4 +1,4 @@ -#ifndef QQTWEBWORKCLIENT_H +#ifndef QQTWEBWORKCLIENT_H #define QQTWEBWORKCLIENT_H #include @@ -241,7 +241,11 @@ public: QQtWebAccessSession* sendCustomRequest ( const QNetworkRequest& request, const QByteArray& verb, QIODevice* data = Q_NULLPTR ); -#ifndef Q_OS_WIN + //win没有这几个函数 + //arm下5.5.1没有 + + //linux macOS下有. +#if !defined( Q_OS_WIN ) && !defined( __EMBEDDED_LINUX__ ) QQtWebAccessSession* sendCustomRequest ( const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data ); QQtWebAccessSession* sendCustomRequest ( const QNetworkRequest& request, const QByteArray& verb,