diff --git a/cpp/qt-qhull.cpp b/cpp/qt-qhull.cpp index 2e29948eade895064dfdbae17fb428bf5ce0b665..d50f2c537db54ea88e8631685d3a9afd3cd54eb3 100644 --- a/cpp/qt-qhull.cpp +++ b/cpp/qt-qhull.cpp @@ -8,6 +8,10 @@ #include <QList> +#ifndef QHULL_USES_QT +#define QHULL_USES_QT 1 +#endif + #include "Coordinates.h" #include "QhullFacetList.h" #include "QhullFacetSet.h" @@ -22,10 +26,6 @@ namespace orgQhull { #//Conversions -#ifndef QHULL_USES_QT -#error Compile with QHULL_USES_QT defined -#endif - QList<coordT> Coordinates:: toQList() const { diff --git a/cpp/road/RoadTest.h b/cpp/road/RoadTest.h index f44ef7d3f80742231bc726a046c1f5bfa7c787cc..dec711a859472f9d2b4f1a89104dea90078288ff 100644 --- a/cpp/road/RoadTest.h +++ b/cpp/road/RoadTest.h @@ -13,7 +13,9 @@ #include <QObject> // Qt C++ Framework #include <QtTest/QtTest> +#ifndef QHULL_USES_QT #define QHULL_USES_QT 1 +#endif namespace orgQhull { diff --git a/src/Changes.txt b/src/Changes.txt index aa27db443ba8f67a870df237bdaa05d8f4774769..0608d70ae46eb3dc111e3a2a8ccefad18acf88a6 100644 --- a/src/Changes.txt +++ b/src/Changes.txt @@ -21,6 +21,11 @@ To do - Create signed tags for Qhull versions - Add FIXUP for known problems and update wiki - Notes to compgeom on conformant triangulation and Voronoi volume + - How to set debug or release mode if not using QtCreator + +------------ +gitorious.org/qhull 2010/03/17 + - Define QHULL_USES_QT for qt-qhull.cpp [renangms] ------------ gitorious.org/qhull 2010/03/14