這是歷史版本頁面 — 看 Qt Creator (32-bit) 最新版本

Qt Creator 到底適合誰、能拿來做什麼

Qt Creator (32-bit) 軟體圖示 Qt Creator (32-bit) 4.3.0 (32-bit) 資料更新 2017-05-24 閱讀約 7 分鐘

寫 C++ 程式的人,十之八九都碰過這個關卡:專案越寫越大,程式碼散在好幾個檔案裡,編譯、除錯、找函式定義,全部靠手動處理,光是切換視窗就耗掉大半時間。你心裡想的是「我只是想好好寫完這個程式」,實際上卻在跟工具搏鬥。尤其當你碰到的不是純文字程式,而是需要拉出一個視窗、放幾個按鈕、畫個圖形介面的東西,光靠記事本加命令列,根本撐不住。

一般人遇到這種狀況,第一個念頭是裝一套大型 IDE。但裝下去才發現,那些 IDE 預設是給微軟生態系設計的,你只是想在 Windows 上寫個 Qt 介面程式,卻得先搞懂一堆跟你的專案無關的設定。這類工具真正的切入點,是把你寫程式會用到的東西——編輯器、編譯器、除錯器、介面設計——全部收在同一個視窗裡,讓你把注意力放在程式本身,而不是放在「怎麼讓工具跑起來」。

01Qt Creator 到底能拿來寫什麼程式?

它是一套整合開發環境,主要拿來寫 C++ 和 Qt 應用程式。Qt 是一套跨平台的圖形介面框架,所以用 Qt Creator 寫出來的程式,可以編譯成 Windows、Linux、macOS 甚至嵌入式系統上跑的版本。除了 Qt 專案,它也可以當作一般 C++ IDE 使用,不一定要綁 Qt 框架。官方說明裡也提到它支援 Python(透過 PyQt 或 PySide),但 C++ 是主要語言。

02它跟 Visual Studio 比起來差在哪?

兩者都是 C++ IDE,但定位不同。Qt Creator 的強項是跟 Qt 框架的整合,包含 Qt Quick 和 Qt Widgets 的圖形化介面設計工具,這部分是 Visual Studio 沒有的。Visual Studio 的第三方外掛生態系比較大,除錯工具也成熟,但如果你主要開發 Qt 專案,Qt Creator 的專案精靈、建置系統整合(CMake、QMake、Meson)會讓整個流程順很多。資料中沒有兩者效能比較,建議依你的專案類型決定。

03它能不能拿來寫不是 Qt 的 C++ 程式?

可以。官方 FAQ 明確說,即使不是 Qt 專案,也能把 Qt Creator 當作一般 C++ IDE 使用。它具備語法高亮、自動完成、重構工具、智慧縮排,也支援 GDB、LLDB 和 Microsoft Debugger 除錯。所以如果你只是想在 Windows 上寫純 C++ 程式,不想裝整套 Visual Studio,這套軟體是可行的選項。

04它的介面是中文的嗎?

不是。這套軟體的介面語言是英文,沒有內建繁體中文介面。如果你對英文介面不熟悉,使用上會有一段適應期。不過 IDE 的操作邏輯跟其他開發工具類似,常用功能的位置記住之後,影響不大。資料中沒有提到是否有第三方中文化套件,這部分需要自行確認。

05它能不能拿來開發手機 App?

官方說明提到它支援行動應用程式開發,但實際情況要看你用的 Qt 授權方案。Qt 框架本身有免費和商業授權兩種,免費版本能用於個人和非商業用途,商業授權則要付費。手機平台的部署通常需要額外的工具鏈和簽章流程,Qt Creator 提供的是開發和除錯環境,真正打包上架到 App Store 或 Google Play 的步驟,不在這套軟體的功能範圍內。

06剛開始學 C++ 的人適合用這套軟體嗎?

官方 FAQ 自己就說了,這套軟體功能豐富,對初學者來說可能比 Eclipse 或 Visual Studio Code 複雜。它的專案精靈、建置系統、除錯器設定,對第一次接觸的人有學習門檻。如果你只是要學 C++ 語法,用更輕量的編輯器可能比較好;但如果你學 C++ 的目的就是要寫 Qt 介面程式,那遲早要碰這套工具,早點開始熟悉也合理。

