1

QTクリエーターにQTプロジェクトがあります。私はそれから奇妙な行動を得ています。QT Creator を管理者権限で開かない限り、プロセス qmake を開始できないという不平を言ってまったくビルドされません (qmake は適切な場所にあります)。私のシャドウ ビルドは、ビルドとして ..\bin フォルダーを指定します。私の完全な構造は次のとおりです。

project
|
+--- bin
+--- src

だから彼らは同じレベルです。ここで何が問題になる可能性がありますか? 問題は、管理者権限を使用すると、プロジェクトが適切な場所ではない C:\Users\bin にビルドされることです。

与えられた実際のエラーは次のとおりです。

プロセス「c:\qtsdk\desktop\qt\4.8.1\mingw\bin\qmake.exe」を開始できませんでした

4

1 に答える 1

0

It sounds like a number of your paths or locations may be off. They could be in the Qt Projects Configure dialog or it could be in your .pro file.

Does a simple "Hello World" example build, without editing the defaults for the folder structures? Do the examples of the Qt SDK build?

Did you install Qt at the root of the C drive? Nesting it in your documents or somewhere else can put a space in the Qt Path variable, which I don't think is supported well by Qt Creator and QMake without a lot of work.

Hope that helps.

于 2012-12-21T22:42:32.823 に答える