Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

QmlApplicationViewer error

By: a guest on Mar 28th, 2012  |  syntax: C++  |  size: 0.64 KB  |  hits: 59  |  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. QmlApplicationViewer::QmlApplicationViewer(QWidget *parent)
  2.     : QDeclarativeView(parent)
  3.     , d(new QmlApplicationViewerPrivate())
  4. {
  5.     connect(engine(), SIGNAL(quit()), SLOT(close()));
  6.     setResizeMode(QDeclarativeView::SizeRootObjectToView);
  7.     // Qt versions prior to 4.8.0 don't have QML/JS debugging services built in
  8. #if defined(QMLJSDEBUGGER) && QT_VERSION < 0x040800
  9. #if !defined(NO_JSDEBUGGER)
  10.     new QmlJSDebugger::JSDebuggerAgent(engine());
  11. #endif
  12. #if !defined(NO_QMLOBSERVER)
  13.     new QmlJSDebugger::QDeclarativeViewObserver(this, this);
  14. #endif
  15. #endif
  16. }
  17.  
  18.  
  19. QmlApplicationViewer::~QmlApplicationViewer()
  20. {
  21.     delete d;
  22. }