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

fix qDebug() can't print QSslError bug

This commit is contained in:
tianduanrui 2017-10-23 10:25:58 +08:00
parent 81df49c3fe
commit 354bfc44b3
4 changed files with 10 additions and 2 deletions

View File

@ -3,7 +3,7 @@ CONFIG += ordered
SUBDIRS = SUBDIRS =
SUBDIRS += src/qqt.pro SUBDIRS += src/qqt.pro
#SUBDIRS += examples/framelesshelperwidget SUBDIRS += examples/framelesshelperwidget
#SUBDIRS += examples/qqtframe #SUBDIRS += examples/qqtframe
#SUBDIRS += examples/qqtframe2 #SUBDIRS += examples/qqtframe2
#SUBDIRS += examples/animationframe #SUBDIRS += examples/animationframe

View File

@ -39,7 +39,7 @@ void QQtWebClient::proxyAuthenticationRequired(QNetworkProxy p, QAuthenticator*
void QQtWebClient::sslErrors(QNetworkReply* r, QList<QSslError> e) void QQtWebClient::sslErrors(QNetworkReply* r, QList<QSslError> e)
{ {
pline() << r << e; pline() << r << e.size();
} }
void QQtWebClient::networkAccessibleChanged(QNetworkAccessManager::NetworkAccessibility a) void QQtWebClient::networkAccessibleChanged(QNetworkAccessManager::NetworkAccessibility a)

View File

@ -18,6 +18,11 @@ message (build $${TARGET} $${QKIT_} library)
equals(QKIT_, macOS) { equals(QKIT_, macOS) {
CONFIG += dll CONFIG += dll
CONFIG += lib_bundle CONFIG += lib_bundle
} else:equals(QKIT_, iOS) {
#DEFINES -= QQT_LIBRARY
CONFIG -= dll
CONFIG -= lib_bundle
CONFIG += staticlib
} }
CONFIG += debug_and_release CONFIG += debug_and_release
CONFIG += build_all CONFIG += build_all

View File

@ -301,6 +301,9 @@ HEADERS += $$PWD/printsupport/qqtprinter.h
equals(QKIT_, Android) { equals(QKIT_, Android) {
SOURCES -= $$PWD/printsupport/qqtprinter.cpp SOURCES -= $$PWD/printsupport/qqtprinter.cpp
HEADERS -= $$PWD/printsupport/qqtprinter.h HEADERS -= $$PWD/printsupport/qqtprinter.h
} else equals(QKIT_, iOS) {
SOURCES -= $$PWD/printsupport/qqtprinter.cpp
HEADERS -= $$PWD/printsupport/qqtprinter.h
} }
#sql #sql