0

I'm using QT Creator on a project and was wondering if there's a single command to compile the project to a Mac, Windows, & Linux binaries so I can easily send them to other computers for testing without having to send over the whole source code. Currently I'm running the QT Creator on Mac OSX if that matters.

4

1 に答える 1

0

これは可能ですが、あなたが暗示しているほど単純ではありません。これを適切に行うには、他のプラットフォーム用に既にコンパイルされたライブラリと、他のプラットフォーム用の出力を生成するプラットフォーム用にコンパイルされたコンパイラ/実行可能ファイルを備えたクロスコンパイル環境をセットアップする必要があります。次に、正しい出力を生成していることを確認するために、qmake ファイルでこれらすべての変数を追跡する必要があります。

于 2009-10-23T17:23:35.520 に答える