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

Set style "Fusion" stop program with SIGSEGV

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.2
    • 5.0.1
    • GUI: Look'n'Feel
    • None
    • Windows XP SP3
    • 75087198306d615c7df1fb3763c5027834f0b99c

    Description

      The code only setting style Fusion generates SIGSEGV:
      =============================================================
      void Widget_Options::SlotStyleChanged(int iIdx)
      {
      if (iIdx == 0) QApplication::setStyle(QStyleFactory::create("WindowsXP"));
      if (iIdx == 1) QApplication::setStyle(QStyleFactory::create("Windows"));
      if (iIdx == 2) QApplication::setStyle(QStyleFactory::create("Fusion"));
      }
      =============================================================
      The error is not constant. Very strange.
      Small project is attached.

      QT 5.0.1 / MinGW 47_32bit

      Attachments

        1. Testo.zip
          2 kB
          Majestio
        2. segfault.png
          138 kB
          Majestio
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            smd Jan Arve
            majestio Majestio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes