Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    AnalogClock Widget Example Error

    Tools
    2
    4
    2593
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gmseed last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ?
        Guest last edited by

        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

        1 Reply Last reply Reply Quote 0
        • T
          tobias.hunger last edited by

          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:-/

          1 Reply Last reply Reply Quote 0
          • ?
            Guest last edited by

            First reply edited :) sorry.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post