diff --git a/crlcore/src/cyclop/CyclopMain.cpp b/crlcore/src/cyclop/CyclopMain.cpp index 256173e0..2e8f3890 100644 --- a/crlcore/src/cyclop/CyclopMain.cpp +++ b/crlcore/src/cyclop/CyclopMain.cpp @@ -31,6 +31,9 @@ using namespace std; namespace poptions = boost::program_options; #include +#if (QT_VERSION >= QT_VERSION_CHECK(4,5,0)) and not defined (__APPLE__) +# include +#endif #include "hurricane/DataBase.h" #include "hurricane/Technology.h" @@ -186,6 +189,9 @@ int main ( int argc, char *argv[] ) if ( not textMode ) { auto_ptr qa ( new HApplication(argc,argv) ); +#if (QT_VERSION >= QT_VERSION_CHECK(4,5,0)) and not defined (__APPLE__) + qa->setStyle ( new QGtkStyle() ); +#endif Graphics::enable (); // Layer* layer = DataBase::getDB()->getTechnology()->getLayer("poly");