[Kde-bindings] Re: Notes on building on Mac OS X

Arno Rehn arno at arnorehn.de
Tue Feb 22 15:33:17 UTC 2011


Which version of Qt is that? And can you paste that file somewhere?

On Tuesday 22 February 2011 16:25:02 Adam Higuera wrote:
> In my header, line 173 is
> 
> friend class QCoreXmlStreamWriter;
> 
> it's inside a declartion of
> 
> class Q_CORE_EXPORT QtTextEncoder
> 
> -Adam
> 
> On Tue, Feb 22, 2011 at 9:59 AM, Arno Rehn <arno at arnorehn.de> wrote:
> > Well this is certainly strange. The compiler already fails on Qt's own
> > header.
> > The generated smokedata.cpp is also wrong, but that might just be a side-
> > effect. What's in qtextcodec.h at line 173? In my version of the file
> > there's
> > no mention of QCoreXmlStreamWriter whatsoever.
> > 
> > On Sunday 20 February 2011 18:50:16 Adam Higuera wrote:
> > > I've tried a few pastebins, and they all bork because the file is too
> > > large, so I put it on rapidshare.
> > > 
> > > http://rapidshare.com/files/448973107/smokedata.cpp
> > > 
> > > -Adam
> > > 
> > > On Sun, Feb 20, 2011 at 12:27 PM, Arno Rehn <arno at arnorehn.de> wrote:
> > > > On Sunday 20 February 2011 17:27:50 Adam Higuera wrote:
> > > > > Got this error trying to build smokeqt
> > > > > 
> > > > > Scanning dependencies of target smokeqtcore
> > > > > [  2%] Building CXX object
> > > > > qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o
> > 
> > > > > /Library/Frameworks/QtCore.framework/Headers/qtextcodec.h:173:
> > warning:
> > > > > ‘QCoreXmlStreamWriter’ is already a friend of ‘QTextEncoder’
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp: In function ‘void*
> > > > > __smokeqtcore::cast(void*, short int, short int)’:
> > > > 
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:12: error:
> > > > ‘ExtensionOption’
> > > > 
> > > > > was not declared in this scope
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:12: error: expected
> > > > > primary-expression before ‘void’
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:12: error: expected
> > 
> > `)'
> > 
> > > > > before ‘void’
> > > > 
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:17: error:
> > > > ‘ExtensionReturn’
> > > > 
> > > > > was not declared in this scope
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:17: error: expected
> > > > > primary-expression before ‘void’
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:17: error: expected
> > 
> > `)'
> > 
> > > > > before ‘void’
> > > > > make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o]
> > 
> > Error
> > 
> > > > > 1 make[1]: *** [qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2
> > > > > make: *** [all] Error 2
> > > > 
> > > > Can you nopaste smokedata.cpp somewhere?
> > > > 
> > > > --
> > > > Arno Rehn
> > > > arno at arnorehn.de
> > > > _______________________________________________
> > > > Kde-bindings mailing list
> > > > Kde-bindings at kde.org
> > > > https://mail.kde.org/mailman/listinfo/kde-bindings
> > 
> > --
> > Arno Rehn
> > arno at arnorehn.de
> > _______________________________________________
> > Kde-bindings mailing list
> > Kde-bindings at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-bindings

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list