[Development] How to get winid from qprocess id for QProcess
hi friend I am running an external app, which I want to fit onto my QScrollArea, for this I am writing code like this. // launch weasis QProcess *process = new QProcess(); process->start("./viewer-win32.exe"); if (process->waitForFinished()) { return; } QWindow *window = QWindow::fromWinId(211812356); window->setFlags(Qt::FramelessWindowHint); _patient_gui->scrollArea_1->setWidget(QWidget::createWindowContainer(window)); But how can I get the wind id? it is hard coded here, is there any way to get the id from process id. any help is highly appreciated. ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
[Development] QProcess app to set on QWidget
QProcess *process = new QProcess(); QStringList progargs; progargs << "/C" << "start C:\\ProgramData\\Microsoft\\Windows\\myapp.exe dicom:get C:\\Slicer\\Testing\\Data\\Input\\DWIDicom\\MR_0004_0028.dcm"; process->start("C:/windows/system32/cmd.exe", progargs); if (process->waitForFinished()) { return; } QWindow *appWindow = QWindow::fromWinId(process->processId()); appWindow->setFlags(Qt::FramelessWindowHint); _patient_gui->widget->createWindowContainer(appWindow); / ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Got a question on Qy3D
No problem Eddy, Thanks for notifying it. On Mon, 8 Jul 2019 at 15:19, Edward Welbourne wrote: > Sujan Dasmahapatra (5 July 2019 20:43) asked > > I'm loading an obj file in Qt3DWindow. The model is a restaurant which > has many objects as sofa, table etc. > > > > How can I extract individual objects. I'm unable to segregate as the > whole object is root entity. > > > > I actually want to apply texture different for each entity. > > > > Please help me with the possible solution. > > Hi Sujan, > > This looks like a question for the interest@ mailing list, where users > of Qt help one another, rather than development@, which is the list for > discussion of development of Qt itself. I'm afraid I know nothing of > Qt3D, > > Eddy. > ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
[Development] Got a question on Qy3D
Hi folks I'm loading an obj file in Qt3DWindow. The model is a restaurant which has many objects as sofa, table etc. How can I extract individual objects. I'm unable to segregate as the whole object is root entity. I actually want to apply texture different for each entity. Please help me with the possible solution. Thanks a lot for your suggestions in advance. Regards Sujan ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
[Development] Query for Qt web kits
Hi I need some idea about Web and Qt. Is it possible to design a full Website using Qt Webkits or Qt WebEngine? What are the key services of Qt Webkits and Qt Webengine s? Can we use Qt Webkits and Webengine along with PHP or Wordpress? Any suggestions highly appreciated. ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development