From 551a0951768ad7758c38d33284c1096c2877e6e8 Mon Sep 17 00:00:00 2001 From: jriegel Date: Wed, 13 Aug 2014 21:05:13 +0200 Subject: [PATCH] comenting out use of Qt internal API only on Windows --- src/Gui/MainWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 75c212fb7..baf6934ff 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -115,8 +115,8 @@ #if defined(Q_OS_WIN32) #define slots -#include -#include +//#include +//#include #endif using namespace Gui; @@ -412,7 +412,7 @@ MainWindow::MainWindow(QWidget * parent, Qt::WFlags f) (QString::fromAscii(QT_TRANSLATE_NOOP("QDockWidget","Python console"))); pDockMgr->registerDockWindow("Std_PythonView", pcPython); -#if defined(Q_OS_WIN32) +#if 0 //defined(Q_OS_WIN32) this porsion of code is not able to run with a vanilla Qtlib build on Windows. Since it is not build on Linux I pressume its not needed.... (JR 8.2014) // add our own QTabBar-derived class to the main window layout // NOTE: This uses some private stuff from QMainWindow which doesn't // seem to be accessible on all platforms.