From 19a22fbfc42b06487ed2a0d204b85ec1760f11b6 Mon Sep 17 00:00:00 2001 From: clifford Date: Wed, 16 Dec 2009 08:41:35 +0000 Subject: James Vasile: Patch for building with qt4.4 Added note about qmake to README git-svn-id: http://svn.clifford.at/openscad/trunk@177 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/README b/README index 47ad2d4..396822f 100644 --- a/README +++ b/README @@ -62,6 +62,11 @@ may not work as well.. http://flex.sourceforge.net/ +BUILDING OPENSCAD +================ + +First, run qmake to generate a Makefile. Then run make. + DOCUMENTATION ============= diff --git a/mainwin.cc b/mainwin.cc index 9b342c9..0b84c07 100644 --- a/mainwin.cc +++ b/mainwin.cc @@ -648,7 +648,9 @@ void MainWindow::updateRecentFileActions() int originalNumRecentFiles = files.size(); // Remove any duplicate or empty entries from the list +#if (QT_VERSION >= QT_VERSION_CHECK(4, 5, 0)) files.removeDuplicates(); +#endif files.removeAll(QString()); // Now remove any entries which do not exist for(int i = files.size()-1; i >= 0; --i) { -- cgit v0.10.1