Commit 32f28d63 authored by Karel Slaný's avatar Karel Slaný

Possibly fixed a compilation issue when using XCode for iOS.

parent a95e3447
......@@ -95,7 +95,7 @@ SOURCES += \
src/datovka_shared/io/sqlite/db_single.cpp \
src/datovka_shared/io/sqlite/table.cpp \
src/datovka_shared/settings/pin.cpp \
src/datovka_shared/utility/string.cpp \
src/datovka_shared/utility/strings.cpp \
src/datovka_shared/worker/pool.cpp \
src/dialogues/dialogues.cpp \
src/dialogues/qml_dialogue_helper.cpp \
......@@ -158,7 +158,7 @@ HEADERS += \
src/datovka_shared/io/sqlite/db_single.h \
src/datovka_shared/io/sqlite/table.h \
src/datovka_shared/settings/pin.h \
src/datovka_shared/utility/string.h \
src/datovka_shared/utility/strings.h \
src/datovka_shared/worker/pool.h \
src/dialogues/dialogues.h \
src/dialogues/qml_dialogue_helper.h \
......
......@@ -23,7 +23,7 @@
#include <QtGlobal> /* qrand() */
#include "src/datovka_shared/utility/string.h"
#include "src/datovka_shared/utility/strings.h"
QString Utility::generateRandomString(int length)
{
......
......@@ -23,6 +23,12 @@
#pragma once
/*
* This header file cannot be named 'string.h'. Including <string.h> then
* causes problems when compiling with XCode for iOS. This is clearly a compiler
* issue.
*/
#include <QString>
namespace Utility {
......
......@@ -25,7 +25,7 @@
#include <QFileInfo>
#include "src/auxiliaries/attachment_helper.h"
#include "src/datovka_shared/utility/string.h"
#include "src/datovka_shared/utility/strings.h"
#include "src/dialogues/dialogues.h"
#include "src/models/accountmodel.h"
#include "src/models/databoxmodel.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment