Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Unable to listen to port

$
0
0
Yes i am running it with QtCreater and no, i am not running another program in QtCreator. The problem would be probably that i’ve got a QMainWindow and i am trying to create a WindowedContainer with a QQuickView as it’s view and the QMainWindow as it’s parent? Is there any way to still make it work or is there another way to use a QtQuick 2.0 application inside a QMainWindow? MainWindow::MainWindow(QWidget *parent) :     QMainWindow(parent),     ui(new Ui::MainWindow) {     ui->setupUi(this);       QQuickView *view = new QQuickView();     view->setSource(QUrl("testqml.qml"));     QWidget *container = QWidget::createWindowContainer(view, this);       container->show(); }

Viewing all articles
Browse latest Browse all 4972

Trending Articles