<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>firemail - 常见错误</title>
    <link>http://firemail.wang:8088/forum.php?mod=forumdisplay&amp;fid=428</link>
    <description>Latest 20 threads of 常见错误</description>
    <copyright>Copyright(C) firemail</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 15 Apr 2026 17:12:23 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://firemail.wang:8088/static/image/common/logo_88_31.gif</url>
      <title>firemail</title>
      <link>http://firemail.wang:8088/</link>
    </image>
    <item>
      <title>Qt内嵌页面，点一下空白了</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=10911</link>
      <description><![CDATA[QWebEngine     依赖  resourece 下的文件没有复制过去]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Mon, 08 Apr 2024 10:58:35 +0000</pubDate>
    </item>
    <item>
      <title>qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=10043</link>
      <description><![CDATA[找到相应动态库，放到.exe同级目录
一般位置
 libeay32.dll ssleay32.dll
C:\\Qt\\Qt 5.xx.x\\Tools\\mingw730_32\\opt\\bin（32位）
C:\\Qt\\Qt 5.xx.x\\Tools\\mingw730_32\\opt\\bin（64位）
libcrypto-1_1.dll  libssl-1_1.dll

C:\\Qt\\Qt 5.xx.x\\Tools\\QtCreator\\bin

 ...]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Tue, 05 May 2020 05:48:29 +0000</pubDate>
    </item>
    <item>
      <title>Qt5中connect使用重载的信号函数</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=10006</link>
      <description><![CDATA[Qt5中的信号槽连接一般这样使用：

但是，对于信号函数有重载的话，程序将无法编译通过，原因就是编译器无法确定是使用哪个信号函数，所以，我们需要显式的声明我们使用的信号函数类型
[*]使用static_cast
[*]c++14中使用qOverload
qOverload需要在Qt5.7后的版本才 ...]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Thu, 26 Mar 2020 04:03:37 +0000</pubDate>
    </item>
    <item>
      <title>如何解决：UnicodeDecodeError: \'utf-8\' codec can\'t decode byte 0xbc in positio...</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9990</link>
      <description><![CDATA[如何解决：UnicodeDecodeError: \'utf-8\' codec can\'t decode byte 0xbc in position 0: invalid start byte
含有中文的cpp和h文件，在python中报上面错误
用Notpad++不能直接转为utf-8
可先用记事本转成utf-8 bom 再用notpad++转成utf-8]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Thu, 12 Mar 2020 03:27:51 +0000</pubDate>
    </item>
    <item>
      <title>vs在调试状态不显示QString等qt变量的值</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9964</link>
      <description><![CDATA[要安装qt vs插件]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Thu, 27 Feb 2020 09:54:53 +0000</pubDate>
    </item>
    <item>
      <title>error: C2602: “CBitExtOperation::_Mbstatet”不是“CBitExtOperation”基类的成员</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9926</link>
      <description><![CDATA[F:\\github\\chunhuitech\\ccppqt\\MyTestPros\\maintest.h:36: error: C1071: 在注释中遇到意外的文件结束
]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Thu, 13 Feb 2020 06:17:40 +0000</pubDate>
    </item>
    <item>
      <title>Qt程序发布后还没出现界面前就退出了</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9417</link>
      <description><![CDATA[windows下Qt程序发布
windeployqt.exe　处理后的文件确认是基于哪个平台的

C:\\Qt\\Qt5.5.1\\msvc2013_64\\5.5\\msvc2013_64\\bin  对应　C:\\Qt\\Qt5.5.1\\msvc2013_64\\Tools\\QtCreator\\bin\\qtcreator.exe
C:\\Qt\\Qt5.5.1\\mingw492\\5.5\\mingw492_32\\bin 对应　C:\\Qt\\Qt5.5.1 ...]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Tue, 17 Apr 2018 06:31:35 +0000</pubDate>
    </item>
    <item>
      <title>Qt Creator下的编码问题  C4819: 该文件包含不能在当前代码页(936)中表示的字符</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9413</link>
      <description><![CDATA[基于Qt creator开发 MinGW程序，
工具-&gt;选项-&gt;文本编辑器-&gt;行为
文件编码-&gt;
默认编码：UTF-8
UTF-8 BOM: 目前存在了则保留 
以上为默认选项
但切换到MSVC2013 时，编译会报下面错误
 warning: C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保 ...]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Mon, 16 Apr 2018 13:32:37 +0000</pubDate>
    </item>
    <item>
      <title>model/view 双击树控件就卡死</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9383</link>
      <description><![CDATA[QModelIndex RecordTreeModel::index(int row, int column, const QModelIndex &amp;parent) const
{
    if (!hasIndex(row, column, parent))
        return QModelIndex();
    if (parent.isValid())
        return QModelIndex();


加上红色的两行]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Thu, 05 Apr 2018 04:26:54 +0000</pubDate>
    </item>
    <item>
      <title>解决Qt5.8.0(5.5.1) cannot find -lGL</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9379</link>
      <description><![CDATA[//查看本地已安装的库
locate libGL
//建议符号连接
sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/libGL.so

$ ll /usr/lib/libGL.so
lrwxrwxrwx 1 root root 36 4月   4 15:23 /usr/lib/libGL.so -&gt; /usr/lib/x86_64-linux-gnu/libGL.so.1

如果 ...]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Wed, 04 Apr 2018 07:28:44 +0000</pubDate>
    </item>
    <item>
      <title>The inferior stopped because it received a signal from the Operating System.</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9376</link>
      <description><![CDATA[mpLoggerRepository的值 为 no such value


不要在动态库中单独调用 QLoggingLib::instance()，而是从主程序中把 QLoggingLib::instance() 以指针形式传送进来，如：initDB(QLoggingLib* pLog)]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Sat, 31 Mar 2018 13:19:38 +0000</pubDate>
    </item>
    <item>
      <title>QT invalid application of \'sizeof\' to incomplete type信号和槽以结构体为参数传...</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9369</link>
      <description><![CDATA[信号和槽以结构体为参数传递复杂数据]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Sat, 24 Mar 2018 13:50:14 +0000</pubDate>
    </item>
    <item>
      <title>error: undefined reference to `vtable for QNetOperThreadEntity\'</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9359</link>
      <description><![CDATA[动态库中导出类，忘记添加 QCONTROLSOSHARED_EXPORT]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Tue, 13 Mar 2018 13:42:44 +0000</pubDate>
    </item>
    <item>
      <title>error: undefined reference to `DBTreeModelDataClassificationImpl::DBTreeModel...</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9322</link>
      <description><![CDATA[动态库里导出的类前面要加下 QDATABASESOSHARED_EXPORT 关键字]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Wed, 28 Feb 2018 15:11:20 +0000</pubDate>
    </item>
    <item>
      <title>解决 No rule to make target  , needed by debug/xxx.o  Stop</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=9311</link>
      <description><![CDATA[error: No rule to make target \'itreemodeldata.cpp\', needed by \'debug/itreemodeldata.o\'.  Stop.

清空 构建不行
重新构建不行
删除整个build目录不行
关闭工程，重新打开不行
最后发现在原来是在 QCommLib.prot文件中包含了对文件的调用]]></description>
      <category>常见错误</category>
      <author>Qter</author>
      <pubDate>Sun, 25 Feb 2018 12:36:42 +0000</pubDate>
    </item>
  </channel>
</rss>