You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Friday, October 9th 2015, 2:10pm

Open file by dropping on program icon

I am new to Qt, moving from infamous VS.
Does anyone have a simple example of running an application by dragging a file onto the icon for the app?
If I have an app called QxDrop and it started as a simple console "Hello World" example, I would like to modify so that the app sits on my desktop and I can drag a text file onto the icon and it will open the console and, instead of "Hello World" it would output:
>> Opened "C:/Bob.txt"
for example.
I can't find a simple example of how to get the icon to work to say Hello World, much less dragging an icon onto it.

I am running LinuxMint! Forgot that and it's slightly improtant.