07寫嵌入式系統的人會用到它嗎?

會。官方功能說明中明確列出嵌入式開發支援,可以針對 Raspberry Pi 和 MCU 這類平台進行除錯和部署。它整合了交叉編譯和遠端部署的工具鏈,讓開發者可以在同一套 IDE 裡完成從撰寫、編譯到部署到嵌入式裝置的流程。不過實際支援的開發板和工具鏈版本,官方說明沒有細列,需要依你用的硬體自行確認。

08我已經在用 Visual Studio 了,還有必要換嗎?

如果你現有的 Visual Studio 已經能滿足需求,沒有一定要換的理由。Qt Creator 的優勢在於 Qt 專案的整合度,尤其是圖形化 UI 設計工具,這是 Visual Studio 沒有的。但如果你不寫 Qt 介面,或已經習慣 Visual Studio 的除錯流程,換過去反而要重新適應。資料中沒有兩者的功能對照表,建議先試用再決定。

09它免費嗎?會不會用到一半要收錢?

Qt Creator 本身是開源軟體,免費使用。但要注意,它依賴的 Qt 框架有雙重授權:免費的開源授權和付費的商業授權。如果你開發的是開源專案或個人非商業用途,免費版本夠用;如果是商業軟體,Qt 框架的授權費用要另外計算。官方說明提到商業授權價格依 Qt 公司的授權模式而定,沒有公開定價,需要直接向官方詢問。

10我的電腦是 32 位元的 Windows,能跑嗎?

不行。這套軟體的名稱雖然有「32-bit」,但指的是它編譯出來的程式是 32 位元,不是說它能跑在 32 位元作業系統上。官方系統需求寫得很清楚:需要 Windows 10/11 64 位元作業系統、Intel 或 AMD x86_64 架構處理器、4GB RAM(建議 8GB)、2GB 磁碟空間。如果你的電腦是 32 位元 Windows,這套軟體無法安裝。

11它跟 NetBeans 比起來,哪個比較多人用?

從評分人數來看,NetBeans IDE 有 702 人評分,Qt Creator 只有 109 人評分,NetBeans 的使用者基數明顯較大。但評分人數多不代表比較好,兩者的定位不同:NetBeans 是通用 Java IDE,也支援 C++;Qt Creator 是專門為 Qt 開發設計的。如果你寫的是 Qt 專案,Qt Creator 的整合度會比較高;如果你需要的是通用 IDE,NetBeans 的社群資源可能更豐富。

12它更新頻繁嗎?會不會裝了沒多久就沒人維護?

從版本紀錄來看,這套軟體收錄了 29 個版本,最近 12 個月更新了 9 次,最近 24 個月更新了 17 次,屬於持續活躍維護的專案。開發商是 The Qt Company,也就是 Qt 框架的維護者,所以不用擔心突然斷頭。不過它支援的作業系統是 Windows 7 到 11 的 64 位元版本,官方系統需求只列了 Windows 10/11,舊系統的支援程度需要自行確認。

下載與官方連結

前往官方網站 下載 Qt Creator (32-bit)

qt-creator-opensource-windows-x86-4.3.0.exe · 111 MB · 連結指向軟體原廠

版本紀錄

再看 5 筆

看完整版本清單

這一版改了什麼

What's new in this version:

General:
- Added option to search `Files in File System` with Silver Searcher (`ag`)
- experimental `SilverSearcher` plugin)
- Added exclusion patterns to `Advanced Find` and custom locator filters
- Added navigation pane on right side of edit mode
- Fixed wrong UI colors after suspend (QTCREATORBUG-14929)
- Fixed crash with invalid themes (QTCREATORBUG-17517)

Help:
- Fixed that help bookmarks got lost (QTCREATORBUG-17537)

Editing:
- Added optional shortcut for duplicating current selection
- Adapted to changes of code pasting services (QTCREATORBUG-17942, QTCREATORBUG-18192)
- Fixed freeze when highlighting `Kconfig` file (QTCREATORBUG-14611)

All Projects:
- Added support for `.qrc` files in project tree for all projects
- Added Qt Creator variable `CurrentRun:Executable` (QTCREATORBUG-12201, QTCREATORBUG-16830)
- Added choice of build system to most project wizards (QTCREATORBUG-17308)

