qtdeclarative failed to compile :(

  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  compiling main.cpp
  main.cpp:65:1: error: 'QStringList' does not name a type
  main.cpp:67:23: error: 'QString' does not name a type
  main.cpp:67:32: error: ISO C++ forbids declaration of 'appName' with no type 
[-fpermissive]
  main.cpp: In function 'void printUsage(const int&)':
  main.cpp:69:55: error: 'QMessageLogger' was not declared in this scope
  main.cpp:69:55: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qlogging.h:85:7: 
note:   'TestNamespace::QMessageLogger'
  main.cpp:69:195: error: 'QString' was not declared in this scope
  main.cpp:69:195: note: suggested alternative:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:206:7: 
note:   'TestNamespace::QString'
  main.cpp:69:210: error: 'QString' was not declared in this scope
  main.cpp:69:210: note: suggested alternative:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:206:7: 
note:   'TestNamespace::QString'
  main.cpp:69:210: error: declaration of '<typeprefixerror>QString'
  main.cpp:69:195: error: conflicts with previous declaration 
'<typeprefixerror>QString'
  main.cpp: At global scope:
  main.cpp:75:1: error: 'QVariantList' does not name a type
  main.cpp:111:1: error: 'QVariantList' does not name a type
  main.cpp:140:1: error: 'QVariantList' does not name a type
  main.cpp:158:1: error: 'QString' does not name a type
  main.cpp:181:1: error: 'QString' does not name a type
  main.cpp:198:1: error: 'QString' does not name a type
  main.cpp:208:1: error: 'QVariantList' does not name a type
  main.cpp:226:1: error: 'QVariantList' does not name a type
  main.cpp:236:1: error: 'QVariantList' does not name a type
  main.cpp: In function 'int main(int, char**)':
  main.cpp:266:5: error: 'QCoreApplication' was not declared in this scope
  main.cpp:266:5: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:74:7:
 note:   'TestNamespace::QCoreApplication'
  main.cpp:266:22: error: expected ';' before 'app'
  main.cpp:267:5: error: 'QStringList' was not declared in this scope
  main.cpp:267:5: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qstringlist.h:61:7:
 note:   'TestNamespace::QStringList'
  main.cpp:267:17: error: expected ';' before 'args'
  main.cpp:268:11: error: 'QString' does not name a type
  main.cpp:269:9: error: 'args' was not declared in this scope
  main.cpp:270:20: error: 'appName' was not declared in this scope
  main.cpp:275:17: error: expected ';' before 'qmlRootPaths'
  main.cpp:276:17: error: expected ';' before 'qmlImportPaths'
  main.cpp:279:16: error: 'args' was not declared in this scope
  main.cpp:280:15: error: 'QString' does not name a type
  main.cpp:282:14: error: 'arg' was not declared in this scope
  main.cpp:283:13: error: 'qmlRootPaths' was not declared in this scope
  main.cpp:284:45: error: 'QLatin1String' was not declared in this scope
  main.cpp:284:45: note: suggested alternative:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:80:7: 
note:   'TestNamespace::QLatin1String'
  main.cpp:288:68: error: 'QMessageLogger' was not declared in this scope
  main.cpp:288:68: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qlogging.h:85:7: 
note:   'TestNamespace::QMessageLogger'
  main.cpp:291:23: error: 'QString' does not name a type
  main.cpp:295:17: error: 'qmlRootPaths' was not declared in this scope
  main.cpp:299:68: error: 'QMessageLogger' was not declared in this scope
  main.cpp:299:68: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qlogging.h:85:7: 
note:   'TestNamespace::QMessageLogger'
  main.cpp:302:23: error: 'QString' does not name a type
  main.cpp:306:17: error: 'qmlImportPaths' was not declared in this scope
  main.cpp:309:64: error: 'QMessageLogger' was not declared in this scope
  main.cpp:309:64: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qlogging.h:85:7: 
note:   'TestNamespace::QMessageLogger'
  main.cpp:314:5: error: 'g_qmlImportPaths' was not declared in this scope
  main.cpp:314:24: error: 'qmlImportPaths' was not declared in this scope
  main.cpp:317:5: error: 'QVariantList' was not declared in this scope
  main.cpp:317:5: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/json/qjsonarray.h:53:25: 
note:   'TestNamespace::QVariantList'
  main.cpp:317:18: error: expected ';' before 'imports'
  main.cpp:320:5: error: 'QByteArray' was not declared in this scope
  main.cpp:320:5: note: suggested alternative:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qbytearray.h:170:7:
 note:   'TestNamespace::QByteArray'
  main.cpp:320:16: error: expected ';' before 'json'
  main.cpp:321:18: error: 'json' was not declared in this scope
  main.cpp: At global scope:
  main.cpp:264:5: error: unused parameter 'argc' [-Werror=unused-parameter]
  main.cpp:264:5: error: unused parameter 'argv' [-Werror=unused-parameter]
  make[3]: *** [.obj/debug-shared/main.o] Error 1
  make[2]: *** [sub-qmlimportscanner-make_first] Error 2
  make[1]: *** [sub-tools-make_first] Error 2
  make: *** [module-qtdeclarative] Error 2

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

  Tested changes (refs/builds/dev_1378906357):
    http://codereview.qt-project.org/65070 [PS1] - Export QQuickDefaultClipNode 
for modules using quick-private.
    http://codereview.qt-project.org/63646 [PS11] - Add qmlimportscanner.
    http://codereview.qt-project.org/63256 [PS11] - V4 JIT: generate code for 
binary expressions.
    http://codereview.qt-project.org/65163 [PS2] - Fix return type checks in 
test.
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to