fix: build error under linux

This commit is contained in:
Roy Qu 2022-09-26 15:10:31 +08:00
parent ebf78dbecb
commit 70bf0c9eb7
4 changed files with 5 additions and 6 deletions

View File

@ -10,8 +10,8 @@
#include "project.h"
#include "parser/cppparser.h"
#include "compiler/executablerunner.h"
#ifdef Q_OS_WIN
#include <QMimeDatabase>
#ifdef Q_OS_WIN
#include <windows.h>
#endif

View File

@ -61,4 +61,3 @@ HEADERS += qsynedit/Search.h \
qsynedit/highlighter/glsl.h \
INCLUDEPATH += ../redpanda_qt_utils
LIBS += -lredpand_qt_utils

View File

@ -31,6 +31,7 @@
#include <QColor>
#include <QWindow>
#include <QScreen>
#include <QDirIterator>
#ifdef Q_OS_WIN
#include <QDirIterator>
#include <QMimeDatabase>

View File

@ -8,14 +8,13 @@ test -z $TMP_FOLDER | mkdir $TMP_FOLDER
cp -r packages/debian $TMP_FOLDER
cp -r astyle $TMP_FOLDER
cp -r redpanda-git-askpass $TMP_FOLDER
cp -r consolepauser $TMP_FOLDER
cp -r tools $TMP_FOLDER
cp -r libs $TMP_FOLDER
cp -r RedPandaIDE $TMP_FOLDER
cp README.md $TMP_FOLDER
cp LICENSE $TMP_FOLDER
cp NEWS.md $TMP_FOLDER
cp -r linux $TMP_FOLDER
cp -r platform/linux $TMP_FOLDER
cp Red_Panda_CPP.pro $TMP_FOLDER
cp -r linux $TMP_FOLDER