Qt for WebAssembly 环境搭建 - Windows新手入门

一、所需工具软件

本文中用到的工具软件都安装在D:/WASM文件夹中

1、安装Python

下载安装Python,笔者这里是3.12.2版本,安装到D:/WASM/Python中,并添加目录到系统环境变量。

2、安装Git

2.1 注册Github账号
2.2 下载安装Git

下载安装Git到D:/WASM/Git文件夹,一路Next就可以。

2.2.1配置Git:

使用CMD、或者Git Bash:

Windows PowerShell
版权所有(C) Microsoft Corporation。保留所有权利。

安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows

PS C:\Users\> git
usage: git [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [--config-env=<name>=<envvar>] <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone     Clone a repository into a new directory
   init      Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add       Add file contents to the index
   mv        Move or rename a file, a directory, or a symlink
   restore   Restore working tree files
   rm        Remove files from the working tree and from the index

examine the history and state (see also: git help revisions)
   bisect    Use binary search to find the commit that introduced a bug
   diff      Show changes between commits, commit and working tree, etc
   grep      Print lines matching a pattern
   log       Show commit logs
   show      Show various types of objects
   status    Show the working tree status

grow, mark and tweak your common history
   branch    List, create, or delete branches
   commit    Record changes to the repository
   merge     Join two or more development histories together
   rebase    Reapply commits on top of another base tip
   reset     Reset current HEAD to the specified state
   switch    Switch branches
   tag       Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch     Download objects and refs from another repository
   pull      Fetch from and integrate with another repository or a local branch
   push      Update remote refs along with associated objects

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
See 'git help git' for an overview of the system.

出现这么一堆就是安装好了Git。

2.2.2 配置Git环境
# 1配置用户名
git config --global user.name YourUserName
# 2配置邮箱
git config --global user.email YourEMail
# 3查看配置是否OK
git config --global --list
# 4生成ssh
ssh-keygen -t rsa
>> Generating public/private rsa key pair.
>> Enter file in which to save the key (C:\Users\china/.ssh/id_rsa):
>> 这里是产生rsa的目录,笔者这里是D:/WASM/rsa
>> 会成生id_rsa和id_rsa.pub两个文件,用笔记本打开id_rsa.pub,复制全部内容。
>> 粘贴到下面这个Key里面
# 5测试配置是否成功
ssh -T git@github.com
# 6正常是出现Success

在这里插入图片描述

2.2.3解决git@github.com: Permission denied (publickey)

参考文章https://blog.csdn.net/qq_40047019/article/details/122898308

# 1生成ssh key
ssh-keygen -t rsa -C "xx@example.com"
# 2
ssh -v git@github.com
# 3
ssh-agent -s
# 4
ssh-add ~/.ssh/id_rsa
# 失败的话
# 4.1 
eval `ssh-agent -s`
# 4.2
ssh-add ~/.ssh/id_rsa


![img](https://img-blog.csdnimg.cn/img_convert/729221abfb5db2091de93ee809cbbaeb.png)
![img](https://img-blog.csdnimg.cn/img_convert/9a6617b9984599e1b595798b46a460d8.png)
![img](https://img-blog.csdnimg.cn/img_convert/8840761cdf4a76eda9af6161891e3ffd.png)

**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**

**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**

**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**

真正体系化!**

**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**

**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**

  • 9
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值