Results 1 to 3 of 3

Thread: Source Group

  1. #1
    Join Date
    May 2016
    Posts
    12
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Source Group

    Greeting

    I used to use "Qt" inside "Visual Studio" but i decided to try "Qt Creator" on my new project. I see something that bother me a lot and i couldn't find a way to fix it.
    when i add existing directory to project in "Qt Creator", Source files move under "Sources" directory and header files move under "Headers" automatically and pro file update as well. The thing is, I don't want to see source file and header files in different directory in "Project Window" and i like to see them in same directory.

    qt creator.jpg

    Like "source_group" in "CMakeLists" file.

    Can you tell me how can i do that?

    Thanks in advance

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Source Group

    In Title Bar of Left Side Bar (where you see the projects / files list), you should see a filter icon, check "Simplify Tree" option in it.
    Screen Shot 2017-12-11 at 9.41.55 AM.png
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    May 2016
    Posts
    12
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Source Group

    Quote Originally Posted by Santosh Reddy View Post
    In Title Bar of Left Side Bar (where you see the projects / files list), you should see a filter icon, check "Simplify Tree" option in it.
    Screen Shot 2017-12-11 at 9.41.55 AM.png
    thanks for reply but its not what i'm looking for. With "Simplify Tree" i see all the source and header files under project name, No directory included.
    Last edited by meysam_hashemi; 11th December 2017 at 14:35.

Similar Threads

  1. Replies: 0
    Last Post: 26th November 2012, 14:18
  2. Group Box
    By bmn in forum Qt Programming
    Replies: 1
    Last Post: 5th May 2008, 12:36
  3. Group Memberships
    By mchara in forum General Discussion
    Replies: 1
    Last Post: 14th November 2007, 11:33
  4. group box
    By me_here_me in forum Qt Programming
    Replies: 3
    Last Post: 7th September 2007, 20:28
  5. Replies: 11
    Last Post: 24th March 2006, 07:40

Tags for this Thread

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.