[Kde-bindings] Re: smokeqt mac build error

Ben Skelton ben.skelton at chestnut-tree-cafe.org
Sun Feb 27 23:34:45 UTC 2011


Hi Cyrus

There's a known issue using a Frameworkized library which the Nokia download (quite correctly) is.

I recall seeing here a couple of weeks ago  that someone is looking at a fix.

In the meantime the easiest thing to do might be to remove the Nokia library and either install qt from source (deselecting the Framework install) or use macports to install qt-devel.

Cheers
--Ben



On 28/02/2011, at 7:16, Cyrus Harmon <cyrus at bobobeach.com> wrote:

> 
> Hello kde-bindings folks,
> 
> I was trying to build smokeqt on MacOS 10.6.6 today using the Nokia QT 4.7 library and ran into the following problem:
> 
> (sly at barbaresco):~/src/kde/smokeqt$ make install
> [  1%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp
> using generator "/opt/smoke/bin/../lib/smokegen/generator_smoke.so" 
> include directory "/usr/include;/Library/Frameworks/QtCore.framework" doesn't exist 
> parsing "/Users/sly/src/kde/smokeqt/qtcore/qtcore_includes.h" 
> Generating SMOKE sources... 
> preparing SMOKE data [qtcore]
> writing out smokedata.cpp [qtcore]
> writing out x_*.cpp [qtcore]
> Done. 
> Scanning dependencies of target smokeqtcore
> [  2%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o
> [  3%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_1.cpp.o
> /Library/Frameworks/QtCore.framework/Headers/qabstractanimation.h: In constructor ‘__smokeqtcore::x_QAbstractAnimation::x_QAbstractAnimation(const QAbstractAnimation&)’:
> /Library/Frameworks/QtCore.framework/Headers/qabstractanimation.h:131: error: ‘QAbstractAnimation::QAbstractAnimation(const QAbstractAnimation&)’ is private
> /Users/sly/src/kde/smokeqt/qtcore/x_1.cpp:165: error: within this context
> /Library/Frameworks/QtCore.framework/Headers/qobject.h: In copy constructor ‘QAbstractEventDispatcher::QAbstractEventDispatcher(const QAbstractEventDispatcher&)’:
> /Library/Frameworks/QtCore.framework/Headers/qobject.h:309: error: ‘QObject::QObject(const QObject&)’ is private
> /Library/Frameworks/QtCore.framework/Headers/qabstracteventdispatcher.h:59: error: within this context
> /Users/sly/src/kde/smokeqt/qtcore/x_1.cpp: In constructor ‘__smokeqtcore::x_QAbstractEventDispatcher::x_QAbstractEventDispatcher(const QAbstractEventDispatcher&)’:
> /Users/sly/src/kde/smokeqt/qtcore/x_1.cpp:443: note: synthesized method ‘QAbstractEventDispatcher::QAbstractEventDispatcher(const QAbstractEventDispatcher&)’ first required here 
> make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/x_1.cpp.o] Error 1
> make[1]: *** [qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2
> make: *** [all] Error 2
> 
> I'm new to smokeqt, so please forgive me if this is an error on my part, but any suggestions on how to proceed would be greatly appreciated.
> 
> Thanks,
> 
> Cyrus
> 
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings



More information about the Kde-bindings mailing list