disable ccache for jenkins (will be done with build script)

This commit is contained in:
Simon Stürz 2016-06-17 09:39:05 +02:00 committed by Michael Zanetti
parent 69a8d881d2
commit ac52bac1e4
3 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@
GUH_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"')
# define protocol versions
JSON_PROTOCOL_VERSION=41
JSON_PROTOCOL_VERSION=42
REST_API_VERSION=1
DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \
@ -13,7 +13,7 @@ QT+= network websockets
QMAKE_CXXFLAGS += -Werror -std=c++11 -g
QMAKE_LFLAGS += -std=c++11
QMAKE_CXX = ccache g++
#QMAKE_CXX = g++ ccache
top_srcdir=$$PWD
top_builddir=$$shadowed($$PWD)

View File

@ -45,6 +45,11 @@ coverage {
message("Building coverage.")
}
# Build using ccache
ccache {
message("Using ccache.")
}
# Build tests
disabletesting {
message("Building guh without tests")

View File

@ -140,8 +140,6 @@ void CloudConnection::onError(const QAbstractSocket::SocketError &error)
void CloudConnection::onTextMessageReceived(const QString &message)
{
//qCDebug(dcCloud()) << "Cloud message -> " << qUtf8Printable(message.toUtf8());
QJsonParseError error;
QJsonDocument jsonDoc = QJsonDocument::fromJson(message.toUtf8(), &error);
if (error.error != QJsonParseError::NoError) {