Windows Qt

Windows Qt搭建

安装Qt

  • 选择MinGW或者MSVC(建议VC), qt自动检测编译器, 基本上不用配置
  • 去掉UWP(Windows通用平台开始, 不同于传统的exe, 它可以运行在所有的Windows设备上)

在Visual Studio中搭建Qt

  • 在Tools中Update Tools中下载Qt Visual Studio Tools
  • 在菜单Qt VS Tools中添加msvc编译器
  • 在VS中事件无法驱动

为Qt添加新的组件

  • 点击MaintenanceTool添加临时的仓库, URL为http://mirrors.ustc.edu.cn/qtproject/online/qtsdkrepository/windows_x86/root/qt/

除了Qt

  • Windows上更新很慢很慢~~~~
  • Visual Studio快捷键
    • ctrl + K + D
    • ctrl + J: 提示
    • alt + 鼠标
    • alt + 方向键
  • 找什么
    • 项目属性->c/c++或者linker
    • tools的选项
    • 自定义快捷键: tools -> environment -> keyboard

Visual Studio

  • 通过VS安装Python3.6
  • 在VS中安装Python包, nb:-)

Windows 要想安装Linux需要在2016之后的版本

在VMWare中Windows 10 Pro中开启Hyper-V

  • 在*.vmx中添加
hypervisor.cpuid.v0 = "FALSE"
vhv.enable = "TRUE"
mce.enable = "TRUE"
  • 在CPU中开启与Hyper-V有关的选项

安装Windows 10一定要在官网上下载最新版本的!!!

猜你喜欢

转载自www.cnblogs.com/megachen/p/10163393.html