qt-interest@trolltech.com
[Top] [All Lists]

Re: QVector<T> - Assert failure Qt 4.3 - SOLVED

Subject: Re: QVector<T> - Assert failure Qt 4.3 - SOLVED
From: Vitor Vasconcelos Araujo Silva
Date: Thu, 31 Jul 2008 19:20:30 +0200

> Based on what Vitor has said... Im betting his variable viewmagp_xpm
> is not initialized..
>
> Scott

        Hi Scott,

        viewmagp_xpm is included as a .xpm file.
I have:

#include "xpm/viewmag+.xpm"

And its contents:

/* XPM */
/* Drawn  by Mark Donohoe for the K Desktop Environment */
/* See http://www.kde.org */
static const char *viewmagp_xpm[]={
"22 22 5 1",
"# c #000000",
"c c #a0a0a4",
"a c #dcdcdc",
"b c #ffffff",
". c None",
"......................",
"......................",
"......................",
"......................",
"......................",
".......####...........",
"......#abba#..........",
".....#abcbba#.........",
".....#bcbbbb#.........",
".....#bbbbbb#.........",
".....#abbbba#.........",
"......#abba##.........",
".......#######........",
"............###.......",
".....#.......###......",
".....#........###.....",
"..#######.....##.....",
".....#................",
".....#................",
"......................",
"......................",
"......................"};

You can see in the sixth line from the bottom a '.' is missing making one line less longer than others. I just corrected it and... BINGO. I really thank you all for all suggestions, specially this one and the backtrace that pointed me direct the place of error.
        This list is an amazing non-stop learning environment.

        
--
        Vitor VASCONCELOS
        Projet QGAR
        LORIA / INRIA-Lorraine
        Campus Scientifique, BP 239
        54506, Vandoeuvre-lès-Nancy, FRANCE
        Tel: +33 (0)3 54 95 85 76


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>