Results 1 to 7 of 7

Thread: Shortcut of Qt application.exe

Threaded View

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

    Default Re: Shortcut of Qt application.exe

    Refer QFile documentation, it should be straight forward
    Qt Code:
    1. bool QFile::link ( const QString & linkName )
    To copy to clipboard, switch view to plain text mode 

    Also you can get the application executable name (including complete path) from argv[0], the main() function parameter
    Last edited by Santosh Reddy; 3rd June 2011 at 07:09. Reason: updated contents

  2. The following user says thank you to Santosh Reddy for this useful post:

    Ketan Shah (3rd June 2011)

Similar Threads

  1. Application directory path on linux (shortcut)
    By MadBear in forum Qt Programming
    Replies: 2
    Last Post: 11th March 2018, 20:18
  2. Making shortcut
    By kib2 in forum Qt Programming
    Replies: 4
    Last Post: 28th June 2008, 18:20
  3. Shortcut
    By Voldemort in forum Qt Programming
    Replies: 16
    Last Post: 2nd May 2007, 20:51
  4. shortcut with more than one key
    By ChasW in forum Qt Programming
    Replies: 1
    Last Post: 26th January 2007, 06:38
  5. Trying to set shortcut
    By mikro in forum Newbie
    Replies: 2
    Last Post: 30th November 2006, 09:55

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.