Results 1 to 5 of 5

Thread: find string in selected folder

  1. #1
    Join Date
    Nov 2014
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default find string in selected folder

    Hello,

    I would like to ask if there if QT in find string in selection, i.e. in the sidebar pane I selected some directory inside my project, and would like to find string in the files within that folder. Is it possible ? I see find in disk, but this is not the selection I choose.

    Thanks
    Ran

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: find string in selected folder

    See QFile, potentially QTextStream.

    Cheers,
    _

  3. #3
    Join Date
    Nov 2014
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: find string in selected folder

    Hi Anda,

    Thanks for reply. I probably was not clear enough in my question.

    I am using QT creator, and have a project in QT creator with many files ?(actually this project is the linux kernel files).

    1. I wanted to search a string while standing on some folder in the project pane, but I only see that I can search disk (as if the search does not remember where I'm standing in the project browser window).

    2. Another strange thing is that it open only .c .h .cpp files, and so I don't see the Makefile files for example.

    Thanks for your feedback,
    Ran

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: find string in selected folder

    Quote Originally Posted by ransh View Post
    Hi Anda,

    Thanks for reply. I probably was not clear enough in my question.

    I am using QT creator, and have a project in QT creator with many files ?(actually this project is the linux kernel files).

    1. I wanted to search a string while standing on some folder in the project pane, but I only see that I can search disk (as if the search does not remember where I'm standing in the project browser window).

    2. Another strange thing is that it open only .c .h .cpp files, and so I don't see the Makefile files for example.

    Thanks for your feedback,
    Ran
    Why not post in the forum for questions related to Qt Creator? I'm moving the post to "Qt Tools".

    By the way "QT" is "QuickTime", you probably meant "Qt".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Nov 2014
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: find string in selected folder

    I was not familiar with the other thread. Thank you very much

Similar Threads

  1. Replies: 1
    Last Post: 28th May 2012, 15:06
  2. Replies: 0
    Last Post: 5th January 2012, 21:32
  3. Replies: 4
    Last Post: 14th September 2011, 06:14
  4. Help with QTableView row selection
    By ScabrusMantra in forum Qt Programming
    Replies: 1
    Last Post: 13th April 2010, 21:44
  5. selection
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 7th February 2009, 09:37

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.