On Wednesday 18 March 2015 11:59:25 Thomas Sevaldrud wrote: > Hi, I am trying to use QSGDistanceFieldGlyphNode from the quick-private > module. I have > > QT += qml quick widgets quick-private gui-private core-private qml-private > > > in my .pro-file, and everything compiles, but during linking I get > unresolved symbols related to the QSGDistanceFieldGlyphNode class > > shapedtextitem.obj:-1: error: LNK2019: unresolved external symbol "public: > __thiscall QSGDistanceFieldGlyphNode::QSGDistanceFieldGlyphNode(class > QSGRenderContext *)" > (??0QSGDistanceFieldGlyphNode@@QAE@PAVQSGRenderContext@@@Z) > referenced in function "protected: virtual class QSGNode * __thiscall > ShapedTextItem::updatePaintNode(class QSGNode *,struct > QQuickItem::UpdatePaintNodeData *)" (?updatePaintNode@ShapedTextItem > @@MAEPAVQSGNode@@PAV2@PAUUpdatePaintNodeData@QQuickItem@@@Z) > > Do i need to link specifically to some library, or am I missing some > modules here?
None of those. The class is not exported. You'll need to edit the source code for that class and add QT_QUICK_EXPORT to src/quick/scenegraph/qsgdistancefieldglyphnode_p.h, then recompile the library. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest