2017-05-30 16 views

答えて

0

は、何らかの理由で別の表記を使用する必要があります。

message(DESTDIR: ($$DESTDIR)) 

私は今日、このような問題を抱えていました。 Qt mailing listのqmake .proファイルの例を見るだけで解決できます。もう一つの可能​​性の問題 - clue variables

# ${VAR} notation allows to append the contents of the variable to another value 
# without separating the two with a space 
isEmpty(DESTDIR): DESTDIR = $${IDE_BUILD_TREE}/lib/qtcreator/plugins 

、このような表記がなければ、私は空DESTDIR変数を得ました。 DESTDIRが設定されていない場合、ビルドディレクトリにバイナリが残っていると思います。

もう1つの有用なリンク:https://stackoverflow.com/a/7754767/630169

関連する問題