Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29478

Qt app built for debug quits unexpectedly on Mac in Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 11.0.3
    • Qt Creator 11.0.1
    • All Other Issues
    • None
    • 15-inch 2016 MacBook Pro
      macOS 12.6.8
      Ubuntu 22.04
      Qt 6.5.2
      Qt Creator 11.0.1
    • macOS
    • f2da62fd2 (11.0)

    Description

      I have a somewhat simple program. Whenever I build and run for debug via Qt Creator, the app quits unexpectedly after clicking the log in button and a problem report is displayed with the attached content. However, the app should've simply displayed a message box. The same project works just fine under Ubuntu 22.04 and likewise versions of both Qt and Qt Creator.

      As suggested by this topic on Qt Forum, the built app can be successfully run from the Terminal or Finder. In addition, it works perfectly in Qt Creator when built and ran for release.

      Here's the link to the full project. Everything happens in login_window.cpp. You need argon2 installed in order to run the project. Or, try removing the dependency to see if you can reproduce the problem.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-29478
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            mehrshad Mehrshad Khansarian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes