Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 24th, 2012  |  syntax: None  |  size: 4.21 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. waf configuration for qt debug file to be included
  2. #include <QDebug>
  3.        
  4. def configure(conf):
  5.     conf.env.append_value('CXXFLAGS', ['-DWAF=1'])  
  6.     conf.load('compiler_cxx qt4')
  7.     conf.check_cfg(package='gstreamer-0.10', args='--cflags --libs',        
  8.             uselib_store='GSTREAMER')
  9.        
  10. vickey@tb:~/p2p$ ./waf configure
  11. Setting top to                           : /home/vickey/tunebasket/p2p
  12. Setting out to                           : /home/vickey/tunebasket/p2p/build
  13. Checking for 'g++' (c++ compiler)        : /usr/bin/g++
  14. Checking for 'gcc' (c compiler)          : /usr/bin/gcc
  15. Checking for program qmake-qt4           : /usr/bin/qmake-qt4
  16. Checking for program qmake4              : not found
  17. Checking for program qmake               : /usr/local/Trolltech/Qt-4.8.0/bin/qmake
  18. Checking for program uic-qt3             : not found
  19. Checking for program uic3                : /usr/local/Trolltech/Qt-4.8.0/bin/uic3
  20. Checking for program uic-qt4             : /usr/bin/uic-qt4
  21. Checking for uic version                 : version 4.7.4
  22. Checking for program moc-qt4             : /usr/bin/moc-qt4
  23. Checking for program rcc                 : /usr/local/Trolltech/Qt-4.8.0/bin/rcc
  24. Checking for program lrelease-qt4        : /usr/bin/lrelease-qt4
  25. Checking for program lupdate-qt4         : /usr/bin/lupdate-qt4
  26. Found the Qt4 libraries in               : /usr/local/Trolltech/Qt-4.8.0/lib
  27. Checking for program pkg-config          : /usr/bin/pkg-config
  28. Checking for pkg-config version >= '0.1' : yes
  29. Checking for 'QtCore_debug'              : not found
  30. Checking for 'QtGui_debug'               : not found
  31. Checking for 'QtUiTools_debug'           : not found
  32. Checking for 'QtNetwork_debug'           : not found
  33. Checking for 'QtOpenGL_debug'            : not found
  34. Checking for 'QtSql_debug'               : not found
  35. Checking for 'QtSvg_debug'               : not found
  36. Checking for 'QtTest_debug'              : not found
  37. Checking for 'QtXml_debug'               : not found
  38. Checking for 'QtXmlPatterns_debug'       : not found
  39. Checking for 'QtWebKit_debug'            : not found
  40. Checking for 'Qt3Support_debug'          : not found
  41. Checking for 'QtHelp_debug'              : not found
  42. Checking for 'QtScript_debug'            : not found
  43. Checking for 'QtDeclarative_debug'       : not found
  44. Checking for 'QtCore'                    : yes
  45. Checking for 'QtGui'                     : yes
  46. Checking for 'QtUiTools'                 : yes
  47. Checking for 'QtNetwork'                 : yes
  48. Checking for 'QtOpenGL'                  : yes
  49. Checking for 'QtSql'                     : yes
  50. Checking for 'QtSvg'                     : yes
  51. Checking for 'QtTest'                    : yes
  52. Checking for 'QtXml'                     : yes
  53. Checking for 'QtXmlPatterns'             : yes
  54. Checking for 'QtWebKit'                  : yes
  55. Checking for 'Qt3Support'                : yes
  56. Checking for 'QtHelp'                    : yes
  57. Checking for 'QtScript'                  : yes
  58. Checking for 'QtDeclarative'             : yes
  59. Checking for 'gstreamer-0.10'            : yes
  60. 'configure' finished successfully 0.758s
  61. vickey@tb:~/p2p$ ./waf build
  62. Waf: Entering directory `/home/vickey/tunebasket/p2p/build'
  63. gstreamer includes ['/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', '/usr/include/gstreamer-0.10', '/usr/include/libxml2']
  64. [9/9] qxx: src/player/GSTEngine.cpp -> build/src/player/GSTEngine.cpp.1.o
  65. ../src/player/GSTEngine.cpp:7:18: fatal error: QDebug: No such file or directory
  66. compilation terminated.
  67. Waf: Leaving directory `/home/vickey/tunebasket/p2p/build'
  68. Build failed
  69.  -> task in '' failed (exit status 1):
  70.     {task 16658960: qxx GSTEngine.cpp -> GSTEngine.cpp.1.o}
  71. ['/usr/bin/g++', '-DWAF=1', '-Wall', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/gstreamer-0.10', '-I/usr/include/libxml2', '-DHAVE_QTCORE=1', '-DHAVE_QTGUI=1', '-DHAVE_QTUITOOLS=1', '-DHAVE_QTNETWORK=1', '-DHAVE_QTOPENGL=1', '-DHAVE_QTSQL=1', '-DHAVE_QTSVG=1', '-DHAVE_QTTEST=1', '-DHAVE_QTXML=1', '-DHAVE_QTXMLPATTERNS=1', '-DHAVE_QTWEBKIT=1', '-DHAVE_QT3SUPPORT=1', '-DHAVE_QTHELP=1', '-DHAVE_QTSCRIPT=1', '-DHAVE_QTDECLARATIVE=1', '-DHAVE_GSTREAMER=1', '../src/player/GSTEngine.cpp', '-c', '-o', 'src/player/GSTEngine.cpp.1.o']