mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #197] Can't build latest QmlNet with Qt 5.14.2 on Windows #128
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#128
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 @BrianAllred on GitHub (Apr 29, 2020).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/197
Repo is here.
PATH is set to
C:\Qt\5.14.2\mingw73_64\bin;C:\Qt\Tools\mingw730_64\bin;%PATH%Build script:
@pauldotknopf commented on GitHub (May 10, 2020):
I'm sorry for the delay here. When I find time to get my Windows box up and running, I'll check it out.
However, it looks to be a simple
#definemix-up and the latest Qt bits. Maybe you could take a stab at it?@BrianAllred commented on GitHub (May 12, 2020):
I downgraded to Qt 5.12.2 using MSVC++ 2017 and still get the same issue. Tried it with a brand new VM and project just to verify it wasn't an environment issue.
I'll take a look when I have time, but my C++ is pretty rusty.
@BrianAllred commented on GitHub (May 16, 2020):
After a little bit of investigation, the attached diff fixed the build. I haven't had time to see if it actually runs correctly yet. I'll update when I do.
@BrianAllred commented on GitHub (May 17, 2020):
Nope. With the above patch, Qt complains at runtime about not being able to find registered .NET types.
@shartte commented on GitHub (May 29, 2020):
The root cause here seems to be compiling with _UNICODE defined, which I'd say is usually recommended.
You could try without it though.