Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [Moved] Run an application by double-clicking on the asociated file

    Brainstorm
    2
    4
    2296
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hisoft last edited by

      Hi,

      I want to implement the following fonctionnality : run my application by double-clicking on the associated file. For the moment, i can run it in command line by transmitting the file name as argument and it work correctly.

      Any idea please ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • G
        goetz last edited by

        I have moved this from the General to the Brainstorm forum, as it's not Qt related.

        Qt itself does not provide any means for this.

        For Windows, "Gerolf":http://developer.qt.nokia.com/member/38 has written a "wiki article":http://developer.qt.nokia.com/wiki/Assigning_a_file_type_to_an_Application_on_Windows that describes what to do.

        The associated "forum thread":http://developer.qt.nokia.com/forums/viewthread/4810/ lists some solutions for other operating systems.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • H
          hisoft last edited by

          Hi,
          Thanks for replying. I didn't know that it's not Qt related as i hasn't any idea how to do it. I just started reading the articles you forwarded me to, and it seems to be what i'm looking for !

          1 Reply Last reply Reply Quote 0
          • G
            goetz last edited by

            [quote author="hisoft" date="1314093113"]Hi,
            Thanks for replying. I didn't know that it's not Qt related as i hasn't any idea how to do it. I just started reading the articles you forwarded me to, and it seems to be what i'm looking for ![/quote]

            No problem, sometimes it's not clear where to post in the first place. We move stuff to the right forum then, nothing you must be worried about too much.

            If you've come to a solution, feel free to report back here. We'll be glad to hear that we could be of help.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • First post
              Last post