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. [SOLVED]QWidget: Must construct a QApplication before a QWidget
QtWS25 Last Chance

[SOLVED]QWidget: Must construct a QApplication before a QWidget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.6k 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.
  • saeedhardanS Offline
    saeedhardanS Offline
    saeedhardan
    wrote on last edited by
    #1

    Hi ,
    can someone please help , suddenly i started to get this error even though i haven't made any changes to the code since last time it ran ok .
    im working from within vmware , i think sometime it crashed and since then i get this error , what couldv'e went wrong how do i verify where this error is comming from , as i searched google i read that it could be generated by misuse of static method/variable that can create a QWidget before main , but the problem is i haven't made any changes to the code . and my software is a big one for me now to go over all the code .

    1 Reply Last reply
    0
    • saeedhardanS Offline
      saeedhardanS Offline
      saeedhardan
      wrote on last edited by
      #2

      never mind , sorry for the bother , looks like there was a global QWidget variable that i used to test something then i had to close the project and leave .
      and i forgot about that since i never tested what i intended to test xD .

      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