Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Publishing a Qt Application under Windows
Qt 6.11 is out! See what's new in the release blog

Publishing a Qt Application under Windows

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 3 Posters 3.5k Views 1 Watching
  • 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi
    If your app is called anything with setup in name
    then it will be stopped by UAC.
    Else I have not had issue on win 10 with Qt programs. (Desktop)

    Can it be the users local virus scanner or something that blocks it?

    Before you know why it cannot run, its hard to solve it.

    1 Reply Last reply
    1
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #3

      A User gets this Message when he executes it http://localnet.p8x.de/html/vttagebuch.png

      It says the PC is protected. And in the button the text is "Dont execute"

      mrjjM 1 Reply Last reply
      0
      • ? A Former User

        A User gets this Message when he executes it http://localnet.p8x.de/html/vttagebuch.png

        It says the PC is protected. And in the button the text is "Dont execute"

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @Fuel
        Normally if you click on "more info"
        you get option to "Run anyway"

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #5

          yes of course, but not any user knows that :)

          mrjjM 1 Reply Last reply
          0
          • ? A Former User

            yes of course, but not any user knows that :)

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @Fuel
            Nope, they try to hide it as if "Run anyways" was always visible it would
            not really help anything. :)

            Is your program installed by installer to "programs" ?

            1 Reply Last reply
            1
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #7

              no its just a Zip Archiv you can download and extract. In this Archiv you have the Program you can just execute. no Installer

              mrjjM 1 Reply Last reply
              0
              • ? A Former User

                no its just a Zip Archiv you can download and extract. In this Archiv you have the Program you can just execute. no Installer

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #8

                @Fuel
                Ok, as normally it do not warn about stuff that is installed with installer, only
                in other folders etc.
                Especially if download folder.

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #9

                  its strange that not everyone has that. only one user i know.

                  mrjjM 1 Reply Last reply
                  0
                  • ? A Former User

                    its strange that not everyone has that. only one user i know.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @Fuel
                    well, it might not trigger in all folders.
                    so if other users move to say desktop , it might not.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #11

                      really strange. but how can i fix this? only with an installer?

                      mrjjM 1 Reply Last reply
                      0
                      • ? A Former User

                        really strange. but how can i fix this? only with an installer?

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        @Fuel
                        Im not sure u can add anything to remove this
                        warning as then all malware could just do it.

                        Well, an installer might do it for you., yes.

                        1 Reply Last reply
                        0
                        • hskoglundH Offline
                          hskoglundH Offline
                          hskoglund
                          wrote on last edited by
                          #13

                          Hi, if you're using the MinGW compiler to build your app, try switching to VIsual Studio. It adds a manifest to your .exe file which makes Windows 10 much more happy.
                          (Or you could try adding a manifest manually.)

                          1 Reply Last reply
                          1
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #14

                            i used the VC Compiler from Visual Studio 2015. Maybe this Messages shows if someone copy this Folder in the Program Directory of Windows. Later i will try a Setup Installer like Inno Setup or something.

                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved