[Qt-creator] Cannot display QML inside creator, works just fine outside it

Robert Löhning robert.loehning at theqtcompany.com
Tue Feb 16 16:00:13 CET 2016


Am 12.02.2016 um 09:39 schrieb Hunger Tobias:
> On Do, 2016-02-11 at 23:13 +0200, Nikos Chantziaras wrote:
>> When I run an application that displays a QQuickWidget outside of
>> Creator, everything is fine. However, when running it in Creator (with
>> or without debugger), the application freezes at the moment the
>> QQuickWidget is used, and I get this error in "Application Output":
>>
>>     Unrecognized OpenGL version
>>     Unrecognized OpenGL version
>>
>> What is wrong here?
>>
>> I'm on Linux 64-bit, with Qt Creator 3.6.0.
>
> Hello Nikos,
>
> I had a similar problem before: Apparently some Linux graphics drivers lock up
> when two applications try to use GL at the same time:-/
>
> Your QML-using application is one program, and Qt Creator requires GL for the
> QMLProfiler/QMLDesigner and the Welcome plugin. The first two are only loaded on
> demand, but the Welcome page is shown directly. To prevent that, you can try to
> start Qt Creator with "-noload Welcome" options.
>
> If your application starts then without freezing Qt Creator, then you can try to
> experiment with your graphics drivers.
>
> You should get the same freezes by starting any two openGL applications at the
> same time (e.g. two instances of GLXgears).
>
> Best Regards,
> Tobias
>

Hi *,

for completeness' sake, that issue is
https://bugreports.qt.io/browse/QTBUG-49334

Best Regards,
Robert


-- 
   Robert Löhning, Software Engineer - The Qt Company
   The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
   Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
   Sitz der Gesellschaft: Berlin,
   Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list