2017-09-20 67 views
0

第一,我使用的centos 6.9,和Qt Creator 3.0.0
我能夠直接使用終端服務器命令
的TeamViewer快速與Qt創建者連接按鈕

/usr/bin/teamviewer -i [serverid] -P [password]"

然後我被實現連接它在QT使用此代碼按鈕:

system("gnome-terminal --hide-menubar --profile=noclose -x bash -c '/usr/bin/teamviewer -i [serverid] -P [password];'");

但是那不行,它表明這個錯誤:

Init... 
CheckCPU: SSE2 support: yes 
XRandRWait: No value set. Using default. 
XRandRWait: Started by user. 
Checking setup... 
/opt/teamviewer/tv_bin/wine/bin/wineserver: Symbol `wine_casemap_upper' has different size in shared object, consider re-linking 
/opt/teamviewer/tv_bin/wine/bin/wineserver: Symbol `wine_casemap_lower' has different size in shared object, consider re-linking 
Launching TeamViewer ... 
/opt/teamviewer/tv_bin/wine/bin/wineserver: Symbol `wine_casemap_upper' has different size in shared object, consider re-linking 
/opt/teamviewer/tv_bin/wine/bin/wineserver: Symbol `wine_casemap_lower' has different size in shared object, consider re-linking 
Launching TeamViewer GUI ... 

我也嘗試過使用Qprocess .start .execute的不同方法,仍然沒有運氣。

+0

我改變了一些標籤,因爲它似乎是一個teamviewer和/或葡萄酒問題,而不是C++/Qt/centos問題。如果你覺得它不正確,你可以再次[編輯](https://stackoverflow.com/posts/46316605/edit)。 – nwp

回答

0

我自己就解決了。
我已經在系統中安裝了葡萄酒,我想我已經正確刪除了它,但不是。

它發生是因爲我沒有正確刪除所有的葡萄酒夥伴。

我只是用yum remove wine,
刪除酒,然後用yum remove wine*解決。

btw感謝@nwp只將我的標記問題更改爲wine和teamviewer。這使我重新檢查我的系統上的酒包。