[GH-ISSUE #103] Crashing when importing import QtQuick.Controls 1.x #62

Closed
opened 2026-05-05 11:02:55 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Noahdw on GitHub (Jan 4, 2019).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/103

I believe the issue I'm having is related to this https://bugreports.qt.io/browse/QTBUG-64697, which causes my program to crash when importing QtQuick.Controls 1.x using Intel onboard 620 Graphics. Their proposed solution was to use QCoreApplication::setAttribute(Qt::AA_DisableShaderDiskCache) but this doesn't seem to be achievable with Qml.Net. Any ideas how I can accomplish the equivalent of this?

Originally created by @Noahdw on GitHub (Jan 4, 2019). Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/103 I believe the issue I'm having is related to this https://bugreports.qt.io/browse/QTBUG-64697, which causes my program to crash when importing QtQuick.Controls 1.x using Intel onboard 620 Graphics. Their proposed solution was to use `QCoreApplication::setAttribute(Qt::AA_DisableShaderDiskCache)` but this doesn't seem to be achievable with Qml.Net. Any ideas how I can accomplish the equivalent of this?
Author
Owner

@MaxMommersteeg commented on GitHub (Jan 4, 2019):

Does it crash when running https://github.com/qmlnet/qmlnet-examples? What OS are you on, maybe I can reproduce the crash.

Does it still crash when targetting QtQuick.Controls 2.x, is it necessary to target that version of QtQuick.Controls?

<!-- gh-comment-id:451566836 --> @MaxMommersteeg commented on GitHub (Jan 4, 2019): Does it crash when running https://github.com/qmlnet/qmlnet-examples? What OS are you on, maybe I can reproduce the crash. Does it still crash when targetting QtQuick.Controls 2.x, is it necessary to target that version of QtQuick.Controls?
Author
Owner

@Noahdw commented on GitHub (Jan 4, 2019):

I'm running on windows 10. It works with QtQuick.Controls 2.x. To be honest I never really looked at what the difference between QtQuick.Controls 1 and 2 was, but now that I look I see that I can accomplish when I need with 2.x. Guess this is kinda a non-issue now, thanks though.

<!-- gh-comment-id:451572529 --> @Noahdw commented on GitHub (Jan 4, 2019): I'm running on windows 10. It works with QtQuick.Controls 2.x. To be honest I never really looked at what the difference between QtQuick.Controls 1 and 2 was, but now that I look I see that I can accomplish when I need with 2.x. Guess this is kinda a non-issue now, thanks though.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#62
No description provided.