Skip to content

Commit

Permalink
Preserve quazip include correctly for Qt4
Browse files Browse the repository at this point in the history
  • Loading branch information
dh4 committed Jan 25, 2018
1 parent 8efb3db commit 7ae610c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@
#include <QLocale>
#include <QSize>

#if QT_VERSION >= 0x050000
#include <quazip5/quazip.h>
#include <quazip5/quazipfile.h>
#else
#include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#endif

#ifdef Q_OS_WIN
#include <QCoreApplication>
Expand Down
5 changes: 5 additions & 0 deletions src/emulation/emulatorhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@
#include <QMessageBox>
#include <QProcess>

#if QT_VERSION >= 0x050000
#include <quazip5/quazip.h>
#include <quazip5/quazipfile.h>
#else
#include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#endif


EmulatorHandler::EmulatorHandler(QWidget *parent) : QObject(parent)
Expand Down

0 comments on commit 7ae610c

Please sign in to comment.