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. Drag and drop can not work on Ubuntu(Virtual Machine).
QtWS25 Last Chance

Drag and drop can not work on Ubuntu(Virtual Machine).

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 4 Posters 670 Views
  • 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.
  • V Offline
    V Offline
    VikiWang
    wrote on 2 Dec 2021, 11:02 last edited by
    #1

    I ran the Qt drag example “puzzle” on Ubuntu, but drag didn't work? This example works fine on Windows.

    Is there anything I need to configure on Ubuntu?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VikiWang
      wrote on 6 Dec 2021, 09:46 last edited by
      #7

      The cause of this problem has been found and has nothing to do with QT. It happened after I installed a file encryption protection software locally.

      J 1 Reply Last reply 6 Dec 2021, 09:58
      0
      • J Offline
        J Offline
        JoeCFD
        wrote on 2 Dec 2021, 16:41 last edited by JoeCFD 12 Feb 2021, 16:44
        #2

        which version of Qt? Just tested it with Qt 5.15.2 on Ubuntu 18 and drag and drop work fine.

        V 2 Replies Last reply 3 Dec 2021, 02:01
        1
        • J JoeCFD
          2 Dec 2021, 16:41

          which version of Qt? Just tested it with Qt 5.15.2 on Ubuntu 18 and drag and drop work fine.

          V Offline
          V Offline
          VikiWang
          wrote on 3 Dec 2021, 02:01 last edited by
          #3

          @JoeCFD My qt is 5.12.11。

          1 Reply Last reply
          0
          • J JoeCFD
            2 Dec 2021, 16:41

            which version of Qt? Just tested it with Qt 5.15.2 on Ubuntu 18 and drag and drop work fine.

            V Offline
            V Offline
            VikiWang
            wrote on 3 Dec 2021, 02:15 last edited by
            #4

            @JoeCFD My Ubuntu is 20.04. I just tested it on Ubuntu18 and worked fine. Is QT of 5.12 having problems with Ubuntu20?

            J 1 Reply Last reply 3 Dec 2021, 08:26
            0
            • V VikiWang
              3 Dec 2021, 02:15

              @JoeCFD My Ubuntu is 20.04. I just tested it on Ubuntu18 and worked fine. Is QT of 5.12 having problems with Ubuntu20?

              J Offline
              J Offline
              JonB
              wrote on 3 Dec 2021, 08:26 last edited by JonB 12 Mar 2021, 08:27
              #5

              @VikiWang I use Ubuntu 20.04 under VM with distro's Qt 5.12 and D&D works fine, as I would expect.

              V 1 Reply Last reply 4 Dec 2021, 08:06
              0
              • J JonB
                3 Dec 2021, 08:26

                @VikiWang I use Ubuntu 20.04 under VM with distro's Qt 5.12 and D&D works fine, as I would expect.

                V Offline
                V Offline
                VikiWang
                wrote on 4 Dec 2021, 08:06 last edited by
                #6

                @JonB Thanks! I switched to QT 5.12.7 and it worked fine!

                P 1 Reply Last reply 6 Dec 2021, 12:57
                0
                • V Offline
                  V Offline
                  VikiWang
                  wrote on 6 Dec 2021, 09:46 last edited by
                  #7

                  The cause of this problem has been found and has nothing to do with QT. It happened after I installed a file encryption protection software locally.

                  J 1 Reply Last reply 6 Dec 2021, 09:58
                  0
                  • V VikiWang
                    6 Dec 2021, 09:46

                    The cause of this problem has been found and has nothing to do with QT. It happened after I installed a file encryption protection software locally.

                    J Offline
                    J Offline
                    JonB
                    wrote on 6 Dec 2021, 09:58 last edited by
                    #8

                    @VikiWang said in Drag and drop can not work on Ubuntu(Virtual Machine).:

                    The cause of this problem has been found and has nothing to do with QT.

                    This was expected! :)

                    1 Reply Last reply
                    1
                    • V VikiWang
                      4 Dec 2021, 08:06

                      @JonB Thanks! I switched to QT 5.12.7 and it worked fine!

                      P Offline
                      P Offline
                      Pablo J. Rogina
                      wrote on 6 Dec 2021, 12:57 last edited by
                      #9

                      @VikiWang said in Drag and drop can not work on Ubuntu(Virtual Machine).:

                      it worked fine!

                      Great, so please don't forget to mark this post as solved!

                      Upvote the answer(s) that helped you solve the issue
                      Use "Topic Tools" button to mark your post as Solved
                      Add screenshots via postimage.org
                      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                      1 Reply Last reply
                      0

                      8/9

                      6 Dec 2021, 09:58

                      • Login

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