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

QDataWidgetMapper not submitting data with QSqlRelationalTableModel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 4.7.0
    • Fix Version/s: None
    • Component/s: SQL Support
    • Labels:
      None
    • Environment:
      Linux, MySql

      Description

      I am used a modified code from Qt examples. Next code not working. When I press a Submit button, data not saving in database, but submit function of mapper returned true.

        Attachments

        1. initdb.h
          2 kB
        2. main.cpp
          0.2 kB
        3. mainwindow.cpp
          3 kB
        4. mainwindow.h
          0.8 kB
        5. mainwindow.ui
          4 kB
        6. relationalcombo.pro
          0.4 kB
        7. relationalcombo.pro.user
          43 kB
        8. window.cpp
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            Reporter:
            phoenix_ria Rusin Igor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes