Results 1 to 9 of 9

Thread: QT creator drag and drop not working

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QT creator drag and drop not working

    I have a noob question...
    In QT creator 2.3.1 (based on QT 4.7.4) in a windows 7 environment.
    I can not drag and drop to open files in QT creator.
    (The guy next to me can)

    I can use "file->open file or project"
    but would love to be able to just drag an existing cpp file to open.

    Is there a setting I'm just not seeing?
    (I used the installer and did NOT compile QT on this win 7 box)

    thank you;

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT creator drag and drop not working

    Do you use any system hacks that might be interfering with drag and drop? Or rather, do you use any system modifications at all?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QT creator drag and drop not working

    No system hacks at all... (just test editor settings for black background, and 4 spaces instead of tab)
    I ran installer, I did an update...
    I have a person next to me that used the same installer...
    They have the ability to just drag and drop a .cpp file into QT Creator, I do not.

    I am willing to look for anything that may cause this, I am just un-sure as to where to start.
    Could it be the text editor selected? I think the "Generic Highlighter" tab shows me using "Kate text editor"

    thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT creator drag and drop not working

    I'm not asking about Qt. I'm asking about your computer.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QT creator drag and drop not working

    Drag and drop of file works on Visual Studio (same machine), so I will guess NO. But I am willing to look at anything.
    Note: Drag and drop of files to open also works with Notepad, and a few other programs.

    I'm accutally going to try to uninstall and re-install QT creator...

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT creator drag and drop not working

    Don't guess. The question is really simple -- did you install any software on your computer that was meant to change in any way the looks or behaviour of your system?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QT creator drag and drop not working

    Nope. and drag and drop works on "Other" applications just fine.

  8. #8
    Join Date
    Feb 2011
    Posts
    2
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: QT creator drag and drop not working

    I'm also having this problem. It works until I create a grid layout. After that, drag and drop no longer works. I can't move widgets or drag new ones in. Even if I undo the grid layout I need to restart Qt Designer before it works.

    Windows 7 64bit. Dual monitors, no system hacks. I tried disabling Synergy but that had no affect. Qt 4.8.0.

  9. #9
    Join Date
    Jan 2006
    Location
    Genk, Belgium
    Posts
    36
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT creator drag and drop not working

    It no longer works for me with the latest version, but does work with previous version:

    Works with Qt Creator 2.3.0, Based on Qt 4.7.4 (32 bit)
    No longer with Qt Creator 2.5.0, Based on Qt 4.8.1 (32 bit)

    Both on Windows 7 (64-bit), running besides each other on the same machine.

  10. The following user says thank you to Pieter from Belgium for this useful post:

    segfault.russell (6th July 2012)

Similar Threads

  1. Replies: 0
    Last Post: 7th January 2012, 15:20
  2. Replies: 2
    Last Post: 13th October 2010, 21:51
  3. Replies: 3
    Last Post: 10th June 2010, 15:13
  4. Replies: 0
    Last Post: 4th May 2010, 10:24
  5. Drag and Drop (drop example)
    By din9 in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2006, 18:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.