forked from pool/paraview
Atri Bhattacharya
186ceabd73
Disable 32-bit builds for now, until cgns issue there can be sorted out OBS-URL: https://build.opensuse.org/request/show/508465 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=51
24 lines
1.0 KiB
Diff
24 lines
1.0 KiB
Diff
Index: ParaView-v5.4.0/CMake/branded_paraview_main.cxx.in
|
|
===================================================================
|
|
--- ParaView-v5.4.0.orig/CMake/branded_paraview_main.cxx.in
|
|
+++ ParaView-v5.4.0/CMake/branded_paraview_main.cxx.in
|
|
@@ -73,15 +73,15 @@ static bool checkenv(const char* vname)
|
|
|
|
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") ||
|