Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. AnalogClock Widget Example Error
Forum Updated to NodeBB v4.3 + New Features

AnalogClock Widget Example Error

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 2.9k Views 1 Watching
  • 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 Offline
    G Offline
    gmseed
    wrote on last edited by
    #1

    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
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      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
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        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
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #4

          First reply edited :) sorry.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved