Skip to content

Commit

Permalink
Minor changes to get view compiling on mac again
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellGarwood committed Feb 7, 2020
1 parent df936d6 commit 1352620
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion SPIERSview/SPIERSview.pro
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ win32 {
}

# Unix/Linux common build here
unix!macx {
unix:!macx {
#Libraries from VTK package (e.g. sudo apt-get install libvtk7-qt-dev).
INCLUDEPATH +=/usr/include/vtk-7.1/
LIBS += -L/usr/include/vtk-7.1/ \
Expand Down
12 changes: 6 additions & 6 deletions SPIERSview/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
#include "../SPIERScommon/src/netmodule.h"
#include "../SPIERScommon/src/darkstyletheme.h"

#ifndef __APPLE__

#ifdef _WIN64
#include <windows.h>
#endif

/**
* @brief logMessageOutput
* @param type
Expand Down Expand Up @@ -54,6 +48,12 @@ void logMessageOutput(QtMsgType type, const QMessageLogContext &context, const Q
break;
}

#ifndef __APPLE__

#ifdef _WIN64
#include <windows.h>
#endif

#ifdef QT_DEBUG
// Save to debug.log
QFile outFile("debug.log");
Expand Down

0 comments on commit 1352620

Please sign in to comment.