1
votes

I have a QT project in QT creator. I have been getting strange behavior from it. Unless I open QT Creator with administrative permissions, it won't build at all complaining that it can't start process qmake (qmake is in the right place). My shadow build specifies ..\bin folder as the build. My complete structure is:

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

So they are at the same level. What could be the issue here? The problem is that when I use administrator rights, the project builds in C:\Users\bin which isn't right right place.

The actual error given is:

Could not start process "c:\qtsdk\desktop\qt\4.8.1\mingw\bin\qmake.exe"

1
Which permissions are set on qmake? Can your user execute it?Tobias Hunger

1 Answers

0
votes

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.