diff --git a/README.txt b/README.txt
index 42eba2ffbe928e9c618cdbfeff3f69d5646f6dff..ed2905cc8d8bb66650967407b751672d9af57135 100644
--- a/README.txt
+++ b/README.txt
@@ -231,6 +231,14 @@ build systems.
         - set the library file (use the same for debug and release)
         - build the project
 
+    - create a "Win32 static library" called "libqhullp"
+        - move these files from "qhull source"
+            geom.c geom2.c global.c io.c mem.c merge.c poly.c poly2.c libqhull.c
+                qset.c random.c rboxlib.c stat.c user.c usermem.c userprintf.c
+        - define qh_QHpointer=1
+        - set the library file (use the same for debug and release)
+        - build the project
+
     - create a "Win32 console application" called "qhull"
         - Move unix.c from "qhull source"
         - Add the library file created by "libqhull"
@@ -239,21 +247,30 @@ build systems.
     - create a "Win32 console application" called "qconvex"
         - Move qconvex.c from "qhull source"
         - Copy the library file from "libqhull"
+        - build the project
 
     - do the same for qdelaun.c, qhalf, qvoronoi.c, user_eg.c, user_eg2.c
 
     - create a "Win32 dynamic library" called "libqhullcpp"
         - Move cpp sources in cpp/*.cpp from "qhull source"
           Do not move cpp/qhulltest, road/RoadTest.cpp, or user_eg3.cpp
+        - define qh_QHpointer=1
+        - Add the library file created by "libqhullp"
+        - build the project
     
     - create a "Win32 console application" called "user_eg3"
         - Move user_eg3 from "qhull source"
+        - define qh_QHpointer=1
         - Add the library file created by "libqhullcpp"
+        - build the project
 
     - create a "Win32 console application" called "qhulltest"
         - Install Qt for DevStudio (http://qt.nokia.com/downloads)
         - Add everything in cpp/qhulltest
         - Add road/RoadTest.cpp
+        - define qh_QHpointer=1
+        - Add the library file created by "libqhullcpp"
+        - build the project
 
     - use Project:Settings to make any changes
     - use batch build to rebuild everything
diff --git a/cpp/Coordinates.h b/cpp/Coordinates.h
index 1edb7064994d4b74022c7373f4032cf875a01126..8414ad2fe6377f215adfd696c8beacdc553bacd4 100644
--- a/cpp/Coordinates.h
+++ b/cpp/Coordinates.h
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/Coordinates.h#33 $$Change: 1167 $
-** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/Coordinates.h#34 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -180,7 +180,7 @@ public:
         bool            operator>(const Coordinates::const_iterator &other) const { return *this>reinterpret_cast<const iterator &>(other); }
         bool            operator>=(const Coordinates::const_iterator &other) const { return *this>=reinterpret_cast<const iterator &>(other); }
 
-        iterator        operator++() { return iterator(++i); } //FIXUP QH10000 Should return reference, but get reference to temporary
+        iterator        operator++() { return iterator(++i); } //FIXUP QH10012 Should return reference, but get reference to temporary
         iterator        operator++(int) { return iterator(i++); }
         iterator        operator--() { return iterator(--i); }
         iterator        operator--(int) { return iterator(i--); }
diff --git a/cpp/QhullFacetList.cpp b/cpp/QhullFacetList.cpp
index 8a074bcbbd79cd5776c530f5fe94d7187d74a4e1..dce1efbc8f77dd151955b5784e0de520dafff620 100644
--- a/cpp/QhullFacetList.cpp
+++ b/cpp/QhullFacetList.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/QhullFacetList.cpp#23 $$Change: 1171 $
-** $DateTime: 2010/01/09 10:11:25 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/QhullFacetList.cpp#24 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -24,6 +24,41 @@ using std::vector;
 
 namespace orgQhull {
 
+#//Conversion
+
+// See qt_qhull.cpp for QList conversions
+
+#ifndef QHULL_NO_STL
+std::vector<QhullFacet> QhullFacetList::
+toStdVector() const
+{
+    QhullLinkedListIterator<QhullFacet> i(*this);
+    std::vector<QhullFacet> vs;
+    while(i.hasNext()){
+        QhullFacet f= i.next();
+        if(isSelectAll() || f.isGood()){
+            vs.push_back(f);
+        }
+    }
+    return vs;
+}//toStdVector
+#endif //QHULL_NO_STL
+
+#ifndef QHULL_NO_STL
+//! Same as PrintVertices
+std::vector<QhullVertex> QhullFacetList::
+vertices_toStdVector(int qhRunId) const
+{
+    std::vector<QhullVertex> vs;
+    QhullVertexSet qvs(qhRunId, first().getFacetT(), NULL, isSelectAll());
+
+    for(QhullVertexSet::iterator i=qvs.begin(); i!=qvs.end(); ++i){
+        vs.push_back(*i);
+    }
+    return vs;
+}//vertices_toStdVector
+#endif //QHULL_NO_STL
+
 #//Read-only
 
 bool QhullFacetList::
diff --git a/cpp/QhullFacetSet.cpp b/cpp/QhullFacetSet.cpp
index 34b71b506b973abf4ee35fd7367840662d43c2e1..1bb320e6fc7543be13ce4a5fd0633e2aab86964b 100644
--- a/cpp/QhullFacetSet.cpp
+++ b/cpp/QhullFacetSet.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/QhullFacetSet.cpp#19 $$Change: 1139 $
-** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/QhullFacetSet.cpp#20 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -24,6 +24,26 @@ using std::vector;
 
 namespace orgQhull {
 
+#//Conversion
+
+// See qt-qhull.cpp for QList conversions
+
+#ifndef QHULL_NO_STL
+std::vector<QhullFacet> QhullFacetSet::
+toStdVector() const
+{
+    QhullSetIterator<QhullFacet> i(*this);
+    std::vector<QhullFacet> vs;
+    while(i.hasNext()){
+        QhullFacet f= i.next();
+        if(isSelectAll() || f.isGood()){
+            vs.push_back(f);
+        }
+    }
+    return vs;
+}//toStdVector
+#endif //QHULL_NO_STL
+
 #//Read-only
 
 bool QhullFacetSet::
diff --git a/cpp/QhullHyperplane.cpp b/cpp/QhullHyperplane.cpp
index 406d96b3951d1b74a61c08ac1a8d3732940daf3c..f3af99c2951e1b0c59940db524b24d8d602c20ff 100644
--- a/cpp/QhullHyperplane.cpp
+++ b/cpp/QhullHyperplane.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/QhullHyperplane.cpp#10 $$Change: 1167 $
-** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/QhullHyperplane.cpp#11 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -11,11 +11,30 @@
 
 #include <iostream>
 
+
 #ifdef _MSC_VER  // Microsoft Visual C++ -- warning level 4
 #endif
 
 namespace orgQhull {
 
+#//Conversion
+
+// See qt-qhull.cpp for QList conversions
+
+#ifndef QHULL_NO_STL
+std::vector<coordT> QhullHyperplane::
+toStdVector() const
+{
+    QhullHyperplaneIterator i(*this);
+    std::vector<coordT> fs;
+    while(i.hasNext()){
+        fs.push_back(i.next());
+    }
+    fs.push_back(hyperplane_offset);
+    return fs;
+}//toStdVector
+#endif //QHULL_NO_STL
+
 #//Value
 
 //! Return distance from point to hyperplane.
diff --git a/cpp/QhullPoint.cpp b/cpp/QhullPoint.cpp
index 1e6e257a1d263c8f1657f92cd604613fadf130e4..88802a4e30000c85ee1399f442efe1bd3ed03882 100644
--- a/cpp/QhullPoint.cpp
+++ b/cpp/QhullPoint.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/QhullPoint.cpp#27 $$Change: 1167 $
-** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/QhullPoint.cpp#28 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -42,6 +42,23 @@ id(int qhRunId, int dimension, const coordT *c)
     return (int)i; // WARN64
 }//id
 
+#//Conversion
+
+// See qt-qhull.cpp for QList conversion
+
+#ifndef QHULL_NO_STL
+std::vector<coordT> QhullPoint::
+toStdVector() const
+{
+    QhullPointIterator i(*this);
+    std::vector<coordT> vs;
+    while(i.hasNext()){
+        vs.push_back(i.next());
+    }
+    return vs;
+}//toStdVector
+#endif //QHULL_NO_STL
+
 #//Operator
 
 bool QhullPoint::
diff --git a/cpp/QhullPointSet.cpp b/cpp/QhullPointSet.cpp
index 212a11dd959acf6ae39152365f287e1bf8ee4204..52ceca774fe6df44f4f6e378a4b72b4e15e70d6c 100644
--- a/cpp/QhullPointSet.cpp
+++ b/cpp/QhullPointSet.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/QhullPointSet.cpp#10 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/QhullPointSet.cpp#11 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -16,6 +16,23 @@
 
 namespace orgQhull {
 
+#// Conversion
+
+// See qt-qhull.cpp for QList conversion
+
+#ifndef QHULL_NO_STL
+std::vector<QhullPoint> QhullPointSet::
+toStdVector() const
+{
+    QhullPointSetIterator i(*this);
+    std::vector<QhullPoint> vs;
+    while(i.hasNext()){
+        vs.push_back(i.next());
+    }
+    return vs;
+}//toStdVector
+#endif //QHULL_NO_STL
+
 #//Element-access
 //! Derived from QhullSet::value
 QhullPoint QhullPointSet::
diff --git a/cpp/QhullPoints.cpp b/cpp/QhullPoints.cpp
index 5695d6990e465e9a5484274da5a80067b0f0e250..3d715343499003e5a3768c31ca76ce97f7043266 100644
--- a/cpp/QhullPoints.cpp
+++ b/cpp/QhullPoints.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/QhullPoints.cpp#20 $$Change: 1150 $
-** $DateTime: 2010/01/04 22:43:14 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/QhullPoints.cpp#21 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -16,6 +16,22 @@
 
 namespace orgQhull {
 
+#//Conversion
+// See qt-qhull.cpp for QList conversion
+
+#ifndef QHULL_NO_STL
+std::vector<QhullPoint> QhullPoints::
+toStdVector() const
+{
+    QhullPointsIterator i(*this);
+    std::vector<QhullPoint> vs;
+    while(i.hasNext()){
+        vs.push_back(i.next());
+    }
+    return vs;
+}//toStdVector
+#endif //QHULL_NO_STL
+
 #//Read-only
 
 bool QhullPoints::
diff --git a/cpp/qhulltest/Coordinates_test.cpp b/cpp/qhulltest/Coordinates_test.cpp
index 1d9e427c1d16958e91bec2d833148d719ff5fd67..54b58c692b5a54e551ff5dfc3689107533c3d107 100644
--- a/cpp/qhulltest/Coordinates_test.cpp
+++ b/cpp/qhulltest/Coordinates_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/Coordinates_test.cpp#17 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/Coordinates_test.cpp#18 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -97,7 +97,7 @@ t_convert()
         QCOMPARE(qc[k], c[k]);
     }
     Coordinates c4;
-    c4= std::vector<double>(2, 0.0); //FIXUP move to Coordinates_test
+    c4= std::vector<double>(2, 0.0);
     QCOMPARE(c4.back(), 0.0);
     Coordinates c5(std::vector<double>(2, 0.0));
     QCOMPARE(c4.size(), c5.size());
@@ -529,24 +529,6 @@ t_io()
     QCOMPARE(s.count("2"), 2);
 }//t_io
 
-#//Conversions
-
-//FIXUP -- Move conditional, Coordinates code to Coordinates.cpp
-
-#ifdef QHULL_USES_QT
-QList<coordT> Coordinates::
-toQList() const
-{
-    CoordinatesIterator i(*this);
-    QList<coordT> cs;
-    while(i.hasNext()){
-        cs.append(i.next());
-    }
-    return cs;
-}//toQList
-#endif //QHULL_USES_QT
-
-
 }//orgQhull
 
 #include "moc/Coordinates_test.moc"
diff --git a/cpp/qhulltest/PointCoordinates_test.cpp b/cpp/qhulltest/PointCoordinates_test.cpp
index 3bb28ba95eb981faac5f7dd0c45a0dd4bfef7251..c93676427c6758b7028d02b7a8b5c5bb11e714b9 100644
--- a/cpp/qhulltest/PointCoordinates_test.cpp
+++ b/cpp/qhulltest/PointCoordinates_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/PointCoordinates_test.cpp#15 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/PointCoordinates_test.cpp#16 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -392,10 +392,6 @@ t_io()
     QCOMPARE(s.count("2"), 4);
 }//t_io
 
-#//Conversions
-
-//FIXUP -- Move conditional, PointCoordinates code to PointCoordinates.cpp
-
 }//orgQhull
 
 #include "moc/PointCoordinates_test.moc"
diff --git a/cpp/qhulltest/QhullFacetList_test.cpp b/cpp/qhulltest/QhullFacetList_test.cpp
index 6689f21fc50a1c1ab044ed6b348434e9cf6e3e75..1994c9059e084fb8ab93d8e37f7c3d602b6b7881 100644
--- a/cpp/qhulltest/QhullFacetList_test.cpp
+++ b/cpp/qhulltest/QhullFacetList_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacetList_test.cpp#16 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacetList_test.cpp#17 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -167,67 +167,6 @@ t_io()
     }
 }//t_io
 
-//FIXUP -- Move conditional, QhullFacetSet code to QhullFacetSet.cpp
-#ifndef QHULL_NO_STL
-std::vector<QhullFacet> QhullFacetList::
-toStdVector() const
-{
-    QhullLinkedListIterator<QhullFacet> i(*this);
-    std::vector<QhullFacet> vs;
-    while(i.hasNext()){
-        QhullFacet f= i.next();
-        if(isSelectAll() || f.isGood()){
-            vs.push_back(f);
-        }
-    }
-    return vs;
-}//toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-QList<QhullFacet> QhullFacetList::
-toQList() const
-{
-    QhullLinkedListIterator<QhullFacet> i(*this);
-    QList<QhullFacet> vs;
-    while(i.hasNext()){
-        QhullFacet f= i.next();
-        if(isSelectAll() || f.isGood()){
-            vs.append(f);
-        }
-    }
-    return vs;
-}//toQList
-#endif //QHULL_USES_QT
-
-#ifndef QHULL_NO_STL
-//! Same as PrintVertices
-std::vector<QhullVertex> QhullFacetList::
-vertices_toStdVector(int qhRunId) const
-{
-    std::vector<QhullVertex> vs;
-    QhullVertexSet qvs(qhRunId, first().getFacetT(), NULL, isSelectAll());
-
-    for(QhullVertexSet::iterator i=qvs.begin(); i!=qvs.end(); ++i){
-        vs.push_back(*i);
-    }
-    return vs;
-}//vertices_toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-//! Same as PrintVertices
-QList<QhullVertex> QhullFacetList::
-vertices_toQList(int qhRunId) const
-{
-    QList<QhullVertex> vs;
-    QhullVertexSet qvs(qhRunId, first().getFacetT(), NULL, isSelectAll());
-    for(QhullVertexSet::iterator i=qvs.begin(); i!=qvs.end(); ++i){
-        vs.push_back(*i);
-    }
-    return vs;
-}//vertices_toQList
-#endif //QHULL_USES_QT
 }//orgQhull
 
 #include "moc/QhullFacetList_test.moc"
diff --git a/cpp/qhulltest/QhullFacetSet_test.cpp b/cpp/qhulltest/QhullFacetSet_test.cpp
index c0e2d129300cdc1cf543380afd405d0d0889decc..9401f7afdb300295dcc6a139b93568e22e62d62a 100644
--- a/cpp/qhulltest/QhullFacetSet_test.cpp
+++ b/cpp/qhulltest/QhullFacetSet_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacetSet_test.cpp#13 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacetSet_test.cpp#14 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -148,39 +148,6 @@ t_io()
     }
 }//t_io
 
-//FIXUP -- Move conditional, QhullFacetSet code to QhullFacetSet.cpp
-#ifndef QHULL_NO_STL
-std::vector<QhullFacet> QhullFacetSet::
-toStdVector() const
-{
-    QhullSetIterator<QhullFacet> i(*this);
-    std::vector<QhullFacet> vs;
-    while(i.hasNext()){
-        QhullFacet f= i.next();
-        if(isSelectAll() || f.isGood()){
-            vs.push_back(f);
-        }
-    }
-    return vs;
-}//toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-QList<QhullFacet> QhullFacetSet::
-toQList() const
-{
-    QhullSetIterator<QhullFacet> i(*this);
-    QList<QhullFacet> vs;
-    while(i.hasNext()){
-        QhullFacet f= i.next();
-        if(isSelectAll() || f.isGood()){
-            vs.append(f);
-        }
-    }
-    return vs;
-}//toQList
-#endif //QHULL_USES_QT
-
 }//orgQhull
 
 #include "moc/QhullFacetSet_test.moc"
diff --git a/cpp/qhulltest/QhullHyperplane_test.cpp b/cpp/qhulltest/QhullHyperplane_test.cpp
index 0b079fea4eebc3f4084afb790e494367ec3bb0a0..ac59a864dfb7e1a7da45ba63857ead3669b49845 100644
--- a/cpp/qhulltest/QhullHyperplane_test.cpp
+++ b/cpp/qhulltest/QhullHyperplane_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullHyperplane_test.cpp#11 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullHyperplane_test.cpp#12 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -407,35 +407,6 @@ t_io()
 }//t_io
 
 
-//FIXUP -- Move conditional, QhullHyperplane code to QhullHyperplane.cpp
-#ifndef QHULL_NO_STL
-std::vector<coordT> QhullHyperplane::
-toStdVector() const
-{
-    QhullHyperplaneIterator i(*this);
-    std::vector<coordT> fs;
-    while(i.hasNext()){
-        fs.push_back(i.next());
-    }
-    fs.push_back(hyperplane_offset);
-    return fs;
-}//toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-QList<coordT> QhullHyperplane::
-toQList() const
-{
-    QhullHyperplaneIterator i(*this);
-    QList<coordT> fs;
-    while(i.hasNext()){
-        fs.append(i.next());
-    }
-    fs.append(hyperplane_offset);
-    return fs;
-}//toQList
-#endif //QHULL_USES_QT
-
 }//orgQhull
 
 #include "moc/QhullHyperplane_test.moc"
diff --git a/cpp/qhulltest/QhullPointSet_test.cpp b/cpp/qhulltest/QhullPointSet_test.cpp
index a51b1227762e9d5612d2d016bb380a5ebe58f39a..7f5c791b65bc01740aafbd31a0ea388634f0b769 100644
--- a/cpp/qhulltest/QhullPointSet_test.cpp
+++ b/cpp/qhulltest/QhullPointSet_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (p) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPointSet_test.cpp#9 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPointSet_test.cpp#10 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -365,34 +365,6 @@ t_io()
     // QCOMPARE(s.count(QRegExp("f\\d")), 3*7 + 13*3*2);
 }//t_io
 
-//FIXUP -- Move conditional, QhullPointSet code to QhullPointSet.cpp
-#ifndef QHULL_NO_STL
-std::vector<QhullPoint> QhullPointSet::
-toStdVector() const
-{
-    QhullPointSetIterator i(*this);
-    std::vector<QhullPoint> vs;
-    while(i.hasNext()){
-        vs.push_back(i.next());
-    }
-    return vs;
-}//toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-QList<QhullPoint> QhullPointSet::
-toQList() const
-{
-    QhullPointSetIterator i(*this);
-    QList<QhullPoint> vs;
-    while(i.hasNext()){
-        vs.append(i.next());
-    }
-    return vs;
-}//toQList
-#endif //QHULL_USES_QT
-
-
 }//orgQhull
 
 #include "moc/QhullPointSet_test.moc"
diff --git a/cpp/qhulltest/QhullPoint_test.cpp b/cpp/qhulltest/QhullPoint_test.cpp
index 639383921418c411e1d315b8042ff61def326b5b..03f5d4b45c653e0bf99bee4014ba7dc7319b79b3 100644
--- a/cpp/qhulltest/QhullPoint_test.cpp
+++ b/cpp/qhulltest/QhullPoint_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPoint_test.cpp#16 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPoint_test.cpp#17 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -392,33 +392,6 @@ t_io()
     }
 }//t_io
 
-//FIXUP -- Move conditional, QhullPoint code to QhullPoint.cpp
-#ifndef QHULL_NO_STL
-std::vector<coordT> QhullPoint::
-toStdVector() const
-{
-    QhullPointIterator i(*this);
-    std::vector<coordT> vs;
-    while(i.hasNext()){
-        vs.push_back(i.next());
-    }
-    return vs;
-}//toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-QList<coordT> QhullPoint::
-toQList() const
-{
-    QhullPointIterator i(*this);
-    QList<coordT> vs;
-    while(i.hasNext()){
-        vs.append(i.next());
-    }
-    return vs;
-}//toQList
-#endif //QHULL_USES_QT
-
 }//orgQhull
 
 #include "moc/QhullPoint_test.moc"
diff --git a/cpp/qhulltest/QhullPoints_test.cpp b/cpp/qhulltest/QhullPoints_test.cpp
index 12b051c2a9a16838491a94a0e9a211266af8db0b..1def8accd9e49ef7ba5b4e28eb8b63f1bcedbb5e 100644
--- a/cpp/qhulltest/QhullPoints_test.cpp
+++ b/cpp/qhulltest/QhullPoints_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (p) 2009-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPoints_test.cpp#18 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPoints_test.cpp#19 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -476,33 +476,6 @@ t_io()
     // QCOMPARE(s.count(QRegExp("f\\d")), 3*7 + 13*3*2);
 }//t_io
 
-//FIXUP -- Move conditional, QhullPoints code to QhullPoints.cpp
-#ifndef QHULL_NO_STL
-std::vector<QhullPoint> QhullPoints::
-toStdVector() const
-{
-    QhullPointsIterator i(*this);
-    std::vector<QhullPoint> vs;
-    while(i.hasNext()){
-        vs.push_back(i.next());
-    }
-    return vs;
-}//toStdVector
-#endif //QHULL_NO_STL
-
-#ifdef QHULL_USES_QT
-QList<QhullPoint> QhullPoints::
-toQList() const
-{
-    QhullPointsIterator i(*this);
-    QList<QhullPoint> vs;
-    while(i.hasNext()){
-        vs.append(i.next());
-    }
-    return vs;
-}//toQList
-#endif //QHULL_USES_QT
-
 }//orgQhull
 
 #include "moc/QhullPoints_test.moc"
diff --git a/cpp/qhulltest/UsingLibQhull_test.cpp b/cpp/qhulltest/UsingLibQhull_test.cpp
index 0e8a2ccfbe326d7e1610be0d5300e106626faec6..5d6f15d2890b42698b74af0bf3f9d463ebd3f29c 100644
--- a/cpp/qhulltest/UsingLibQhull_test.cpp
+++ b/cpp/qhulltest/UsingLibQhull_test.cpp
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/qhulltest/UsingLibQhull_test.cpp#5 $$Change: 1139 $
-** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/qhulltest/UsingLibQhull_test.cpp#6 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -203,8 +203,6 @@ t_cleanuptestcase()
     UsingLibQhull::unsetGlobals();
 }//t_cleanuptestcase
 
-
-
 }//orgQhull
 
 #include "moc/UsingLibQhull_test.moc"
diff --git a/cpp/qt-qhull.cpp b/cpp/qt-qhull.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..2e29948eade895064dfdbae17fb428bf5ce0b665
--- /dev/null
+++ b/cpp/qt-qhull.cpp
@@ -0,0 +1,128 @@
+/****************************************************************************
+**
+** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
+** $Id: //product/qhull/main/rel/cpp/qt-qhull.cpp#1 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
+**
+****************************************************************************/
+
+#include <QList>
+
+#include "Coordinates.h"
+#include "QhullFacetList.h"
+#include "QhullFacetSet.h"
+#include "QhullHyperplane.h"
+#include "QhullPoint.h"
+#include "QhullPoints.h"
+#include "QhullPointSet.h"
+#include "QhullVertex.h"
+#include "QhullVertexSet.h"
+
+namespace orgQhull {
+
+#//Conversions
+
+#ifndef QHULL_USES_QT
+#error Compile with QHULL_USES_QT defined
+#endif
+
+QList<coordT> Coordinates::
+toQList() const
+{
+    CoordinatesIterator i(*this);
+    QList<coordT> cs;
+    while(i.hasNext()){
+        cs.append(i.next());
+    }
+    return cs;
+}//toQList
+
+QList<QhullFacet> QhullFacetList::
+toQList() const
+{
+    QhullLinkedListIterator<QhullFacet> i(*this);
+    QList<QhullFacet> vs;
+    while(i.hasNext()){
+        QhullFacet f= i.next();
+        if(isSelectAll() || f.isGood()){
+            vs.append(f);
+        }
+    }
+    return vs;
+}//toQList
+
+//! Same as PrintVertices
+QList<QhullVertex> QhullFacetList::
+vertices_toQList(int qhRunId) const
+{
+    QList<QhullVertex> vs;
+    QhullVertexSet qvs(qhRunId, first().getFacetT(), NULL, isSelectAll());
+    for(QhullVertexSet::iterator i=qvs.begin(); i!=qvs.end(); ++i){
+        vs.push_back(*i);
+    }
+    return vs;
+}//vertices_toQList
+
+QList<QhullFacet> QhullFacetSet::
+toQList() const
+{
+    QhullSetIterator<QhullFacet> i(*this);
+    QList<QhullFacet> vs;
+    while(i.hasNext()){
+        QhullFacet f= i.next();
+        if(isSelectAll() || f.isGood()){
+            vs.append(f);
+        }
+    }
+    return vs;
+}//toQList
+
+#ifdef QHULL_USES_QT
+QList<coordT> QhullHyperplane::
+toQList() const
+{
+    QhullHyperplaneIterator i(*this);
+    QList<coordT> fs;
+    while(i.hasNext()){
+        fs.append(i.next());
+    }
+    fs.append(hyperplane_offset);
+    return fs;
+}//toQList
+#endif //QHULL_USES_QT
+
+QList<coordT> QhullPoint::
+toQList() const
+{
+    QhullPointIterator i(*this);
+    QList<coordT> vs;
+    while(i.hasNext()){
+        vs.append(i.next());
+    }
+    return vs;
+}//toQList
+
+QList<QhullPoint> QhullPoints::
+toQList() const
+{
+    QhullPointsIterator i(*this);
+    QList<QhullPoint> vs;
+    while(i.hasNext()){
+        vs.append(i.next());
+    }
+    return vs;
+}//toQList
+
+QList<QhullPoint> QhullPointSet::
+toQList() const
+{
+    QhullPointSetIterator i(*this);
+    QList<QhullPoint> vs;
+    while(i.hasNext()){
+        vs.append(i.next());
+    }
+    return vs;
+}//toQList
+
+}//orgQhull
+
diff --git a/cpp/road/RoadTest.h b/cpp/road/RoadTest.h
index d0b340c5b802c61dad3318bce4b9064912234f6c..f44ef7d3f80742231bc726a046c1f5bfa7c787cc 100644
--- a/cpp/road/RoadTest.h
+++ b/cpp/road/RoadTest.h
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
 ** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
-** $Id: //product/qhull/main/rel/cpp/road/RoadTest.h#15 $$Change: 1164 $
-** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
+** $Id: //product/qhull/main/rel/cpp/road/RoadTest.h#16 $$Change: 1176 $
+** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
 **
 ****************************************************************************/
 
@@ -10,10 +10,9 @@
 #define ROADTEST_H
 
 //pre-compiled with RoadTest.h
-#include <QObject>
+#include <QObject>    // Qt C++ Framework
 #include <QtTest/QtTest>
 
-//FIXUP -- test that compiler sets QHULL_USES_QT.
 #define QHULL_USES_QT 1
 
 namespace orgQhull {
diff --git a/project/libqhullp.vcproj b/project/libqhullp.vcproj
new file mode 100644
index 0000000000000000000000000000000000000000..e11ff13a56ab76e546ae347e066eaf0b96d8e894
--- /dev/null
+++ b/project/libqhullp.vcproj
@@ -0,0 +1,229 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+        ProjectType="Visual C++"
+        Version="8.00"
+        Name="libqhullp"
+        ProjectGUID="{346B4633-5623-47A0-AA35-63966AC20B03}"
+        RootNamespace="libqhullp"
+        Keyword="Win32Proj"
+        >
+        <Platforms>
+                <Platform
+                        Name="Win32"
+                />
+        </Platforms>
+        <ToolFiles>
+        </ToolFiles>
+        <Configurations>
+                <Configuration
+                        Name="Debug|Win32"
+                        OutputDirectory=".."
+                        IntermediateDirectory="../tmp/$(ConfigurationName)"
+                        ConfigurationType="4"
+                        CharacterSet="1"
+                        >
+                        <Tool
+                                Name="VCPreBuildEventTool"
+                        />
+                        <Tool
+                                Name="VCCustomBuildTool"
+                        />
+                        <Tool
+                                Name="VCXMLDataGeneratorTool"
+                        />
+                        <Tool
+                                Name="VCWebServiceProxyGeneratorTool"
+                        />
+                        <Tool
+                                Name="VCMIDLTool"
+                        />
+                        <Tool
+                                Name="VCCLCompilerTool"
+                                Optimization="0"
+                                PreprocessorDefinitions="WIN32;_DEBUG;_LIB;qh_QHpointer=1"
+                                MinimalRebuild="true"
+                                BasicRuntimeChecks="3"
+                                RuntimeLibrary="3"
+                                UsePrecompiledHeader="0"
+                                WarningLevel="3"
+                                Detect64BitPortabilityProblems="true"
+                                DebugInformationFormat="4"
+                        />
+                        <Tool
+                                Name="VCManagedResourceCompilerTool"
+                        />
+                        <Tool
+                                Name="VCResourceCompilerTool"
+                        />
+                        <Tool
+                                Name="VCPreLinkEventTool"
+                        />
+                        <Tool
+                                Name="VCLibrarianTool"
+                        />
+                        <Tool
+                                Name="VCALinkTool"
+                        />
+                        <Tool
+                                Name="VCXDCMakeTool"
+                        />
+                        <Tool
+                                Name="VCBscMakeTool"
+                        />
+                        <Tool
+                                Name="VCFxCopTool"
+                        />
+                        <Tool
+                                Name="VCPostBuildEventTool"
+                        />
+                </Configuration>
+                <Configuration
+                        Name="Release|Win32"
+                        OutputDirectory=".."
+                        IntermediateDirectory="..\tmp\$(ConfigurationName)"
+                        ConfigurationType="4"
+                        CharacterSet="1"
+                        WholeProgramOptimization="1"
+                        >
+                        <Tool
+                                Name="VCPreBuildEventTool"
+                        />
+                        <Tool
+                                Name="VCCustomBuildTool"
+                        />
+                        <Tool
+                                Name="VCXMLDataGeneratorTool"
+                        />
+                        <Tool
+                                Name="VCWebServiceProxyGeneratorTool"
+                        />
+                        <Tool
+                                Name="VCMIDLTool"
+                        />
+                        <Tool
+                                Name="VCCLCompilerTool"
+                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+                                RuntimeLibrary="2"
+                                UsePrecompiledHeader="0"
+                                WarningLevel="3"
+                                Detect64BitPortabilityProblems="true"
+                                DebugInformationFormat="3"
+                        />
+                        <Tool
+                                Name="VCManagedResourceCompilerTool"
+                        />
+                        <Tool
+                                Name="VCResourceCompilerTool"
+                        />
+                        <Tool
+                                Name="VCPreLinkEventTool"
+                        />
+                        <Tool
+                                Name="VCLibrarianTool"
+                        />
+                        <Tool
+                                Name="VCALinkTool"
+                        />
+                        <Tool
+                                Name="VCXDCMakeTool"
+                        />
+                        <Tool
+                                Name="VCBscMakeTool"
+                        />
+                        <Tool
+                                Name="VCFxCopTool"
+                        />
+                        <Tool
+                                Name="VCPostBuildEventTool"
+                        />
+                </Configuration>
+        </Configurations>
+        <References>
+        </References>
+        <Files>
+                <Filter
+                        Name="Source Files"
+                        Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                        >
+                        <File
+                                RelativePath="..\src\geom.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\geom2.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\global.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\io.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\libqhull.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\mem.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\merge.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\poly.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\poly2.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\random.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\rboxlib.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\stat.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\user.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\usermem.c"
+                                >
+                        </File>
+                        <File
+                                RelativePath="..\src\userprintf.c"
+                                >
+                        </File>
+                </Filter>
+                <Filter
+                        Name="Header Files"
+                        Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                        UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                        >
+                </Filter>
+                <Filter
+                        Name="Resource Files"
+                        Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                        UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                        >
+                </Filter>
+                <File
+                        RelativePath=".\ReadMe.txt"
+                        >
+                </File>
+        </Files>
+        <Globals>
+        </Globals>
+</VisualStudioProject>
diff --git a/project/qhull.sln b/project/qhull.sln
index 6fb7f6110f14c8c01e60980b1f07b342e6d9a32a..6772c01cf81bf068164ee4eebc8bd8a513db2f41 100644
--- a/project/qhull.sln
+++ b/project/qhull.sln
@@ -1,133 +1,85 @@
 Microsoft Visual Studio Solution File, Format Version 9.00
 # Visual Studio 2005
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qhull", "qhull.vcproj", "{DEB5D824-712C-47C7-BE7E-E0A866373C26}"
-	ProjectSection(ProjectDependencies) = postProject
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F} = {D1377F6B-7868-460C-9FC5-489C32A3D08F}
-	EndProjectSection
 	ProjectSection(WebsiteProperties) = preProject
-		Debug.AspNetCompiler.Debug = "True"
-		Release.AspNetCompiler.Debug = "False"
+		                Debug.AspNetCompiler.Debug = "True"
+		                Release.AspNetCompiler.Debug = "False"
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libqhull", "libqhull.vcproj", "{D1377F6B-7868-460C-9FC5-489C32A3D08F}"
 	ProjectSection(WebsiteProperties) = preProject
-		Debug.AspNetCompiler.Debug = "True"
-		Release.AspNetCompiler.Debug = "False"
+		                Debug.AspNetCompiler.Debug = "True"
+		                Release.AspNetCompiler.Debug = "False"
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rbox", "rbox.vcproj", "{D137FB9B-7868-460C-9FC5-489C32A3D08F}"
-	ProjectSection(ProjectDependencies) = postProject
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F} = {D1377F6B-7868-460C-9FC5-489C32A3D08F}
-	EndProjectSection
 	ProjectSection(WebsiteProperties) = preProject
-		Debug.AspNetCompiler.Debug = "True"
-		Release.AspNetCompiler.Debug = "False"
+		                Debug.AspNetCompiler.Debug = "True"
+		                Release.AspNetCompiler.Debug = "False"
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qhullcpp", "qhullcpp.vcproj", "{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}"
-	ProjectSection(ProjectDependencies) = postProject
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F} = {D1377F6B-7868-460C-9FC5-489C32A3D08F}
-	EndProjectSection
 	ProjectSection(WebsiteProperties) = preProject
