qtdeclarative failed to compile :(

  In file included from qml/qqmlextensionplugin.cpp:43:0:
  qml/qqmlextensionplugin.h: In static member function 'static 
QQmlExtensionPluginPrivate* 
QQmlExtensionPluginPrivate::get(TestNamespace::QQmlExtensionPlugin*)':
  qml/qqmlextensionplugin.h:59:40: error: 
'TestNamespace::QQmlExtensionPluginPrivate* 
TestNamespace::QQmlExtensionPlugin::d_func()' is private
  qml/qqmlextensionplugin_p.h:64:87: error: within this context
  qml/qqmlextensionplugin_p.h:64:87: error: cannot convert 
'TestNamespace::QQmlExtensionPluginPrivate*' to 'QQmlExtensionPluginPrivate*' 
in return
  qml/qqmlextensionplugin.cpp: In constructor 
'TestNamespace::QQmlExtensionPlugin::QQmlExtensionPlugin(TestNamespace::QObject*)':
  qml/qqmlextensionplugin.cpp:148:21: error: invalid use of incomplete type 
'struct TestNamespace::QQmlExtensionPluginPrivate'
  qml/qqmlextensionplugin.h:52:7: error: forward declaration of 'struct 
TestNamespace::QQmlExtensionPluginPrivate'
  qml/qqmlextensionplugin.cpp: In member function 'TestNamespace::QUrl 
TestNamespace::QQmlExtensionPlugin::baseUrl() const':
  qml/qqmlextensionplugin.cpp:162:13: error: invalid use of incomplete type 
'const struct TestNamespace::QQmlExtensionPluginPrivate'
  qml/qqmlextensionplugin.h:52:7: error: forward declaration of 'const struct 
TestNamespace::QQmlExtensionPluginPrivate'
  qml/qqmlextensionplugin.cpp:163:1: warning: control reaches end of non-void 
function [-Wreturn-type]
  make[3]: *** [.obj/debug-shared/qqmlextensionplugin.o] Error 1
  In file included from 
/work/build/qt/qtbase/include/QtQml/5.1.0/QtQml/private/qqmlextensionplugin_p.h:1:0,
                   from qml/qqmlimport.cpp:53:
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlextensionplugin.h:
 In static member function 'static QQmlExtensionPluginPrivate* 
QQmlExtensionPluginPrivate::get(TestNamespace::QQmlExtensionPlugin*)':
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlextensionplugin.h:59:40:
 error: 'TestNamespace::QQmlExtensionPluginPrivate* 
TestNamespace::QQmlExtensionPlugin::d_func()' is private
  
/work/build/qt/qtbase/include/QtQml/5.1.0/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlextensionplugin_p.h:64:87:
 error: within this context
  
/work/build/qt/qtbase/include/QtQml/5.1.0/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlextensionplugin_p.h:64:87:
 error: cannot convert 'TestNamespace::QQmlExtensionPluginPrivate*' to 
'QQmlExtensionPluginPrivate*' in return
  qml/qqmlimport.cpp: In function 'TestNamespace::QQmlType* 
TestNamespace::{anonymous}::getTypeForUrl(const TestNamespace::QString&, const 
TestNamespace::QHashedStringRef&, 
TestNamespace::QList<TestNamespace::QQmlError>*)':
  qml/qqmlimport.cpp:153:156: warning: format not a string literal and no 
format arguments [-Wformat-security]
  qml/qqmlimport.cpp: In member function 'bool 
TestNamespace::QQmlImportDatabase::importPlugin(const TestNamespace::QString&, 
const TestNamespace::QString&, const TestNamespace::QString&, 
TestNamespace::QList<TestNamespace::QQmlError>*)':
  qml/qqmlimport.cpp:1690:25: error: incomplete type 
'TestNamespace::QQmlExtensionPluginPrivate' used in nested name specifier
  make[3]: *** [.obj/debug-shared/qqmlimport.o] Error 1
  make[2]: *** [sub-qml-make_first-ordered] Error 2
  make[1]: *** [sub-src-make_first] Error 2
  make: *** [module-qtdeclarative] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtDeclarative_dev_Integration/build_00159/linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64/log.txt.gz

  Tested changes (refs/builds/dev_1361195581):
    http://codereview.qt-project.org/47822 [PS2] - qmlplugindump: don't crash 
if a composite type was a registered
    http://codereview.qt-project.org/47532 [PS6] - Make the base URL available 
to QQmlExtensionPlugin
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to