FreeKill/src/pch.h
notify 79ede70b6b
Some checks failed
Check Whitespace and New Line / check (push) Has been cancelled
Deploy Sphinx documentation to Pages / pages (push) Has been cancelled
Shell enhance (#359)
- 修复了Log淹没正在输入命令的bug
- 增加Tab补全:命令补全、install链接推荐、用户名补全、拓展包名补全
- 为Windows端增加基于cstdio的getline函数的丐版shell
2024-07-01 00:28:03 +08:00

35 lines
598 B
C

// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef _PCH_H
#define _PCH_H
// core gui qml
#include <QtCore>
// network
#include <QTcpServer>
#include <QTcpSocket>
#include <QUdpSocket>
// other libraries
typedef int LuaFunction;
#include "lua.hpp"
#include "sqlite3.h"
#define OPENSSL_API_COMPAT 0x10101000L
#if !defined (Q_OS_ANDROID)
#define DESKTOP_BUILD
#endif
#if defined (Q_OS_LINUX) && !defined (Q_OS_ANDROID)
#define FK_USE_READLINE
#endif
// You may define FK_SERVER_ONLY with cmake .. -D...
#ifndef FK_SERVER_ONLY
#include <QApplication>
#include <QtQml>
#endif
#endif // _PCH_H