This commit is contained in:
Jared Van Bortel
2025-02-20 13:09:23 -05:00
parent 076799aaa8
commit bc0598565a
11 changed files with 22 additions and 16 deletions

View File

@@ -386,6 +386,7 @@ qt_add_translations(chat
)
set_target_properties(chat PROPERTIES
CXX_SCAN_FOR_MODULES ON
WIN32_EXECUTABLE TRUE
)
@@ -614,3 +615,7 @@ else()
cpack_ifw_add_repository("GPT4AllRepository" URL "https://gpt4all.io/installer_repos/mac/repository")
endif()
endif()
set_source_files_properties(
"chat_autogen/mocs_compilation.cpp"
PROPERTIES CXX_SCAN_FOR_MODULES ON
)

View File

@@ -11,7 +11,6 @@
#include "toolmodel.h"
#include "toolcallparser.h"
#include <fmt/format.h>
#include <minja/minja.hpp>
#include <nlohmann/json.hpp>
@@ -54,6 +53,8 @@
#include <utility>
#include <vector>
import fmt;
using namespace Qt::Literals::StringLiterals;
using namespace ToolEnums;
namespace ranges = std::ranges;

View File

@@ -7,8 +7,6 @@
#include "utils.h"
#include "xlsxtomd.h"
#include <fmt/format.h>
#include <QApplication>
#include <QAbstractListModel>
#include <QBuffer>
@@ -33,6 +31,8 @@
#include <utility>
#include <vector>
import fmt;
using namespace Qt::Literals::StringLiterals;
namespace ranges = std::ranges;
namespace views = std::views;

View File

@@ -4,7 +4,6 @@
#include "utils.h"
#include <duckx/duckx.hpp>
#include <fmt/format.h>
#include <usearch/index_plugins.hpp>
#include <QByteArrayView>
@@ -39,6 +38,8 @@
# include <fpdf_text.h>
#endif
import fmt;
using namespace Qt::Literals::StringLiterals;
namespace ranges = std::ranges;
namespace us = unum::usearch;

View File

@@ -2,8 +2,6 @@
#include "utils.h"
#include <fmt/format.h>
#include <QString>
#include <QUrl>
@@ -12,6 +10,8 @@
#include <ranges>
#include <vector>
import fmt;
namespace views = std::views;
using json = nlohmann::ordered_json;

View File

@@ -6,8 +6,6 @@
#include "mysettings.h"
#include "utils.h"
#include <fmt/format.h>
#include <QByteArray>
#include <QCborArray>
#include <QCborMap>
@@ -42,6 +40,8 @@
# include <QTcpServer>
#endif
import fmt;
using namespace std::string_literals;
using namespace Qt::Literals::StringLiterals;

View File

@@ -1,8 +1,5 @@
#pragma once
#include <fmt/base.h>
#include <fmt/format.h>
#include <QByteArray>
#include <QJsonValue>
#include <QLatin1StringView>
@@ -15,6 +12,8 @@
#include <string_view>
#include <utility>
import fmt;
class QJsonObject;