Important: Please read the Qt Code of Conduct -

QStringlist - strings missing in long list

  • Hi,

    Am fetching large data ( more than 30K records( only 1 column)) from database and keeping in QStringlist container for further processing and i found that some records went missing. The total items in the list are not matching with the records i got from the database.

    Facing the same problem with QHash and QMap because of collision and it seems QStringlist is also using QHash in its internal implementation.

    so i want to know.

    Is this is a bug or limitation of QStringlist
    Is there any other way to store large data without loss.

  • Hi,

    the problem described IMHO isn't a QStringList problem; probably you have some problem with data.
    What is the query used to retrieve data from database? what the one used to retrieve records number?

  • Lifetime Qt Champion

Log in to reply