[Kde-bindings] Re: Building on Mac OS X

Cyrus Harmon cyrus at bobobeach.com
Sat Mar 5 21:46:43 UTC 2011


Ok, monkey see, monkey do:

diff --git a/qtwebkit/config.xml.cmake b/qtwebkit/config.xml.cmake
index 0000afe..faf56e2 100644
--- a/qtwebkit/config.xml.cmake
+++ b/qtwebkit/config.xml.cmake
@@ -6,6 +6,7 @@
     <includeDirs>
         <dir>@QT_HEADERS_DIR@</dir>
         <dir>@QT_QTCORE_INCLUDE_DIR@</dir>
+        <dir>@QT_QTGUI_INCLUDE_DIR@</dir>
         <dir>@QT_QTWEBKIT_INCLUDE_DIR@</dir>
     </includeDirs>
 </config>

is required to get past Elliott's latest bug. Now, I get _almost_ to the end:

[100%] Building CXX object phonon/CMakeFiles/smokephonon.dir/x_10.cpp.o
/Users/sly/src/kde/smokeqt/phonon/x_10.cpp: In static member function ‘static void __smokephonon::x_QGlobalSpace::x_1(Smoke::StackItem*)’:
/Users/sly/src/kde/smokeqt/phonon/x_10.cpp:18: error: ‘Q_COMPLEX_TYPE’ was not declared in this scope
/Users/sly/src/kde/smokeqt/phonon/x_10.cpp: In static member function ‘static void __smokephonon::x_QGlobalSpace::x_2(Smoke::StackItem*)’:
/Users/sly/src/kde/smokeqt/phonon/x_10.cpp:21: error: ‘Q_PRIMITIVE_TYPE’ was not declared in this scope
...

Getting closer though!

thanks,

Cyrus

On Mar 5, 2011, at 12:18 PM, Elliott Slaughter wrote:

> On Sat, Mar 5, 2011 at 11:50 AM, Arno Rehn <arno at arnorehn.de> wrote:
> On Saturday 05 March 2011 20:29:36 Elliott Slaughter wrote:
> > On Sat, Mar 5, 2011 at 11:06 AM, Arno Rehn <arno at arnorehn.de> wrote:
> > > On Saturday 05 March 2011 19:51:50 Elliott Slaughter wrote:
> > > > On Sat, Mar 5, 2011 at 9:07 AM, Arno Rehn <arno at arnorehn.de> wrote:
> > > > > On Saturday 05 March 2011 15:14:31 Arno Rehn wrote:
> > > > > > On Saturday 05 March 2011 02:32:30 Elliott Slaughter wrote:
> > > > > > > Here you go: http://pastebin.com/hVh4gxmL
> > > > > >
> > > > > > Thanks. Seems like the FILE typedef is wrongly resolved. I don't
> > > > > > know if the license allows it, but if it does, can you also
> > > > > > nopaste your stdio.h? Maybe we should special-case this typedef
> > > > > > anyway, but it'd
> > >
> > > be
> > >
> > > > > > nice if it worked without a special case as well :)
> > > > >
> > > > > I pushed a workaround/fix to smokegen. pull, recompile and
> > > > > re-install.
> > > >
> > > > Now I get all the way through smokeqtcore. But I get an error in
> > >
> > > smokeqtsql
> > >
> > > > (below).
> > > >
> > > > This is smokegen version e3f34b0884ede511d9b4217ff879d8bf54110108.
> > > >
> > > > [snip]
> > >
> > > What's in <build-dir>/qtsql/config.xml?
> >
> > Here you go: http://pastebin.com/p5Sfxsuv
> Right. QItemDelegate (which QSqlRelationalItemDelegate is inheriting) is
> coming from QtGui, so for the Framework detection to work, we also need to add
> the QtGui header path. Fixed in master. Maybe you'll bump into some similar
> errors. Keep reporting them! :)
> 
> Thanks. Next error (in qtwebkit):
> 
> [ 60%] Building CXX object qtwebkit/CMakeFiles/smokeqtwebkit.dir/x_1.cpp.o
> /Library/Frameworks/QtGui.framework/Headers/qwidget.h: In copy constructor ‘QWebInspector::QWebInspector(const QWebInspector&)’:
> /Library/Frameworks/QtGui.framework/Headers/qwidget.h:787: error: ‘QWidget::QWidget(const QWidget&)’ is private
> /Library/Frameworks/QtWebKit.framework/Headers/qwebinspector.h:30: error: within this context
> /Users/elliott/Programming/Lisp/new_kde_build/smokeqt/build/qtwebkit/x_1.cpp: In constructor ‘__smokeqtwebkit::x_QWebInspector::x_QWebInspector(const QWebInspector&)’:
> /Users/elliott/Programming/Lisp/new_kde_build/smokeqt/build/qtwebkit/x_1.cpp:2076: note: synthesized method ‘QWebInspector::QWebInspector(const QWebInspector&)’ first required here 
> /Library/Frameworks/QtGui.framework/Headers/qwidget.h: In copy constructor ‘QWebView::QWebView(const QWebView&)’:
> /Library/Frameworks/QtGui.framework/Headers/qwidget.h:787: error: ‘QWidget::QWidget(const QWidget&)’ is private
> /Library/Frameworks/QtWebKit.framework/Headers/qwebview.h:41: error: within this context
> /Users/elliott/Programming/Lisp/new_kde_build/smokeqt/build/qtwebkit/x_1.cpp: In constructor ‘__smokeqtwebkit::x_QWebView::x_QWebView(const QWebView&)’:
> /Users/elliott/Programming/Lisp/new_kde_build/smokeqt/build/qtwebkit/x_1.cpp:5207: note: synthesized method ‘QWebView::QWebView(const QWebView&)’ first required here 
> 
> x_1.cpp: http://pastebin.com/QWU1xmPE
> config.xml: http://pastebin.com/VDBTK59v
> 
> --
> Arno Rehn
> arno at arnorehn.de
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
> 
> 
> 
> -- 
> Elliott Slaughter
> 
> "Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20110305/9ce1afbb/attachment.html>


More information about the Kde-bindings mailing list