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).
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 4 Posters 683 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 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 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.

      JonBJ 1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #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
        1
        • JoeCFDJ JoeCFD

          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 last edited by
          #3

          @JoeCFD My qt is 5.12.11。

          1 Reply Last reply
          0
          • JoeCFDJ JoeCFD

            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 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?

            JonBJ 1 Reply Last reply
            0
            • V VikiWang

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

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #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
              0
              • JonBJ JonB

                @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 last edited by
                #6

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

                Pablo J. RoginaP 1 Reply Last reply
                0
                • V Offline
                  V Offline
                  VikiWang
                  wrote on 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.

                  JonBJ 1 Reply Last reply
                  0
                  • V VikiWang

                    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.

                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on 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

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

                      Pablo J. RoginaP Offline
                      Pablo J. RoginaP Offline
                      Pablo J. Rogina
                      wrote on 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

                      • Login

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