QWidget *wgt= QWidget::find(ws);
int main(int argc, char *argv[]){ QApplication a(argc, argv); MainWindow w; HWND test = FindWindowA(0,"Калькулятор"); SetParent(test, w.winId()); w.show(); return a.exec();}