fix #includes

This commit is contained in:
Jared Van Bortel 2025-02-27 11:50:16 -05:00
parent d4e9a6177b
commit cc6f995795
6 changed files with 15 additions and 8 deletions

View File

@ -4,12 +4,13 @@
#include <QCoro/QCoroTask> // IWYU pragma: keep #include <QCoro/QCoroTask> // IWYU pragma: keep
#include <QJsonParseError> #include <QNetworkAccessManager>
#include <QNetworkReply> #include <QNetworkReply>
#include <QString> #include <QString>
#include <QUrl> #include <QUrl>
#include <cassert> #include <cassert>
#include <exception>
#include <expected> #include <expected>
#include <utility> #include <utility>
#include <variant> #include <variant>

View File

@ -4,11 +4,12 @@
# include <boost/describe/class.hpp> # include <boost/describe/class.hpp>
# include <boost/describe/enum.hpp> # include <boost/describe/enum.hpp>
#endif #endif
#include <boost/json.hpp> #include <boost/json.hpp> // IWYU pragma: keep
#include <QString> #include <QString>
#include <QtTypes> #include <QtTypes>
#include <optional>
#include <vector> #include <vector>

View File

@ -1,7 +1,8 @@
#include "json-helpers.h" #include "json-helpers.h"
#include <boost/json.hpp> #include <boost/json.hpp> // IWYU pragma: keep
#include <QByteArray>
#include <QString> #include <QString>
namespace json = boost::json; namespace json = boost::json;

View File

@ -1,14 +1,13 @@
#include "ollama-client.h" #include "ollama-client.h"
#include "json-helpers.h" #include "json-helpers.h" // IWYU pragma: keep
#include "qt-json-stream.h" #include "qt-json-stream.h"
#include <QCoro/QCoroIODevice> // IWYU pragma: keep #include <QCoro/QCoroIODevice> // IWYU pragma: keep
#include <QCoro/QCoroNetworkReply> // IWYU pragma: keep #include <QCoro/QCoroNetworkReply> // IWYU pragma: keep
#include <boost/json.hpp> #include <boost/json.hpp> // IWYU pragma: keep
#include <QByteArray> #include <QByteArray>
#include <QNetworkAccessManager>
#include <QNetworkRequest> #include <QNetworkRequest>
#include <coroutine> #include <coroutine>

View File

@ -1,5 +1,9 @@
#include "qt-json-stream.h" #include "qt-json-stream.h"
#include <QtPreprocessorSupport>
#include <cstddef>
namespace json = boost::json; namespace json = boost::json;

View File

@ -1,11 +1,12 @@
#pragma once #pragma once
#include <boost/json.hpp> #include <boost/json.hpp> // IWYU pragma: keep
#include <QIODevice> #include <QIODevice>
#include <QObject>
#include <QtTypes> #include <QtTypes>
class QObject;
namespace gpt4all::backend { namespace gpt4all::backend {