일부 버튼을 클릭하면 Chromium 브라우저와 같은 현재 실행중인 응용 프로그램의 사본을 만들고 싶습니다. 지금 내가 사용에 대한Qt로 실행중인 인스턴스에서 "복제"하는 방법은 무엇입니까?
:
QProcess::startDetached(QApplication::applicationFilePath());
는하지만이 실행중인 응용 프로그램에서 cloning
없습니다.
XX: Fatal IO error: client killed
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
RenRenPhotoFetch: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
응용 프로그램의 시작 부분에 로그 호출을 추가하십시오. 시작은 아마도 시작과 멀지 않을 것입니다. –