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

Please make QSqlQuery::~QSqlQuery virtual

    XMLWordPrintable

Details

    • All

    Description

      Hi

      I want subclass QSqlQuery, but I can't. The reason is it has no virtual destructor, so my derivative class can't unregister from QSqlDatabase.

      I need to subclass QSqlQuery in order to add exceptions to most common used functions (throw when some of it fail).

      thanks and best regards

      Szyk Cech

      Attachments

        Activity

          People

            andysh Andy Shaw
            szykcech Szyk Cech
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: