Skip to content

Commit

Permalink
Merge pull request #9 from combolek/master
Browse files Browse the repository at this point in the history
Visual Studio 2017 porting changes
  • Loading branch information
Gregwar authored Dec 4, 2019
2 parents 8c690c7 + 1eea94e commit f1e40f2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 9 additions & 0 deletions gui/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#include <QApplication>
#include <QGLFormat>

#if defined(QT_STATIC)
#include <QtPlugin>
#if defined(_WIN32)
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin);
#endif
#endif

#include "mainwindow.h"

int main(int argc, char *argv[])
Expand Down
7 changes: 5 additions & 2 deletions plater/util.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#if defined(_WIN32) || defined(_WIN64)
#if defined(_WIN32)
#include <direct.h>
#else
#include <unistd.h>
#endif
#include <cctype>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <unistd.h>
#include <functional>
#include "util.h"

#if defined(_WIN32) || defined(_WIN64)
Expand Down

0 comments on commit f1e40f2

Please sign in to comment.