Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Qt プロジェクトをビルド サーバー (Windows) でコンパイルしたいと考えています。プロジェクトをリリース時にコンパイルするビルド スクリプトを作成したいと考えています。このビルド スクリプトの作成を手伝ってくれる人はいますか?
ありがとう!
qmake を実行してから、Unix ライクなプラットフォームの場合は make を実行するだけです。リリース モードの場合は、次を追加します。
CONFIG+=release
.pro ファイルまたは qmake コマンドに。それから(あなたがそれを必要とすることがわかっている場合にのみspec):
path_to_your_qmake/qmake [-spec spec] [CONFIG+=release] make [-jwhatever]
これで完了です。