-		Debug.AspNetCompiler.Debug = "True"
-		Release.AspNetCompiler.Debug = "False"
+		                Debug.AspNetCompiler.Debug = "True"
+		                Release.AspNetCompiler.Debug = "False"
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "user_eg3", "user_eg3.vcproj", "{B94D6587-1030-4EA0-8322-E9B2902A9AC4}"
 	ProjectSection(ProjectDependencies) = postProject
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F} = {D1377F6B-7868-460C-9FC5-489C32A3D08F}
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49} = {83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}
+		{346B4633-5623-47A0-AA35-63966AC20B03} = {346B4633-5623-47A0-AA35-63966AC20B03}
 	EndProjectSection
 	ProjectSection(WebsiteProperties) = preProject
-		Debug.AspNetCompiler.Debug = "True"
-		Release.AspNetCompiler.Debug = "False"
+		                Debug.AspNetCompiler.Debug = "True"
+		                Release.AspNetCompiler.Debug = "False"
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qhulltest", "qhulltest.vcproj", "{AFDCA33D-3D74-3866-BAE1-97033FE213AA}"
-	GlobalSection(Qt) = preSolution
-		Integration = True
-	EndGlobalSection
-	ProjectSection(ProjectDependencies) = postProject
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49} = {83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F} = {D1377F6B-7868-460C-9FC5-489C32A3D08F}
-	EndProjectSection
 	ProjectSection(WebsiteProperties) = preProject
-		Debug.AspNetCompiler.Debug = "True"
-		Release.AspNetCompiler.Debug = "False"
+		                Debug.AspNetCompiler.Debug = "True"
+		                Release.AspNetCompiler.Debug = "False"
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libqhullp", "libqhullp.vcproj", "{346B4633-5623-47A0-AA35-63966AC20B03}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Any CPU = Debug|Any CPU
-		Debug|Mixed Platforms = Debug|Mixed Platforms
 		Debug|Win32 = Debug|Win32
-		Release|Any CPU = Release|Any CPU
-		Release|Mixed Platforms = Release|Mixed Platforms
 		Release|Win32 = Release|Win32
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Debug|Any CPU.ActiveCfg = Debug|Win32
-		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
-		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Debug|Mixed Platforms.Build.0 = Debug|Win32
 		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Debug|Win32.ActiveCfg = Debug|Win32
 		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Debug|Win32.Build.0 = Debug|Win32
-		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Release|Any CPU.ActiveCfg = Release|Win32
-		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Release|Mixed Platforms.ActiveCfg = Release|Win32
-		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Release|Mixed Platforms.Build.0 = Release|Win32
 		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Release|Win32.ActiveCfg = Release|Win32
 		{DEB5D824-712C-47C7-BE7E-E0A866373C26}.Release|Win32.Build.0 = Release|Win32
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Debug|Any CPU.ActiveCfg = Debug|Win32
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
 		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Debug|Win32.ActiveCfg = Debug|Win32
 		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Debug|Win32.Build.0 = Debug|Win32
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Release|Any CPU.ActiveCfg = Release|Win32
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
-		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Release|Mixed Platforms.Build.0 = Release|Win32
 		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Release|Win32.ActiveCfg = Release|Win32
 		{D1377F6B-7868-460C-9FC5-489C32A3D08F}.Release|Win32.Build.0 = Release|Win32
-		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Debug|Any CPU.ActiveCfg = Debug|Win32
-		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
-		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
 		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Debug|Win32.ActiveCfg = Debug|Win32
 		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Debug|Win32.Build.0 = Debug|Win32
-		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Release|Any CPU.ActiveCfg = Release|Win32
-		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
-		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Release|Mixed Platforms.Build.0 = Release|Win32
 		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Release|Win32.ActiveCfg = Release|Win32
 		{D137FB9B-7868-460C-9FC5-489C32A3D08F}.Release|Win32.Build.0 = Release|Win32
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Debug|Any CPU.ActiveCfg = Debug|Win32
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Debug|Mixed Platforms.Build.0 = Debug|Win32
 		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Debug|Win32.ActiveCfg = Debug|Win32
 		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Debug|Win32.Build.0 = Debug|Win32
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Release|Any CPU.ActiveCfg = Release|Win32
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Release|Mixed Platforms.ActiveCfg = Release|Win32
-		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Release|Mixed Platforms.Build.0 = Release|Win32
 		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Release|Win32.ActiveCfg = Release|Win32
 		{83B9A40B-EA6E-4DD8-A9D5-D51FFA0B5F49}.Release|Win32.Build.0 = Release|Win32
-		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Debug|Any CPU.ActiveCfg = Debug|Win32
-		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
-		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Debug|Mixed Platforms.Build.0 = Debug|Win32
 		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Debug|Win32.ActiveCfg = Debug|Win32
 		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Debug|Win32.Build.0 = Debug|Win32
-		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Release|Any CPU.ActiveCfg = Release|Win32
-		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Release|Mixed Platforms.ActiveCfg = Release|Win32
-		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Release|Mixed Platforms.Build.0 = Release|Win32
 		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Release|Win32.ActiveCfg = Release|Win32
 		{B94D6587-1030-4EA0-8322-E9B2902A9AC4}.Release|Win32.Build.0 = Release|Win32
-		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Debug|Any CPU.ActiveCfg = Debug|Win32
-		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
-		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Debug|Mixed Platforms.Build.0 = Debug|Win32
 		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Debug|Win32.ActiveCfg = Debug|Win32
 		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Debug|Win32.Build.0 = Debug|Win32
-		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Release|Any CPU.ActiveCfg = Release|Win32
-		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Release|Mixed Platforms.ActiveCfg = Release|Win32
-		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Release|Mixed Platforms.Build.0 = Release|Win32
 		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Release|Win32.ActiveCfg = Release|Win32
 		{AFDCA33D-3D74-3866-BAE1-97033FE213AA}.Release|Win32.Build.0 = Release|Win32
+		{346B4633-5623-47A0-AA35-63966AC20B03}.Debug|Win32.ActiveCfg = Debug|Win32
+		{346B4633-5623-47A0-AA35-63966AC20B03}.Debug|Win32.Build.0 = Debug|Win32
+		{346B4633-5623-47A0-AA35-63966AC20B03}.Release|Win32.ActiveCfg = Release|Win32
+		{346B4633-5623-47A0-AA35-63966AC20B03}.Release|Win32.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
 	EndGlobalSection
+	GlobalSection(Qt) = preSolution
+		                Integration = True
+	EndGlobalSection
 EndGlobal
diff --git a/project/qhull.vcproj b/project/qhull.vcproj
index 51b61a2df3f0fcc0ef6f06ea59a1d0eb4844534e..29bb729471f95332c43e5cbc64d5c3d54038ea66 100644
--- a/project/qhull.vcproj
+++ b/project/qhull.vcproj
@@ -209,11 +209,11 @@
 			Filter="h;hpp;hxx;hm;inl"
 			>
 			<File
-				RelativePath="..\src\mem.h"
+				RelativePath="..\src\libqhull.h"
 				>
 			</File>
 			<File
-				RelativePath="..\src\libqhull.h"
+				RelativePath="..\src\mem.h"
 				>
 			</File>
 			<File
diff --git a/project/qhullcpp.vcproj b/project/qhullcpp.vcproj
index 4774c84d76854b2f36c771f16428a6e30fd19fa2..36a3b0e59abb017f85bc18c2d69273de6222c591 100644
--- a/project/qhullcpp.vcproj
+++ b/project/qhullcpp.vcproj
@@ -121,7 +121,7 @@
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				AdditionalIncludeDirectories="..\cpp,..\..\cpp,..\src,..\..\src,..\tmp,..\..\tmp"
-				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;qh_QHpointer=1"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
@@ -275,6 +275,10 @@
 				RelativePath="..\cpp\functionObjects.h"
 				>
 			</File>
+			<File
+				RelativePath="..\src\libqhull.h"
+				>
+			</File>
 			<File
 				RelativePath="..\src\mem.h"
 				>
@@ -319,10 +323,6 @@
 				RelativePath="..\cpp\QhullIterator.h"
 				>
 			</File>
-			<File
-				RelativePath="..\src\libqhull.h"
-				>
-			</File>
 			<File
 				RelativePath="..\cpp\QhullLinkedList.h"
 				>
diff --git a/project/qhulltest.vcproj b/project/qhulltest.vcproj
index 93b1e4be19bae9d0111f717adcf54171dba03566..fc4769ec23f632f272e10fadffc2f0447a1ab09c 100644
--- a/project/qhulltest.vcproj
+++ b/project/qhulltest.vcproj
@@ -46,7 +46,7 @@
 				AdditionalOptions="-Zm200 -EHsc -w34100 -w34189"
 				Optimization="4"
 				AdditionalIncludeDirectories=".,..\cpp,..\..\cpp,..\src,..\..\src,..\tmp,..\..\tmp,&quot;$(QTDIR)\include\QtCore&quot;,&quot;$(QTDIR)\include&quot;,&quot;$(QTDIR)\include\QtTest&quot;,$(QTDIR)\mkspecs\win32-msvc2005"
-				PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT,QT_DLL,QT_CORE_LIB,QT_THREAD_SUPPORT"
+				PreprocessorDefinitions="qh_QHpointer=1;QHULL_USES_QT;UNICODE,WIN32,QT_LARGEFILE_SUPPORT,QT_DLL,QT_CORE_LIB,QT_THREAD_SUPPORT"
 				GeneratePreprocessedFile="0"
 				RuntimeLibrary="3"
 				BufferSecurityCheck="false"
@@ -274,6 +274,18 @@
 				RelativePath="..\cpp\qhulltest\QhullVertex_test.cpp"
 				>
 			</File>
+			<File
+				RelativePath="..\cpp\qt-qhull.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="0"
+					/>
+				</FileConfiguration>
+			</File>
 			<File
 				RelativePath="..\cpp\qhulltest\RboxPoints_test.cpp"
 				>
@@ -301,7 +313,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing RoadTest.h..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\road\RoadTest.h&quot; -o &quot;.\..\tmp\moc\moc_RoadTest.cpp&quot; &quot;-f../road/RoadTest.h&quot; &quot;-f..\..\cpp\road\RoadTest.h&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\road\RoadTest.h&quot; -o &quot;.\..\tmp\moc\moc_RoadTest.cpp&quot; &quot;-f../road/RoadTest.h&quot; &quot;-f..\..\cpp\road\RoadTest.h&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\road\RoadTest.h"
 						Outputs="&quot;.\..\tmp\moc\moc_RoadTest.cpp&quot;"
 					/>
@@ -333,7 +345,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing Coordinates_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\Coordinates_test.cpp&quot; -o &quot;.\..\tmp\moc\Coordinates_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\Coordinates_test.cpp&quot; -o &quot;.\..\tmp\moc\Coordinates_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\Coordinates_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\Coordinates_test.moc&quot;"
 					/>
@@ -355,7 +367,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing PointCoordinates_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\PointCoordinates_test.cpp&quot; -o &quot;.\..\tmp\moc\PointCoordinates_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\PointCoordinates_test.cpp&quot; -o &quot;.\..\tmp\moc\PointCoordinates_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\PointCoordinates_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\PointCoordinates_test.moc&quot;"
 					/>
@@ -381,7 +393,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing Qhull_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\Qhull_test.cpp&quot; -o &quot;.\..\tmp\moc\Qhull_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\Qhull_test.cpp&quot; -o &quot;.\..\tmp\moc\Qhull_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\Qhull_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\Qhull_test.moc&quot;"
 					/>
@@ -403,7 +415,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullFacet_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullFacet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullFacet_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullFacet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullFacet_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullFacet_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullFacet_test.moc&quot;"
 					/>
