Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47955

QApplication doesn't respond correctly before initialization (segfault)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.5.0
    • Core: Threads
    • None

    Description

      #include <QApplication>
      
      int main(int argc, char *argv[])
      {
      	auto mainthread_id = QApplication::instance()->thread();//segfault
      	return 0;
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            kandel3 Mikhail Kandel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes