[Qt-interest] error

Moises Augusto jr.jorro at gmail.com
Thu Feb 4 20:25:45 CET 2010


Hello guys,

In an attempt to compile my program (development on Linux) in the windows,
I'm having the following problem:

In a list, choose an option and call QSqlRecord:

            record = modeloGrupo->record(index.row());

Where modeloGrupo is a QSqlTableModel *modeloGrupo and index.row() is a
QModelIndex index.

The error is:

ASSERT: "idx >= 0 && idx < s" in file
..\..\include/QtCore/../../src/corelib/tools/qvarlengtharray.h, line 107

Invalid parameter passed to C runtime function.

img of error on the desktop: http://yfrog.com/5xerrortup

regards,



Moises
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100204/b8ecfe3b/attachment.html 


More information about the Qt-interest-old mailing list