I find a way to open file, by drag file to application icon (or taskbar) on Mac is QFileOpenEvent ,
is a long way see http://wiki.qtcentre.org/index.php?t...Mac_OSX_Finder
but its can run.. file extension must having on xml plist,
on window arguments list from int main(int argc, char *argv[]) .... can run.
An now how i can drag file to apps icon to open on Gnome Linux?
Is here other file event? Arguments list not respond.
On Gnome i find only ChSciTE that i can drag file to icon to open.! is here other QT apps wo run by drag file to icon on Gnome?
Qt Code:
{ Q_OBJECT public: ... protected: ... private: }; { switch (event->type()) { loadFile(static_cast<QFileOpenEvent *>( event)->file()); return true; default: } }To copy to clipboard, switch view to plain text mode
The problem file:
https://wysiwyg-edit.svn.sourceforge...s/src/main.cpp
Bookmarks