我有點初學者,並且在Qt中實現tr函數時遇到問題。如果我在Qt類之外使用tr(「字符串」),我會收到錯誤。 我找到的信息,我應該在TR()之前使用的QObject ::,但如果我嘗試 temp += QObject::tr("Example"); // temp is std::string
我收到提示 C2679: binary '+=' : no operator found which
我有以下代碼,我想找到最接近的tr元素 ,但它沒有工作。(返回undefined)但我可以得到最接近'ul','li'沒有問題 。任何幫助是極大的讚賞。由於 我已經添加了實際的HTML代碼如下 HTML <tr>
<td>
.......want to find something here
</td>
<td class="some class name">
<div