title: Qml / Qt / C++ : QQuickView in a QWidget - Need Background Transparency
body: <p>I am trying to get my container with a qquickview in it to be transparent, and only display the elements from the QML file without the background.</p>
  
  <p>Is there a nicer way to implement this? Here is the relevant code, you can see I have commented out adding the QML to it so that the only offender is the QWidget containing a QQuickView</p>
  
  <p>The QML will make a menu similar to Apple's "Cover Flow" using only text. I only want the text it generates to be visible.</p>
  
  <p>Currently it has a solid white background.</p>
  
  <pre><code>QQuickView *view = new QQuickView();
  QWidget *container = QWidget::createWindowContainer(view, this);
  container-&gt;setObjectName("wrappingContainer");
  container-&gt;setMinimumSize(1000, 240);
  container-&gt;setMaximumSize(1000, 240);
  container-&gt;setFocusPolicy(Qt::TabFocus);
  
  //view-&gt;setSource(QUrl("qrc:/qml/wrappingMenu.qml"));
  ui-&gt;testLayout-&gt;addWidget(container);
  </code></pre>