<div style="color:#000; font-size: 14px;font-family: arial;"><div>On my working OS (Linux Mint), no context menu is poped up when compiled with qt5, and the selected text just disappeared.</div><div>Then, today I installed a new CentOS 7 and new Mint 17 in VirtualBox, and tried compiling qscintilla.pro & application.pro with qt5 again. It turned out to be fine.</div><div>I seems that the reason is some qt binaries have been corrupted / mismatched on my system. A fresh os installation will fix all the problems.</div><div><br></div></div><!-- jy5ContentSuffix --><div>在2017年11月19 23时55分, "Phil Thompson"<phil@riverbankcomputing.com>写道:</div><blockquote id="isReplyContent" style="padding-left:1ex; margin: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On 17 Nov 2017, at 11:04 am, F32 <<a href="mailto:feng32@163.com">feng32@163.com</a>> wrote:<br>> <br>> Hi,<br>> <br>> I'm working on qscintilla these days, replacing the default text-edit widget for better user experience.<br>> <br>> My operation system is:<br>>   - Linux Mint 17.3 Rosa 64-bit (based on Ubuntu 14.04)<br>>   - Linux 3.19.0-32-generic x86_64<br>>   - MATE 1.12.0<br>>   - gtk 3.10.8<br>> <br>> At first the project is built with the latest qt5 toolchain (5.9.2) downloaded from qt.io, however, I found that when some text is selected and I right-click inside the edit area, the selection would be removed (it is not cut into the clipborad).<br>> <br>> Then, I installed the qt4 development files (4.8.5) from the ubuntu repo, and compiled with qmake-qt4 again, this behavior disappears and everything works fine.<br>> <br>> I googled for half an hour but was unable to find similar reports.<br>> <br>> Is this a compability issue of scintilla or qt5? Does anyone know how to fix it in qt5?<br><br>If you right-click then you should get the context menu containing the usual Cut/Copy/Paste etc. options.<br><br>Phil<br></blockquote>