Results 1 to 2 of 2

Thread: profiling in QTCreator

  1. #1
    Join Date
    Oct 2013
    Location
    Bangalore,India
    Posts
    64
    Thanks
    21
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default profiling in QTCreator

    I am absolutely new to profiling in QTCreator.
    Here is what I am doing:

    1) Set the build to Release mode
    2) Analyze>QML Profiler>Start
    It is showing error:
    Qt Code:
    1. Could not connect to the in-process QML profiler.
    2. Do you want to retry?
    To copy to clipboard, switch view to plain text mode 
    Even after retrying nothing happening
    3) Analyze>Valgrind Memory Analyzer>Start
    error:
    Qt Code:
    1. Analyzing memory of /home/hls/Grab-build-desktop-Qt_4_8_1_in_PATH__System__Release/Grab
    2. ** Error: "valgrind" could not be started: No such file or directory **
    3. ** Analyzing finished **
    To copy to clipboard, switch view to plain text mode 
    I checked physically,the executable file Grab is there in the above said directory
    4) Analyze>Valgrind Function profiler>Start
    error:
    Qt Code:
    1. You are trying to run the tool "Valgrind Function profiler" on an application in Debug mode.The tool is designed to be used in Release mode
    To copy to clipboard, switch view to plain text mode 
    I am using it in release mode only.

    I guess I am missing some configuration.Can someone tell what I am missing?

  2. #2
    Join Date
    Oct 2013
    Location
    Bangalore,India
    Posts
    64
    Thanks
    21
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: profiling in QTCreator

    I have solved the issue,had to install 'valgrind' externally.

Similar Threads

  1. Replies: 0
    Last Post: 15th November 2011, 16:25
  2. QtCreator 2.0 crashes application working in QtCreator 1.3
    By been_1990 in forum Qt Programming
    Replies: 2
    Last Post: 21st September 2010, 12:58
  3. Profiling problems
    By Tindor in forum Newbie
    Replies: 23
    Last Post: 20th April 2009, 12:24
  4. Profiling of code for embedded systems
    By dbugger in forum Newbie
    Replies: 1
    Last Post: 3rd April 2008, 19:25
  5. Profiling an application under Linux with gprof
    By Lykurg in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd December 2007, 08:58

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
  •  
Qt is a trademark of The Qt Company.