Qt Forum

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

    Forum Updated on Feb 6th

    Solved Eigene Anwendung als Standardprogram für Dateityp htm

    General and Desktop
    3
    13
    1638
    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
      HenrikSt. last edited by

      Moin,
      wie kann ich eine Anwendung, die ich mit Qt geschrieben habe, als Standardprogram für den Dateitypen htm setzen?

      Hello,
      how can set my own application as Standard for the filetyp htm?

      Danke,
      Thanks,

      Henrik

      kshegunov 1 Reply Last reply Reply Quote 0
      • V
        VRonin last edited by

        There is no "Qt Way" of doing this, it's platform dependent. Just google "File Association <Operating System>" replacing <Operating System> with your OS (e.g. Windows, OSX, Ubuntu)

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply Reply Quote 2
        • kshegunov
          kshegunov Moderators @HenrikSt. last edited by

          @HenrikSt.
          I find a bit funny that this "die ich mit Qt geschrieben habe" wasn't translated, but yes, @VRonin is correct, there's no Qt-specific solution for this.

          Read and abide by the Qt Code of Conduct

          H 2 Replies Last reply Reply Quote 0
          • H
            HenrikSt. @kshegunov last edited by

            @kshegunov
            Yes you are right :)

            My own application i've written with Qt

            1 Reply Last reply Reply Quote 0
            • H
              HenrikSt. @kshegunov last edited by

              Thank you

              1 Reply Last reply Reply Quote 0
              • H
                HenrikSt. last edited by

                So, how can i Change the Standard program of filetyp htm during the Installation of my application?

                Is that possible?

                kshegunov 1 Reply Last reply Reply Quote 0
                • kshegunov
                  kshegunov Moderators @HenrikSt. last edited by

                  @HenrikSt.
                  It is, but depends on the OS (different OSes handle it differently) and also how you install your app.

                  Read and abide by the Qt Code of Conduct

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    HenrikSt. @kshegunov last edited by

                    @kshegunov
                    I use Windows 10, 64 Bit

                    And i create a Setup

                    That what you mean?

                    kshegunov 1 Reply Last reply Reply Quote 0
                    • kshegunov
                      kshegunov Moderators @HenrikSt. last edited by

                      @HenrikSt.
                      It is.

                      And i create a Setup

                      How do you create your setup? Do you use some kind of MSI builder?

                      Read and abide by the Qt Code of Conduct

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        HenrikSt. @kshegunov last edited by

                        @kshegunov
                        No, i use Install Creator Pro from clickteam

                        kshegunov 1 Reply Last reply Reply Quote 0
                        • kshegunov
                          kshegunov Moderators @HenrikSt. last edited by

                          @HenrikSt.
                          Never heard of it. If I recall correctly the file associations on windows are stored somewhere in the registry, so you could probably start there. If you find the exact key(s) that you need to update then the software you're using for packaging should provide some means for updating them.

                          Not exactly a solution, but I hope it helps.
                          Kind regards.

                          Read and abide by the Qt Code of Conduct

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            HenrikSt. @kshegunov last edited by

                            @kshegunov
                            Thanks, i will have look,

                            good evening.

                            The post is solved

                            1 Reply Last reply Reply Quote 0
                            • V
                              VRonin last edited by

                              For windows you could start here: https://wiki.qt.io/Assigning_a_file_type_to_an_Application_on_Windows

                              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                              ~Napoleon Bonaparte

                              On a crusade to banish setIndexWidget() from the holy land of Qt

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