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

Qt-interest Archive, July 2007
Strange QTimeLine/QDialog problem


Message 1 in thread

I am experiencing a strange problem in Qt 4.3.0 (selfcompile, i386, ubuntu)

When I try to declare a QTimeLine* in my header file and I initialize it in
my source file,
the application segfaults as soon as the QDialog in the newDB() function
gets declared/initialized.

The segfault does not occur when I remove the "timeLine = new..."
initialization line.

I am really lost on this one.

The relevant code, including comments is available on qtnode pastebin here:
http://qtnode.net/pastebin/4237

Thanks in advance.

-- 
 [ signature omitted ] 

Message 2 in thread

2007/7/20, Wesley S. <wesley@xxxxxxxxxx>:
>
> I am experiencing a strange problem in Qt 4.3.0 (selfcompile, i386,
> ubuntu)
>
> When I try to declare a QTimeLine* in my header file and I initialize it
> in my source file,
> the application segfaults as soon as the QDialog in the newDB() function
> gets declared/initialized.
>
> The segfault does not occur when I remove the "timeLine = new..."
> initialization line.
>
> I am really lost on this one.
>
> The relevant code, including comments is available on qtnode pastebin
> here: http://qtnode.net/pastebin/4237
> <http://wesley.debianbox.be>


I solved the problem.

It was related to KDevelop. A manual compile worked fine, so I changed the
paths to qmake to a complete path, did a complete clean and compiled
everything again in KDevelop.

Works fine now.

-- 
 [ signature omitted ]