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. Question on Source Control Folders
Forum Updated to NodeBB v4.3 + New Features

Question on Source Control Folders

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 349 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello everyone, hope all is well.

    Today I wanted to ask a question in regards to using Git with Qt. Currently, I want to have separate folders in the file directory (one for source files, one for header files, etc.). I created a source folder and a header folder just as one would expect.

    However, when I open Qt, the folders "duplicate" inside the Qt Editor. In other words, the Path in the QT creator app would show "Headers/Headers/file.h" while I just want there to be one header folder inside the app ("Headers/file.h"). This problem goes away when there are no folders in the project folder (in the file directory), but I want to be able to use folders in the file directory to make development easier.

    How would I be able to fix this?

    Pl45m4P 1 Reply Last reply
    0
    • ? A Former User

      Hello everyone, hope all is well.

      Today I wanted to ask a question in regards to using Git with Qt. Currently, I want to have separate folders in the file directory (one for source files, one for header files, etc.). I created a source folder and a header folder just as one would expect.

      However, when I open Qt, the folders "duplicate" inside the Qt Editor. In other words, the Path in the QT creator app would show "Headers/Headers/file.h" while I just want there to be one header folder inside the app ("Headers/file.h"). This problem goes away when there are no folders in the project folder (in the file directory), but I want to be able to use folders in the file directory to make development easier.

      How would I be able to fix this?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @WesLow said in Question on Source Control Folders:

      I created a source folder and a header folder just as one would expect.

      When you create a new project in QtCreator it will create Header, Source and UI directories by default.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      1
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        are you using cmake or qmake?

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        ? 1 Reply Last reply
        0
        • VRoninV VRonin

          are you using cmake or qmake?

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          @VRonin qmake

          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