Results 1 to 3 of 3

Thread: Project folders

  1. #1
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Project folders

    I have project files in the following directory structure:

    Qt Code:
    1. project
    2. ---- headers
    3. ---- source
    4. ---- build
    5. -------- debug
    6. -------- release
    7. ---- assets
    8. -------- graphics
    9. -------- audio
    To copy to clipboard, switch view to plain text mode 

    When I add, for example, one of the header files to my project in Qt Creator, I get an additional sub-folder (project -> headers -> headers -> file.h).

    Is there a way to make the IDE observe my directory structure rather than stuffing it inside the default project folders?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Project folders

    I haven't seen this behaviour before and I often have complex structures.

    Note that Qt Creator asks where to put the file(s), always check if this is correct.

  3. #3
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Project folders

    Quote Originally Posted by tbscope View Post
    I haven't seen this behaviour before and I often have complex structures.

    Note that Qt Creator asks where to put the file(s), always check if this is correct.
    Well, it happens whether I add a new file to or add an existing file from my existing directory structure. I end up with the following:


Similar Threads

  1. Multiple folders and Kdevelop
    By December in forum Qt Programming
    Replies: 0
    Last Post: 16th June 2009, 12:30
  2. move folders in QDirModel
    By janus in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2009, 18:38
  3. qmake, uic and moc output folders
    By gri in forum Qt Programming
    Replies: 2
    Last Post: 30th March 2007, 18:55
  4. dynamically create folders with QT
    By eleanor in forum Newbie
    Replies: 3
    Last Post: 13th March 2007, 11:40
  5. Creating, deleting folders with C++?
    By pir in forum General Programming
    Replies: 7
    Last Post: 1st August 2006, 11:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.