September 29, 2011

gmseed gmseed
Lab Rat
1 posts

AnalogClock Widget Example Error

 

Hi

I just installed the QtSDK v4.7 on Windows7/64bit and started by building the Example Widget AnalogClock.

It builds and runs fine but when I select the “Projects” tab in the General section under Build Directory it is in red font and hovering over the path it states that the path does not exist:

C:\QtSDK\Examples\4.7\widgets\analogclock-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Release

If I open up Windows Explorer and go to the above path it is:

C:\QtSDK\Examples\4.7\widgets\analogclock-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Release

and both paths appear to be the same.

Thus, why does Qt complain that the build path is invalid?

Thanks

Graham

3 replies

October 7, 2011

Deleted Member # 4868 Deleted Member # 4868
Lab Rat
11 posts

Yeah, that’s funny: add a letter to the path, delete it, and the red color and the error are gone. Sorry for the first reply (edited), it was not correct.

Greets

October 7, 2011

Tobias Hunger Tobias Hunger
Mad Scientist
3125 posts

Note that the “build directory needs to be at the same level as the source directory” is a issue in qmake, not Qt Creator. It is visible whenever you use qmake.

Other build systems have other quirks:-/

October 7, 2011

Deleted Member # 4868 Deleted Member # 4868
Lab Rat
11 posts

First reply edited :) sorry.

 
  ‹‹ QtSDK Source Code      QtCreator editor, select all, auto-indent selection and cursor problem [Solved] ››

You must log in to post a reply. Not a member yet? Register here!