QMake Projects:
- Fixed wrong warning when specifying absolute path to mkspec (QTCREATORBUG-17237)
- Fixed deployment of symlinks for versioned shared libraries

CMake Projects:
- Added support for `server-mode` with CMake 3.7 or later
- Added products and targets to project tree
- Added option to build individual products and targets
- Removed the need for `CodeBlocks` extra generator
- Added header files to project tree, even if not listed explicitly in project files
- Added import of configuration of existing builds
- Fixed `Build > Clean`

Generic Projects:
- Added expansion of Qt Creator variables in project files

C++ Support:
- Added support for `clang-query` in `Advanced Find` to experimental ClangRefactoring` plugin
- Added switching project and language context for parsing files to editor toolbar
- Added support for `--gcctoolchain` option
- Improved performance of first completion in file on Windows
- Fixed handling of Objective-C/C++
- Fixed cursor position after correcting `.` to `->` (QTCREATORBUG-17697)
- Fixed that quotes were added when splitting raw string literals (QTCREATORBUG-17717)

QML Support:
- Added option to automatically format QML files on save
- Added menu item for adding expression evaluators from QML code editor (QTCREATORBUG-17754)
- Fixed reformatting of signals (QTCREATORBUG-17886)
- Fixed issues with jumping text cursor while editing (QTCREATORBUG-15680, QTCREATORBUG-17413)

Nim Support:
- Added automatic reparsing when files are added to or removed from project
- Added Nim compiler setting to kits
- Fixed that loading projects blocked Qt Creator
- Fixed crash when opening empty projects

Debugging:
- Added pretty printing of `unordered_multi(set|map)`, `boost::variant` and QLazilyAllocated`
- Fixed that expression evaluators were not evaluated when added (QTCREATORBUG-17763)
- QML. Fixed accessing items by `id` in `Debugger Console` (QTCREATORBUG-17177)
- GDB. Fixed issue with templated types that are pretty printed differently depending on argument type (`std::vector` versus `std::vector`)
- CDB. Changed to Python based pretty printing backend, resulting in faster startup and more, faster, and unified pretty printers

QML Profiler:
- Added performance information to QML code editor (QTCREATORBUG-17757)
- Improved performance of rendering timeline and loading trace files
- Improved error and progress reporting for loading and saving trace files
- Fixed pixmap cache size information when loading profile (QTCREATORBUG-17424)
- Fixed UI issues (QTCREATORBUG-17939, QTCREATORBUG-17937)

Qt Quick Designer:
- Added support for HiDPI
- Added text editor view
- Added tool bar for common actions
- Added changing type of item by changing type name in property editor
- Added support for `qsTranslate` (QTCREATORBUG-17714)
- Added actions for adding items, selecting visible item, and adding tab bar to stacked containers
- Fixed that `Dialog` was not allowed in `.ui.qml` files
- Fixed that error messages could be shown twice
- Fixed handling of escaped unicode characters (QTCREATORBUG-12616)
- Fixed that document needed to be manually re-opened after type information became available
- Fixed crash when root item is layout
- Fixed that expressions were not shown in URL input field (QTCREATORBUG-13328)
- Version Control Systems

Git:
- Added option to only show the first parent of merge commits in log
- Added action to skip a commit during rebase (QTCREATORBUG-17350)
- Added option to sign-off commits
- Fixed handling of already merged files in merge tool

Gerrit:
- Added detection of Gerrit remotes (SSH only)
- Added support for accessing Gerrit via HTTP(S)

Test Integration:
- Removed `experimental` state
- Improved display of test results (QTCREATORBUG-17104)
- Added option to limit searching for tests to folders matching pattern (QTCREATORBUG-16705)
- Fixed detection of inherited test methods (QTCREATORBUG-17522)
- Fixed missing update of test list when QML files are added or removed (QTCREATORBUG-17805)

SCXML Editor:
- Fixed adding elements to `else` case (QTCREATORBUG-17674)
- Fixed that copying and pasting state created invalid name

Beautifier:
- Uncrustify
- Added option to select config file to use

Platform Specific:
- Fixed that it was not possible to save files with arbitrary extension (QTCREATORBUG-15862)
- Fixed ABI detection for Clang
- Fixed that ABI of MSVC2017 was considered different from ABI of MSVC2015 (QTCREATORBUG-17740)