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. Project context menu items for adding project library etc. greyed out

Project context menu items for adding project library etc. greyed out

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 2.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.
  • S Offline
    S Offline
    SamBad
    wrote on last edited by
    #1

    Using Qt Creator 7.0.0 Windows x64
    When right clicking the project name in the projects view the context menu has "Add new" "Add existing project" "Add Library" etc. all greyed out.
    Is there anything I need to do to enable them?
    Is there a fix/workaround?
    f2a532f3-1182-4c77-8233-c63755d04fda-תמונה.png

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SamBad
      wrote on last edited by
      #2

      What I would like to do is add a sub-project to my project.
      Both the main project and the sub-project use CMake.
      The sub-project is an existing project that has classes I would like to use in my main project (i.e. include the headers I need in the main project).
      The sub-project's classes are useful, so I have them in a separate project that I would reuse in many other project.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VIncereMalum
        wrote on last edited by
        #3

        From my experimentation, if you make a project with qmake build, those items work. If you have a cmake build, they are all greyed out. It seems that the IDE doesn't have those items integrated in yet. I wonder if there is a bug for this - there should be. I have to refactor into cmake projects. Luckily I caught this early before I had too much invested in my cmake file. I guess the expectation is for you to edit the cmakelists.txt directly???? That seems obtuse - the whole point of an IDE is to manage that for us.

        1 Reply Last reply
        1
        • R Offline
          R Offline
          rotemk
          wrote on last edited by
          #4

          Hey,
          Has there been any progress on this? any new idea?
          Thanks

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Asif I
            wrote on last edited by
            #5

            Hi @QtSurfer , Please help-out for this issue

            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