mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #70] Sample project doesn't work on Windows #42
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 20, 2018).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/70
Hi,
I tried downloading and launching the sample project "Features", however it doesn't work on my Windows 10 machine with Visual Studio 2017 15.8 : i get an error message for a few seconds and then the program exits.
It is a bit unclear in documentation when does Qt libraries get copied to debug directory.
Thanks a lot for your help and your great project ;-)
Have a nice day.
Antony
@MaxMommersteeg commented on GitHub (Sep 20, 2018):
See following closed issue for an explanation about the error message: https://github.com/pauldotknopf/Qml.Net/issues/65
Perhaps it would be better to submit this issue to the samples repository: https://github.com/pauldotknopf/Qml.Net.Examples
For now I will try to run the examples project myself and see if I can get it to work locally myself.
Edit:
Seems to work for me on my Windows 10 machine with Visual Studio 15.8.4 installed. I pulled the latest master branch and ran that.
The second error message I'm seeing is something I didn't see in earlier versions, not sure if that causes an issue...
@ghost commented on GitHub (Sep 20, 2018):
Thanks for your answer.
I downloaded ZIP of master branch as well, and I have the same Visual Studio version installed.
Do you run it simply by pressing F5 ?
Do I need to install something on my computer ? Visual Studio C++ Redistribuable or something ?
Thanks.
@pauldotknopf commented on GitHub (Sep 20, 2018):
Try this.
Navigate to your
.nuget/package cache and findqml.net.windowsbinaries.Then, find the Qt libs within that package.
Open them up with this: http://www.dependencywalker.com/
That will tell you if there are any dependencies missing.
Although, I doubt that is the issue.
@antonyrey, Can you send me a private email? I'd like to potentially setup a TeamViewer session to identify what is going wrong with your setup. Email: pauldotknopf at gmail
@pauldotknopf commented on GitHub (Sep 23, 2018):
It turned out to be an issue with the graphics driver.
Qt has some nobs you can turn to fine-tune the graphics/opengl stuff on windows.
See here: http://doc.qt.io/qt-5/windows-requirements.html
In this case, setting
QT_OPENGL=angleresolved the issue for this particular machine/setup.