1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

fix armhf building

This commit is contained in:
AbelTian 2018-10-12 22:14:14 +08:00
parent ddce029895
commit 1df126f4e9
2 changed files with 8 additions and 4 deletions

View File

@ -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 )

View File

@ -1,4 +1,4 @@
#ifndef QQTWEBWORKCLIENT_H
#ifndef QQTWEBWORKCLIENT_H
#define QQTWEBWORKCLIENT_H
#include <QNetworkAccessManager>
@ -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,