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. Simple MainWindow Problem :)

Simple MainWindow Problem :)

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 708 Views
  • 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.
  • W Offline
    W Offline
    Walux
    wrote on last edited by
    #1

    I have a QWidget Class and a QMainWindow Class , designed with Qt Designer .
    In the main , i called the widget to show , no problem , and i connected one button to show the MainWindow , but when i click the button , the main window appears in a flash then disappears .

    I'll be grateful for your help.

    Taking things from beginning to end : That's my entertainment !

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Walux
      wrote on last edited by
      #2

      It's alright , i fixed it .
      All i had to do was add a private instance of my mainWindow class in my widget's header .

      But i'll still b happy to know the reason why it worked now , and didn't work before :)

      Taking things from beginning to end : That's my entertainment !

      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