Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2
Forum Updated to NodeBB v4.3 + New Features

Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 2 Posters 1.7k 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.
  • N Offline
    N Offline
    nesavi
    wrote on last edited by
    #1

    Judging from the amount of views, and my experience, this bug, Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, seems to be present still in QT Creator 4.9.2 running on Qt 5.13.0.

    It is a bug that will quietly drive you insane, since the only remedy seems to a restart of Qt Creator.

    If anyone has a clue as how to fix this, I think a sizeable amount of people would love to hear about it.

    In principle one could build a debug version of Qt Creator, and break on relevant code. How complicated would this be to achieve?

    The original thread can be found here. I have posted a separate topic, since that was suggested t ome when clicking the "Reply" button: Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project

    aha_1980A 1 Reply Last reply
    0
    • N nesavi

      Judging from the amount of views, and my experience, this bug, Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, seems to be present still in QT Creator 4.9.2 running on Qt 5.13.0.

      It is a bug that will quietly drive you insane, since the only remedy seems to a restart of Qt Creator.

      If anyone has a clue as how to fix this, I think a sizeable amount of people would love to hear about it.

      In principle one could build a debug version of Qt Creator, and break on relevant code. How complicated would this be to achieve?

      The original thread can be found here. I have posted a separate topic, since that was suggested t ome when clicking the "Reply" button: Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @nesavi So have you checked your configured Kit is correct in the Projects settings as suggested in the original thread?

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nesavi
        wrote on last edited by
        #3

        @aha_1980 thanks for your reply. I believe you are referring to the comment about compilers being deselected in the Kit setup window? If so, yes I have checked, and I do not see any change across time.

        aha_1980A 1 Reply Last reply
        0
        • N nesavi

          @aha_1980 thanks for your reply. I believe you are referring to the comment about compilers being deselected in the Kit setup window? If so, yes I have checked, and I do not see any change across time.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @nesavi Then please show some screenshots.

          I had exactly your problem last week and one of the projects in my session was not properly set up.

          Qt has to stay free or it will die.

          aha_1980A N 2 Replies Last reply
          0
          • aha_1980A aha_1980

            @nesavi Then please show some screenshots.

            I had exactly your problem last week and one of the projects in my session was not properly set up.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            And I've created QTCREATORBUG-22682 to track that problem.

            Qt has to stay free or it will die.

            N 1 Reply Last reply
            0
            • aha_1980A aha_1980

              @nesavi Then please show some screenshots.

              I had exactly your problem last week and one of the projects in my session was not properly set up.

              N Offline
              N Offline
              nesavi
              wrote on last edited by
              #6

              @aha_1980 said in Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2:

              @nesavi Then please show some screenshots.

              I had exactly your problem last week and one of the projects in my session was not properly set up.

              I'd be happy to. Which screens exactly? Kit-configuration and project-configuration? Would copies of *.pro and *pro.user files be useful as well? Would it be useful to track the *.pro.user files over time? This could be achieced by committing to version control, and the diffing after the problem shows up.

              Bear in mind that I'm somewhat new to Qt.

              aha_1980A 1 Reply Last reply
              0
              • aha_1980A aha_1980

                And I've created QTCREATORBUG-22682 to track that problem.

                N Offline
                N Offline
                nesavi
                wrote on last edited by
                #7

                @aha_1980 said in Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2:

                And I've created QTCREATORBUG-22682 to track that problem.

                Cool, thanks :-)

                1 Reply Last reply
                0
                • N nesavi

                  @aha_1980 said in Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2:

                  @nesavi Then please show some screenshots.

                  I had exactly your problem last week and one of the projects in my session was not properly set up.

                  I'd be happy to. Which screens exactly? Kit-configuration and project-configuration? Would copies of *.pro and *pro.user files be useful as well? Would it be useful to track the *.pro.user files over time? This could be achieced by committing to version control, and the diffing after the problem shows up.

                  Bear in mind that I'm somewhat new to Qt.

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @nesavi said in Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2:

                  Would copies of *.pro and *pro.user files be useful as well? Would it be useful to track the *.pro.user files over time? This could be achieced by committing to version control, and the diffing after the problem shows up.

                  No, please don't version the *.pro.user! It cannot be shared and is incompatible with older and newer versions over time. I usually delete it after bigger updates and let Creator create a new one.

                  I'd be happy to. Which screens exactly? Kit-configuration and project-configuration?

                  The screen that appears after "Projects" on the left mode selector or pressing Ctrl+5 would be good.

                  Qt has to stay free or it will die.

                  N 1 Reply Last reply
                  1
                  • N Offline
                    N Offline
                    nesavi
                    wrote on last edited by
                    #9

                    @aha_1980 apologies for not replying earlier. Work got crazy.

                    I've not encountered the bug for a while.

                    I've attached a screenshot as per your suggestion. To the best of my knowledge nothing seems out of place. Note that "Shadow build" is disabled, which I have done. Default seems to be enabled.

                    0_1563444073643_projects before bug steps in .png

                    aha_1980A 1 Reply Last reply
                    0
                    • aha_1980A aha_1980

                      @nesavi said in Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 2:

                      Would copies of *.pro and *pro.user files be useful as well? Would it be useful to track the *.pro.user files over time? This could be achieced by committing to version control, and the diffing after the problem shows up.

                      No, please don't version the *.pro.user! It cannot be shared and is incompatible with older and newer versions over time. I usually delete it after bigger updates and let Creator create a new one.

                      I'd be happy to. Which screens exactly? Kit-configuration and project-configuration?

                      The screen that appears after "Projects" on the left mode selector or pressing Ctrl+5 would be good.

                      N Offline
                      N Offline
                      nesavi
                      wrote on last edited by
                      #10

                      @aha_1980 also: thanks again for taking the time to assist in this issue. It is much appreciated! :-)

                      1 Reply Last reply
                      0
                      • N nesavi

                        @aha_1980 apologies for not replying earlier. Work got crazy.

                        I've not encountered the bug for a while.

                        I've attached a screenshot as per your suggestion. To the best of my knowledge nothing seems out of place. Note that "Shadow build" is disabled, which I have done. Default seems to be enabled.

                        0_1563444073643_projects before bug steps in .png

                        aha_1980A Offline
                        aha_1980A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Hi @nesavi,

                        @aha_1980 apologies for not replying earlier. Work got crazy.

                        No problem. We all know these situations... :)

                        I've not encountered the bug for a while.

                        The better. Your project settings looks good. As result for the bug I reported, some extra checks are added to the project manager in Creator 4.10. So hopefully we get enough feedback from the project manager in case some configuration is missing. Feel free to give 4.10 a try once it is released and report back here if the problem still occurs for you.

                        Thanks and regards

                        Qt has to stay free or it will die.

                        1 Reply Last reply
                        2

                        • Login

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