Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to Connect one dialogue form to other dialogue form in qt
Forum Updated to NodeBB v4.3 + New Features

How to Connect one dialogue form to other dialogue form in qt

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 670 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tannyveer
    wrote on last edited by
    #1

    Hello,

    I am creating three forms class names are mainwindow,form1,form2
    

    i am communicating the two forms from the mainwindow using signal and slots method but i am unable to connect form1 to form2 using signal and slots
    i am creating new form2 object in form1 i.e code is
    form2 res;
    connect(this,SIGNAL(changed()),&res,SLOT(result());

    I got the following errors:
    expected before res;
    statement cannot resolve address of overloaded function
    res cannot declared in this scope;

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      It is compilation issue. Can you post the code here ? It will help us to identify
      the issue.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved