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. Running application with user privillegions.
Qt 6.11 is out! See what's new in the release blog

Running application with user privillegions.

Scheduled Pinned Locked Moved Unsolved General and Desktop
50 Posts 10 Posters 9.7k Views 3 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.
  • Pl45m4P Pl45m4

    @SGaist

    Nice to know :)

    *.in.in file?!
    So a file template for a file template for an actual file? :D

    SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #31

    @Pl45m4 said in Running application with user privillegions.:

    @SGaist

    Nice to know :)

    *.in.in file?!
    So a file template for a file template for an actual file? :D

    There's never enough indirection... :-D

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kaixoo
      wrote on last edited by
      #32

      I think he wants to run a process with administrative privileges by showing a UAC (User Account Control) dialog. This is what, for example, balenaEtcher does when it needs to burn a drive. Is this correct?

      JonBJ 1 Reply Last reply
      0
      • K kaixoo

        I think he wants to run a process with administrative privileges by showing a UAC (User Account Control) dialog. This is what, for example, balenaEtcher does when it needs to burn a drive. Is this correct?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #33

        @kaixoo If you read the OP is under Linux, so there is no such thing as "UAC".

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nicholas_ru
          wrote on last edited by nicholas_ru
          #34

          Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled

          JonBJ 1 Reply Last reply
          0
          • J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #35

            Torvalds allowed Rust into the kernel (2022) but not C++.

            Grandpa is doing his own thing and I stopped questioning stuff.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            N 1 Reply Last reply
            1
            • N nicholas_ru

              Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #36

              @nicholas_ru said in Running application with user privillegions.:

              Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled

              Don't know what you're saying, but the ability to set or change user privilege has nothing to do with C++ and really little to do with programming.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nicholas_ru
                wrote on last edited by nicholas_ru
                #37

                It's talk about them, that code must be easy, and user permissions change must be flug also easy.

                Pl45m4P 1 Reply Last reply
                0
                • N nicholas_ru

                  It's talk about them, that code must be easy, and user permissions change must be flug also easy.

                  Pl45m4P Offline
                  Pl45m4P Offline
                  Pl45m4
                  wrote on last edited by
                  #38

                  @nicholas_ru

                  If changing user permissions were that easy, it would defeat its purpose.


                  If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                  ~E. W. Dijkstra

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nicholas_ru
                    wrote on last edited by
                    #39

                    It must easy for developers and users.

                    1 Reply Last reply
                    0
                    • J.HilkJ J.Hilk

                      Torvalds allowed Rust into the kernel (2022) but not C++.

                      Grandpa is doing his own thing and I stopped questioning stuff.

                      N Offline
                      N Offline
                      nicholas_ru
                      wrote on last edited by
                      #40

                      @J.Hilk grandfather create for you Linux and GIT,you use it

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #41

                        Just in case: KDE has Polkit-Qt

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        N 1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          nicholas_ru
                          wrote on last edited by nicholas_ru
                          #42

                          I use LXDE.This is GNOME.Gvfs.I am not knowladge how understand.Paradox

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #43

                            I don't get your point. Can you explain this more clearly ?
                            AFAIK, there's nothing LXDE specific. This project is essentially a wrapper around polkit which handles the "sudoing" part.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • N Offline
                              N Offline
                              nicholas_ru
                              wrote on last edited by nicholas_ru
                              #44

                              very good idea, but very dificult. I am found in debian based package.Thank.

                              SGaistS 1 Reply Last reply
                              0
                              • N nicholas_ru

                                very good idea, but very dificult. I am found in debian based package.Thank.

                                SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #45

                                @nicholas_ru said in Running application with user privillegions.:

                                very good idea, but very dificult. I am found in debian based package.Thank.

                                What do you mean by that ? Debian provides packages for both Qt 5 and Qt 6 ?

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • N Offline
                                  N Offline
                                  nicholas_ru
                                  wrote on last edited by
                                  #46

                                  Yes, of course.

                                  SGaistS 1 Reply Last reply
                                  0
                                  • N nicholas_ru

                                    Yes, of course.

                                    SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #47

                                    @nicholas_ru said in Running application with user privillegions.:

                                    Yes, of course.

                                    That is still a bit cryptic regarding your "but very difficult" answer.
                                    What difficulties do you have ?

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    0
                                    • SGaistS SGaist

                                      Just in case: KDE has Polkit-Qt

                                      N Offline
                                      N Offline
                                      nicholas_ru
                                      wrote on last edited by
                                      #48

                                      @SGaist said in Running application with user privillegions.:

                                      Just in case: KDE has Polkit-Qt

                                      On Github compile with Qt 5.x.How compile with Qt 6.x?

                                      JonBJ SGaistS 2 Replies Last reply
                                      0
                                      • N nicholas_ru

                                        @SGaist said in Running application with user privillegions.:

                                        Just in case: KDE has Polkit-Qt

                                        On Github compile with Qt 5.x.How compile with Qt 6.x?

                                        JonBJ Offline
                                        JonBJ Offline
                                        JonB
                                        wrote on last edited by JonB
                                        #49

                                        @nicholas_ru
                                        Since that directory has various files with qt6 in their name and comment Change CMake code to enable building against Qt 5 or 6 I would guess it has already been made to work with Qt6 for you..... You did look inside e.g. CMakeLists.txt to check you are asking for Qt6 instead of Qt5, didn't you?

                                        1 Reply Last reply
                                        1
                                        • N nicholas_ru

                                          @SGaist said in Running application with user privillegions.:

                                          Just in case: KDE has Polkit-Qt

                                          On Github compile with Qt 5.x.How compile with Qt 6.x?

                                          SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #50

                                          @nicholas_ru said in Running application with user privillegions.:

                                          @SGaist said in Running application with user privillegions.:

                                          Just in case: KDE has Polkit-Qt

                                          On Github compile with Qt 5.x.How compile with Qt 6.x?

                                          Beside the comment from @JonB, if you could give more accurate information, links, etc. It would help us help you.

                                          Interested in AI ? www.idiap.ch
                                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          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