Preprocessor macros
-
Sorry, I meant Q_AUTOTEST_EXPORT "qquickloader_p.h":https://qt.gitorious.org/qt/qtdeclarative/blobs/8b62bb86cd94287a29fd1474efe04822523600df/src/quick/items/qquickloader_p.h#line50
Q_QUICK_PRIVATE_EXPORT "qsgdistancefieldglyphnode_p_p.h":http://qt.gitorious.org/qt/qtdeclarative/blobs/83e820ba767c2d37600d3536ebcfde18234d2f46/src/quick/scenegraph/qsgdistancefieldglyphnode_p_p.h#line51
-
Oh. They are macros for inner Qt usage (Qt Autotest environment). Learn more: http://qt-project.org/wiki/Qt_Autotest_Environment
-
The private export is so that you can add "QT += quick-private" and you'll be able to link against the private classes. It'll lock you to that specific (major/minor/patch) version of Qt, since there are no SC/BC guarantees for private classes.
-
Very well explained. Thank you tucnak and chrisadams for your answers.
Another question. I'm trying to use the QQuickLoader directly in my c++ code and I do not mind being tied down to one particular version of Qt but I keep getting unresolved external symbol errors. Any ideas?
-
And you have "QT += qml quick qml-private quick-private" in your .pro? You may also need the v8-private (I think that's module name for qmake's purposes, it might be jsbackend-private I don't remember) but I don't really know.