@@ -425,7 +437,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullFacetList_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullFacetList_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullFacetList_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullFacetList_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullFacetList_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullFacetList_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullFacetList_test.moc&quot;"
 					/>
@@ -447,7 +459,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullFacetSet_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullFacetSet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullFacetSet_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullFacetSet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullFacetSet_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullFacetSet_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullFacetSet_test.moc&quot;"
 					/>
@@ -469,7 +481,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullHyperplane_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullHyperplane_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullHyperplane_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullHyperplane_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullHyperplane_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullHyperplane_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullHyperplane_test.moc&quot;"
 					/>
@@ -495,7 +507,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullLinkedList_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullLinkedList_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullLinkedList_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullLinkedList_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullLinkedList_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullLinkedList_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullLinkedList_test.moc&quot;"
 					/>
@@ -517,7 +529,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullPoint_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullPoint_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullPoint_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullPoint_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullPoint_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullPoint_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullPoint_test.moc&quot;"
 					/>
@@ -539,7 +551,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullPoints_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullPoints_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullPoints_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullPoints_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullPoints_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullPoints_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullPoints_test.moc&quot;"
 					/>
@@ -561,7 +573,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullPointSet_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullPointSet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullPointSet_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullPointSet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullPointSet_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullPointSet_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullPointSet_test.moc&quot;"
 					/>
@@ -583,7 +595,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullRidge_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullRidge_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullRidge_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullRidge_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullRidge_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullRidge_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullRidge_test.moc&quot;"
 					/>
@@ -605,7 +617,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullSet_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullSet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullSet_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullSet_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullSet_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullSet_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullSet_test.moc&quot;"
 					/>
@@ -627,7 +639,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing QhullVertex_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullVertex_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullVertex_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\QhullVertex_test.cpp&quot; -o &quot;.\..\tmp\moc\QhullVertex_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\QhullVertex_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\QhullVertex_test.moc&quot;"
 					/>
@@ -649,7 +661,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing RboxPoints_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\RboxPoints_test.cpp&quot; -o &quot;.\..\tmp\moc\RboxPoints_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\RboxPoints_test.cpp&quot; -o &quot;.\..\tmp\moc\RboxPoints_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\RboxPoints_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\RboxPoints_test.moc&quot;"
 					/>
@@ -671,7 +683,7 @@
 					<Tool
 						Name="VCCustomBuildTool"
 						Description="Moc&apos;ing UsingLibQhull_test.cpp..."
-						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\UsingLibQhull_test.cpp&quot; -o &quot;.\..\tmp\moc\UsingLibQhull_test.moc&quot;&#x0D;&#x0A;"
+						CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -Dqh_QHpointer=1 -DQHULL_USES_QT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT  -I&quot;.\.&quot; -I&quot;.\..\cpp\.&quot; -I&quot;.\..\..\cpp\.&quot; -I&quot;.\..\src\.&quot; -I&quot;.\..\..\src\.&quot; -I&quot;.\..\tmp\.&quot; -I&quot;.\..\..\tmp\.&quot; -I&quot;$(QTDIR)\include\QtCore\.&quot; -I&quot;$(QTDIR)\include\.&quot; -I&quot;$(QTDIR)\include\QtTest\.&quot; -I&quot;$(QTDIR)\mkspecs\win32-msvc2005\.&quot; &quot;..\cpp\qhulltest\UsingLibQhull_test.cpp&quot; -o &quot;.\..\tmp\moc\UsingLibQhull_test.moc&quot;&#x0D;&#x0A;"
 						AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;..\cpp\qhulltest\UsingLibQhull_test.cpp"
 						Outputs="&quot;.\..\tmp\moc\UsingLibQhull_test.moc&quot;"
 					/>
diff --git a/project/qhulltest/qhulltest.pro b/project/qhulltest/qhulltest.pro
index 1fe9dee3e3fc6c29dba0578a0c6bea1c9e115cb7..447c489f7700de528629d31b5781d3182f6fcded 100644
--- a/project/qhulltest/qhulltest.pro
+++ b/project/qhulltest/qhulltest.pro
@@ -42,6 +42,7 @@ SOURCES += cpp/qhulltest/QhullRidge_test.cpp
 SOURCES += cpp/qhulltest/QhullSet_test.cpp
 SOURCES += cpp/qhulltest/qhulltest.cpp
 SOURCES += cpp/qhulltest/QhullVertex_test.cpp
+SOURCES += cpp/qhulltest/qt-qhull.cpp
 SOURCES += cpp/qhulltest/UsingLibQhull_test.cpp
 SOURCES += cpp/qhulltest/RboxPoints_test.cpp
 HEADERS += cpp/Coordinates.h
diff --git a/src/Changes.txt b/src/Changes.txt
index f408c08dbb286a0a27a8594292d7c72a96f1725b..ade8874807ab84be1e019481973ff2fb46639edc 100644
--- a/src/Changes.txt
+++ b/src/Changes.txt
@@ -40,7 +40,8 @@ To do for suggestions
  - Fix doc comments
 
 Qhull cpp questions
- - iterator Coordinates::operator++() { return iterator(++i); } //FIXUP Should return reference, but get reference to temporary
+ - iterator Coordinates::operator++() { return iterator(++i); }
+ -  //FIXUP QH10012 Should return reference, but get reference to temporary
  - size() as size_t, size_type, or int
  - Should all containers have a reserve()?
  - Qhull.feasiblePoint interface
@@ -97,7 +98,6 @@ To do
 
 ------------
 Need help
- - git has an empty ConvexHull submodule on master or next.  How to remove it?  
  - The C++ interface needs work.  Give it a try and make it better.
  - Set up debian build. 
    Please keep debian files in config/ and project/debian/
@@ -107,6 +107,13 @@ Need help
    If practical, please move to project/
  - Verify -fno-strict-aliasing needed for gcc 4.1, 4.2, and 4.3 (qset segfault)
 
+------------
+Qhull next branch
+
+- Add qt-qhull.cpp with Qt conditional code
+- Fix qhull.sln and project files for qh_QHpointer
+- Add libqhullp.proj
+
 ------------
 qhull 2010.1 2010/01/10
 - Test for NULL fp in qh_eachvoronoi [D. Szczerba]
diff --git a/src/user.h b/src/user.h
index dc4d8d8f89358897d2f5535705f82205ac8dea1d..ee6666fa81598f34807482410d69a6080423d8d4 100644
--- a/src/user.h
+++ b/src/user.h
@@ -50,7 +50,7 @@ Code flags --
   If add new messages, assign these values and increment.
 
   def counters = [27, 1047, 2059, 3025, 4068, 5003, 6233, 7079, 8143, 9410]
-  10011-10016 available
+  QH10012-10016 available
 
   See: qh_ERR* [libqhull.h]
 */