QML is very slow on visual studio in debug mode
edcpwk last edited by
I'm trying to load a QML file inside a C++ application made under visual studio 2013 with the code below :
auto *view = new QQuickView; auto *context = view->rootContext(); view->setSource(QUrl::fromLocalFile("./qml/options.qml")); QWidget *container = QWidget::createWindowContainer(view, this); container->setMinimumSize(200, 200); container->setMaximumSize(600, 600); ui.horizontalLayout->addWidget(container);
This works well but in debug mode this is awfully slow.
There's no change switching from QT 5.4 to 5.7.
On QtCreator, the display remains fluid in either mode.
Is there something special to do for visual studio ?