Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. processevent
    Log in to post

    • UNSOLVED Help with Autotest for Gerrit submission
      General and Desktop • test qt sources gerrit processevent • • oblivioncth  

      4
      0
      Votes
      4
      Posts
      38
      Views

      @oblivioncth said in Help with Autotest for Gerrit submission: So I should just add the cases locally, ensure they test correctly, and then commit --amend & push the changed test file as part of the rest of my submission? That's correct yes.
    • SOLVED messageBox not shown correctly
      General and Desktop • thread messagebox processevent • • dalishi  

      4
      0
      Votes
      4
      Posts
      225
      Views

      Hi guys I solved this problem by adding a sleeping time duration in my worker thread preventing it from returning too quick. Then the message box gets shown properly and closed properly. // member function to do the job bool MainWindow::waitReply() { // Here to sleep for a while QThread::sleep(2); bool received_valid_reply = false; while (!m_waitReplyCancelled) { if (Something Is Received) { received_valid_reply = true; return received_valid_reply; } } return received_valid_reply; }