![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
QT5
文章平均质量分 50
Rock–
这个作者很懒,什么都没留下…
展开
-
QT Create 在C++文件中添加继承自QOBJECT并引用Q_OBJECT后造成的“LNK2001: 无法解析的外部符号 “public:virtual struct QMetaObject“
QtServiceWindows.obj : error LNK2001: 无法解析的外部符号 “public: virtual void * __cdecl QtServiceControllerHandler::qt_metacast(char const *)”Qt Create 项目在某些情况下只创建Cpp文件情况,并在Cpp文件中添加继承自QObject类和引用Q_OBJECT宏,此时会无法避免的出现编译错误。清除项目构建,并且qmake,重新编译。原创 2024-02-02 17:39:46 · 503 阅读 · 0 评论 -
QThread: Destroyed while thread is still running
QThread: Destroyed while thread is still running原创 2022-09-02 17:15:07 · 321 阅读 · 1 评论