forked from pool/paraview
16d37c57c3
update to paraview 5.1.0 It claims to need CMake 3.5, but this ParaView also works with CMake 3.0, as they did not change that much. OBS-URL: https://build.opensuse.org/request/show/403965 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=40
22 lines
957 B
Diff
22 lines
957 B
Diff
--- ParaView-v5.1.0_old/CMake/branded_paraview_main.cxx.in 2016-06-18 11:39:09.000000000 -0400
|
|
+++ ParaView-v5.1.0/CMake/branded_paraview_main.cxx.in 2016-06-21 08:01:39.384393053 -0400
|
|
@@ -72,15 +72,15 @@
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
-#if defined(Q_WS_X11) || defined(Q_OS_LINUX)
|
|
+// #if defined(Q_WS_X11) || defined(Q_OS_LINUX)
|
|
// Using motif style gives us test failures (and its ugly).
|
|
// Using cleanlooks style gives us errors when using valgrind (Trolltech's bug #179200)
|
|
// let's just use plastique for now
|
|
|
|
// "plastique" is only available on Qt4, but this works just fine with Qt5 too. Qt5 just uses the
|
|
// default style when QStyleFactory::create("plastique") return nullptr.
|
|
- QApplication::setStyle(QStyleFactory::create("plastique"));
|
|
-#endif
|
|
+// QApplication::setStyle(QStyleFactory::create("plastique"));
|
|
+// #endif
|
|
|
|
// When playing tests, disable all effects.
|
|
if (checkenv("DART_TEST_FROM_DART") ||
|