We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c690c7 + 1eea94e commit f1e40f2Copy full SHA for f1e40f2
gui/main.cpp
@@ -1,5 +1,14 @@
1
#include <QApplication>
2
#include <QGLFormat>
3
+
4
+#if defined(QT_STATIC)
5
+#include <QtPlugin>
6
+#if defined(_WIN32)
7
+Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
8
+Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin);
9
+#endif
10
11
12
#include "mainwindow.h"
13
14
int main(int argc, char *argv[])
plater/util.cpp
@@ -1,10 +1,13 @@
-#if defined(_WIN32) || defined(_WIN64)
#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)
0 commit comments