-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QT examples doesn't work in VSCode. #812
Comments
Hey For ( Take a look at the These two variables are needed to be set inside vscode somehow. |
b) Is this symlinks are changed/upadted and the .bat in some cases of changes in vendor (.eg dir or as other path QT_DIR)?
@kubilaykilinc did you solve your problem? I'm curios how people working with therecipe qt (are you sucess with deployments or you leaved this all?)?. |
|
Sorry for the delay.
The qtenv.bat needs to be used if you don't have a C compiler in your PATH.
Yes, the symlinks should be automatically changed if you use some of the qt tools (qtdeploy, qtminimal, qtrcc, qtmoc or qtsetup)
The The
I think this example did work, because it doesn't made use of qtmoc. %GOPATH%\bin\qtenv.bat && cd c:\Go\src\github.com\therecipe\qt\internal\examples\quick\calc && go build -o calc.exe && calc.exe |
By the way, in vs code launch.json, if you use "go mod" it costs me much time 。😭 |
Using Windows 8.1.
I installed correctly those :
1- Mingw 64
2- QT 5.12 (designer etc.)
3- therecipe/qt packages
qtsetup.exe worked successfuly. But i try therecipe/qt example codes in VS code (with golang extentions and tools). But they do not compile. I am getting some errors.
I tried compile this basic example.
https://github.com/therecipe/examples/blob/master/basic/widgets/main.go
But i've got this compile error.
exit status 3221225781
The text was updated successfully, but these errors were encountered: