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. Equivalent to OTHER_FILES+= for CMake projects

Equivalent to OTHER_FILES+= for CMake projects

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 1.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.
  • T Offline
    T Offline
    tallia1
    wrote on last edited by
    #1

    In CMake project opened by QtCreator right now there is currently no way of adding a file to the project browser unless it is being compiled. For CMake+Visual Studio you can do this, but QtCreator unfortunately does not support it:
    @source_group("other_files" FILES ${OTHER_FILES})@

    I have found a possible solution but it's a bit of a hack:
    @add_custom_target(other_files SOURCES ${OTHER_FILES})@

    It would be very useful if somebody fixed the source_group CMake support in QtCreator

    also see "this thread":http://qt-project.org/forums/viewthread/9886/

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi

      [quote author="tallia1" date="1403607520"]It would be very useful if somebody fixed the source_group CMake support in QtCreator
      [/quote]

      try to send a Feature Request for QtCreator Team members.

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tallia1
        wrote on last edited by
        #3

        I keep hitting dead links when looking for "qt creator feature request".
        I wonder why they keep relocating resources, quite annoying...
        Who cares if the company owning Qt changes.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Just go to Qt "bugtracker":https://bugreports.qt-project.org.

          A lot of people care for that. Somebody has to pay for the server infrastructure, for example.

          (Z(:^

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tallia1
            wrote on last edited by
            #5

            thanks for the link, all the post I found were referring to digia.org. Finally somebody started having them under an anonymous qt-project.com. I am very glad to see that :) :)

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              The bugtracker has been under Qt Project domain since the Qt Project was launched. As far as I remember ;-)

              Anyway, actions are explained "here":https://qt-project.org/contribute.

              (Z(:^

              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