I try QApplication::setActiveWindow(this);
and other flag ...

but i can only make this and run ok.
How to make focus QApplication from linux & mac?

Qt Code:
  1. if(instance.isRunning())
  2. {
  3. #if defined Q_WS_WIN
  4. /* focus this QApplication instance from other QApplication*/
  5. HWND hWnd = FindWindowW( 0, (LPCWSTR) titles.utf16() );
  6. ShowWindow( hWnd, SW_RESTORE );
  7. SetForegroundWindow( hWnd );
  8. #endif
  9. /* send the file to other instance..... */
To copy to clipboard, switch view to plain text mode