Skip to content

Is QtWebEngine/WebView available in this project? #2

Open
@C4a15Wh

Description

@C4a15Wh

My golang version: go version devel +6741b7009d Sun Dec 30 09:27:32 2018 -0700 windows/amd64.
It is compiled from 133946: cmd/compile: add support for MSVC toolchain to go build.

Hey, I'm sorry for disturbing, but the primary maintainer of therecipe/qt seems no longer to keeping active in the project. So I'm placing hope to receiving some help from someone who forked the repo.

In the past 1 year, I'm developing a GUI program using Golang and QT. Recently, I'm making attempts to introduce qtwebengine to my program.

I've successfully compiled a development golang runtime bootstrapped from go 1.13.4 according to Golang QT with MSVC. But while running qtsetup.exe, the error occurs:

time="2024-09-24T15:47:24+08:00" level=info msg="installing full qt/core"
runtime/cgo
github.com/therecipe/qt
# runtime/cgo
���� x64 �� Microsoft (R) C/C++ �������� 19.41.34120 ��
��Ȩ����(C) Microsoft Corporation����������Ȩ����

cl: ������ error D8021 :��Ч����ֵ������/Werror��

time="2024-09-24T15:47:24+08:00" level=error msg="failed to install 'core'; aborting setup"

I've got know that the error is reasoned for /Werror is wrongly given to cl.exe by cgo compiler, but the source code of this branch ought to implemented the support for MSVC. Have you ever successfully installed the MSVC version QT for golang? If you've done it, could I get some advice?

Thanks.
Sincerely, 0xC4A1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions