1、插件和多线程问题: 创建插件对象不能放到多线程执行,不然报错:ASSERT failure in QWidget: "Widgets must be created in the GUlthread.
//不能放在多线程执行
QPluginLoader pluginLoader(pluginsDir.absoluteFilePath(fileName))…
Recall
String s1; // Step 1: declare a String variable
s1 new String(); // Step 2: assign it a value, a new empty string objectString s2 new String(); // 1&2 combined今日知识点
situation: pointing to the same object
s1 "Yow!";s2 s1;
//…