Hi,<div><br></div><div>Now that I've got a build procedure that works on Linux, I'm trying to compile on Mac :-)</div><div><br></div><div>First, the version of Qt 4.6 which is provided by Nokia doesn't come with DBus support, which requires some small changes in the build. Namely, I had to remove the include QtDBus line from qt_includes.h. (This is obviously not the correct solution in general, perhaps someone can suggest a better one?)</div>

<div><br></div><div><div>Index: smoke/qt/qt_includes.h</div><div>===================================================================</div><div>--- smoke/qt/qt_includes.h<span style="white-space:pre">   </span>(revision 1086641)</div>

<div>+++ smoke/qt/qt_includes.h<span style="white-space:pre">     </span>(working copy)</div><div>@@ -15,5 +15,5 @@</div><div> // some MS headers do</div><div> // #define interface struct</div><div> // un-define it here so QtDBus will build correctly</div>

<div>-#undef interface</div><div>-#include <QtDBus/QtDBus></div><div>+//#undef interface</div><div>+//#include <QtDBus/QtDBus></div><div><br></div><div>Second, I had to apply the following patch to fix the include directories for smokeapi:</div>

<div><br></div><div><div>Index: smoke/smokeapi/CMakeLists.txt</div><div>===================================================================</div><div>--- smoke/smokeapi/CMakeLists.txt<span style="white-space:pre">     </span>(revision 1086641)</div>

<div>+++ smoke/smokeapi/CMakeLists.txt<span style="white-space:pre">      </span>(working copy)</div><div>@@ -1,7 +1,7 @@</div><div> project(smokeapi)</div><div> </div><div> find_package(Qt4 REQUIRED)</div>
<div>-include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. )</div><div>+include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${QT_INCLUDES} )</div><div> </div><div> add_executable(smokeapi main.cpp)</div><div> target_link_libraries(smokeapi smokeqtcore ${QT_QTCORE_LIBRARY})</div>

<div><br></div><div>With the two above patches, I can compile most of the smoke modules for QtCore, QtGui, etc, but when I try to compile the QtScript smoke module, I get the following error:</div><div><br></div><div><div>

[ 92%] Generating smokedata.cpp, x_1.cpp</div><div>using generator "/Users/elliott/Programming/Lisp/kdebindings-nokia/generator/bin/generator_smoke.so" </div><div>include directory "QT_QTDBUS_INCLUDE_DIR-NOTFOUND" doesn't exist </div>

<div>parsing "/Users/elliott/Programming/Lisp/kdebindings-nokia/smoke/qtscript/qtscript_includes.h" </div><div>Generating SMOKE sources... </div><div>preparing SMOKE data [qtscript]</div><div>writing out smokedata.cpp [qtscript]</div>

<div>missing type:  in method  QScriptContextInfo::operator<<(QDataStream&, const QScriptContextInfo&)</div><div><br></div><div>Of course, I can just disable compiling the QtScript module, and everything else will work, but I figured someone might be interested in this error message.</div>

</div></div><div><br></div><div>Thanks.</div><div><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>

</div></div>