Results 1 to 6 of 6

Thread: How to open any file on button click???

  1. #1
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt4

    Default How to open any file on button click???

    Hello, does anyone know how to open external file,
    for example BAT file, with a given name, when I click the button?

    Thanks

  2. #2
    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: How to open any file on button click???

    Quote Originally Posted by r3aktor View Post
    Hello, does anyone know how to open external file,
    for example BAT file, with a given name, when I click the button?
    Yes, we do.

    Did you try anything already?
    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.


  3. #3
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt4

    Default Re: How to open any file on button click???

    Quote Originally Posted by wysota View Post
    Yes, we do.

    Did you try anything already?
    I cant find anything similar in the docs, or google.

    Im not asking for the whole source code, only for the command, or link

  4. #4
    Join Date
    Feb 2008
    Posts
    153
    Thanks
    40
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to open any file on button click???

    Last edited by codeslicer; 7th July 2009 at 17:21. Reason: removed stuff

  5. The following user says thank you to codeslicer for this useful post:

    r3aktor (7th July 2009)

  6. #5
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt4

    Default Re: How to open any file on button click???

    Thanks

  7. #6
    Join Date
    Jul 2009
    Posts
    92
    Thanks
    7
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to open any file on button click???


Similar Threads

  1. QDesktopServices open url & local file & pdf or doc
    By patrik08 in forum Qt Programming
    Replies: 9
    Last Post: 14th April 2012, 04:42
  2. Open file Window Screen
    By jano_alex_es in forum Newbie
    Replies: 3
    Last Post: 27th May 2009, 08:39
  3. HELP!!!Qt Creator can not open project file
    By zhouxf in forum Qt Tools
    Replies: 7
    Last Post: 22nd May 2009, 09:56
  4. Qt 4.1.4 on VS2005 error- cannot open input file 'qtmain.lib'
    By Ashish in forum Installation and Deployment
    Replies: 10
    Last Post: 11th October 2006, 16:05
  5. QProcess open all file -> url.dll,FileProtocolHandler
    By patrik08 in forum Qt Programming
    Replies: 2
    Last Post: 26th June 2006, 17:07

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.