# Qt 靜態編譯函式庫安裝 :::warning **此資料夾存放路徑中,不可有中文或其他unicode字元** ::: 下載 : https://mailntustedutw-my.sharepoint.com/:u:/g/personal/b10815057_ms_ntust_edu_tw/EWSTa9oeeblKu7B2tr65s3kBYnYFslzBL5nhm7uXvUEy0Q?e=hSxZSS&download=1 Qt Version : 5.15.2 需預先安裝Visual Studio 2019 / 2022 ## 1. 開啟x64 Native Tools Command Prompt for VS 2019 / 2022 (可用win10的搜尋去找)  ## 2. 輸入where cl得到cl.exe位置  ## 3. 複製 cl.exe 的路徑(不含cl.exe),「進階系統設定」->「環境變數」 EX : 複製"D:\apps\VisualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\" 進入 進階系統設定  進入 環境變數  ## 4. 找到「系統變數」中的「Path」變數,編輯此變數,在最後面加上 cl.exe 的路徑。 點兩下編輯 系統變數中的Path變數  新增剛剛複製的路徑  按下確定後離開 ## 5. 點兩下執行 CLICKME.bat 產生Visual Studio專案  ## 6. 點兩下執行 ./VSProject/MineSweeper.vcxproj  ## 7. 自動創建Visual Studio專案,可將.sln檔存起來   ## 8. 執行專案  ## 9. 如果希望看到qDebug輸出的訊息,右鍵專案 -> 屬性 -> 連結器 -> 子系統 改成Console (/SUBSYSTEM:CONSOLE) 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up