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

QuickDesigner: Applying no C++ backend results in soft assert

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 4.2.0-beta1
    • Quick Designer
    • macOS 10.10, QC 4.2 snapshot based on Qt5.7.1

    Description

      Steps to reproduce:

      • create Quick Application from template (I've unchecked 'with ui.qml file')
      • switch to Designer
      • inside the 'Connections' widget choose Backends, click on the '+' button
      • a dialog comes up with an empty combobox (Type)
      • click OK

      Current result:

      • on the cmdline you get
        SOFT ASSERT: "false" in file /work/build/qt-creator/src/plugins/qmldesigner/qmldesignerextension/connectioneditor/backendmodel.cpp, line 234

      I'd say just turn the soft assert into a valid if clause instead OR ensure that 'OK' can only get clicked if the combobox has a selected item.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes