in window_A.h
include "window_b.h"
private slot:
void showWindow_B();
and pointer to window_b in private so
Window_B *myWindow_B;
in window_A.cpp
add
in your main funtion
connect(ui.startButton, SIGNAL(clicked()), this, SLOT(showWindow_B());
void Window_A::showWindow_B
{
myWindow_B.show();
{
works in my current project with 5 uis![]()
Bookmarks