0

My current user interface is made with a QWidget, but I have made a nicer one in QML. I've already converted all the slots and signals to use a class that is basically a wrapper for the QML QQuickView, but because my main window has a menu bar and a dock, I would place the primary widget with setCentralWidget() which cannot be used with the QQuickView. How would I instantiate a QML front end so that it can be interpreted as a widget and set as central?

I am using qt 5.2.1 and visual studio 2010.

2
  • 1
    QQuickWidget is in 5.3, not 5.2. I can't use that. Commented Aug 5, 2014 at 20:46
  • 1
    Wolf gives right answer Commented Aug 5, 2014 at 21:00

1 Answer 1

3

The answer is QWidget::createWindowContainer in Qt 5.2.

source

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.