[Qt-creator] Crash QtCreator using a simple json-based wizard

Axel Jäger axeljaeger at googlemail.com
Mon Mar 2 00:14:33 CET 2015


Hello together,
finally I found some time to dig into this:
I was not able to reproduce this on my computer at work but it still crashed
on my machine at home after the latest update so I decided to compile a
QtCreator from source to be able to debug.

The most recent version from git does not load my crashing template and
complains that "data must be a JSON object für Project pages".

It is interesting to see that my template was not valid in the first place
but only machine complained about it, even with a crash.

Best regards,

Axel

I compiled QtCreator from git and found out that 

-----Ursprüngliche Nachricht-----
Von: Stenger Christian [mailto:Christian.Stenger at theqtcompany.com] 
Gesendet: Montag, 26. Januar 2015 07:51
An: Tobias Hunger; Axel Jäger
Cc: qt-creator
Betreff: Re: [Qt-creator] Crash QtCreator using a simple json-based wizard

Hi,

tried to reproduce with QC master and 3.3 branch on Linux, but both worked
without any problems. Can you please add some more information on the
platform, Qt version, and branch you're using?

Kind regards,
Christian


________________________________________
From: qt-creator-bounces+christian.stenger=theqtcompany.com at qt-project.org
<qt-creator-bounces+christian.stenger=theqtcompany.com at qt-project.org> on
behalf of Tobias Hunger <tobias.hunger at gmail.com>
Sent: Saturday, January 24, 2015 12:49 PM
To: Axel Jäger
Cc: qt-creator
Subject: Re: [Qt-creator] Crash QtCreator using a simple json-based wizard

Hi Axel,

Nice to see somebody but me use this:-)

The template.qbs file should not even be considered at this point, so it
must be the wizard.json file triggering something.

I'll look into your problem first thing on Monday.

Best Regards,
Tobias

On Fri, Jan 23, 2015 at 10:17 PM, Axel Jäger <axeljaeger at googlemail.com>
wrote:
> Hello,
>
> today I tried to port over an existing xml-based project template to 
> the new json-based wizard engine.
>
>
>
> I was not successfull: My wizard makes QtCreator crash and I dont know
why.
> Attached you will find my wizard stripped but still making my 
> QtCreator crash. The second file, templatefile.json is just an empty 
> file to have at least one generator file in the wizard.
>
>
>
> The crash occours when stepping from the first to the second page of 
> the wizard, e.g. after entering the project directory.
>
>
>
> Can anybody confirm my crash and give hints how to circumvent the crash?
>
>
>
> Best regards,
>
>
>
> Axel Jäger
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator




More information about the Qt-creator mailing list