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

Please make QSqlQuery::~QSqlQuery virtual

XMLWordPrintable

    • All

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes