Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, March 2002
strange things happen with QTabWidget under 2.3.1


Message 1 in thread

hi!

i just browsed through the digest, but did not find anything obvious.

i have a nice little application up and running; now i decided to add a 
QTabWidget; if I add it to my class description in the header file, and 
i rerun moc on that one, the whole app crashes; if i remove the 
QTabWidget from the header, recompile the whole stuff (not before 
running moc again), it works again fine....


??????????????????????????????????????????????????????????????????

is this something that sounds familiar, or am i just doing something 
wrong in a very obvious manner? i run SuSE 7.3 and Qt 2.3.1

yours
wolfgang


Message 2 in thread

Have you added at least 1 page to your QTabWidget?

JK

Wolfgang Birkfellner wrote:

> hi!
>
> i just browsed through the digest, but did not find anything obvious.
>
> i have a nice little application up and running; now i decided to add a
> QTabWidget; if I add it to my class description in the header file, and
> i rerun moc on that one, the whole app crashes; if i remove the
> QTabWidget from the header, recompile the whole stuff (not before
> running moc again), it works again fine....
>
> ??????????????????????????????????????????????????????????????????
>
> is this something that sounds familiar, or am i just doing something
> wrong in a very obvious manner? i run SuSE 7.3 and Qt 2.3.1
>
> yours
> wolfgang
>
> --
> List archive and information: http://qt-interest.trolltech.com


Message 3 in thread

Wolfgang Birkfellner wrote:

> Jarek Kobus wrote:
>
> > Have you added at least 1 page to your QTabWidget?
>
> er - no :-(
>
> but doe THAT afflict the code even if I do not even allocate the Widget???
>

I had the same problem, and when I wanted my QTabWidget to be empty, I had to
hide it (not necessary destroy it).
Still, how to imagine visibility of an empty QTabWidget?...

Regards

JK

>
> yours
> wolfgang
>
> >
> > JK
> >
> > Wolfgang Birkfellner wrote:
> >
> >
> >>hi!
> >>
> >>i just browsed through the digest, but did not find anything obvious.
> >>
> >>i have a nice little application up and running; now i decided to add a
> >>QTabWidget; if I add it to my class description in the header file, and
> >>i rerun moc on that one, the whole app crashes; if i remove the
> >>QTabWidget from the header, recompile the whole stuff (not before
> >>running moc again), it works again fine....
> >>
> >>??????????????????????????????????????????????????????????????????
> >>
> >>is this something that sounds familiar, or am i just doing something
> >>wrong in a very obvious manner? i run SuSE 7.3 and Qt 2.3.1
> >>
> >>yours
> >>wolfgang
> >>
> >>--
> >>List archive and information: http://qt-interest.trolltech.com
> >>
> >
> >