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. Build directory grayed out ...
Qt 6.11 is out! See what's new in the release blog

Build directory grayed out ...

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 455 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    EDIT (bump ?)

    I have run my project , using .pro file, and wanted to do some more changes in Build Settings.
    My ":Build directory " is grayed out, BUT my project compiles and runs...

    Secondly
    when I move the mouse to "QT 5.15.2 " it moves it to "Run"

    I seldom use "Run" mainly because s I do not know what starts it...
    Could somebody post a link to doc on how to use these "icons"
    I do not know what to ask Mrs Google for...

    I do not know what is happening , but the result is - I cannot implement any changes in source code .
    It does not matter if I do "build" , "run quake" or "rebuild" ....

    It definitely looks as what I edit is NOT what is actually compiled

    I'll can try to restore the "Build directory " , but like to know why I am having this issue. -
    why is the directory grayed out?
    '

    5937529a-bc27-4d6c-a08a-aa43c3b2d533-image.png ui->textEdit_3->append(text);

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ziller
      wrote on last edited by
      #2

      My ":Build directory " is grayed out, BUT my project compiles and runs...

      Since the "Shadow build" checkbox is "off", the build directory is fixed to the project source directory. To change the build directory you need to first check that checkbox. Be aware though that qmake does not behave well if you still have previous build results lying around in your project source directory. You have to make sure that your source directory is free of any previous build artifacts. Otherwise weird thing can happen like changes in .ui files not taking any effect.

      A 1 Reply Last reply
      2
      • Z ziller

        My ":Build directory " is grayed out, BUT my project compiles and runs...

        Since the "Shadow build" checkbox is "off", the build directory is fixed to the project source directory. To change the build directory you need to first check that checkbox. Be aware though that qmake does not behave well if you still have previous build results lying around in your project source directory. You have to make sure that your source directory is free of any previous build artifacts. Otherwise weird thing can happen like changes in .ui files not taking any effect.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @ziller Thanks - now it makes sense.

        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