mirror of https://gitee.com/cxasm/notepad--.git
cmake-plugin: 处理在 Windows 中基于源代码构建的插件显示乱码问题
1. 插件说明使用 u8 来确保 QString 的正常值显示 2. 使用 UTF-8 with BOM 来确保源代码文件不会继承报错
This commit is contained in:
parent
a2f9673737
commit
04d866ea89
|
@ -1,4 +1,4 @@
|
|||
#include <qobject.h>
|
||||
#include <qobject.h>
|
||||
#include <qstring.h>
|
||||
#include <include/pluginGl.h>
|
||||
#include <functional>
|
||||
|
@ -6,6 +6,6 @@
|
|||
#include "ndd_plugin_implement.h"
|
||||
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY("简繁转换面板", "0.1", "zinface", "一个简单的简繁转换面板", "");
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY(u8"简繁转换面板", "0.1", "zinface", u8"一个简单的简繁转换面板", "");
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IMPLEMENT(NddPluginImplement, true);
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#include <qobject.h>
|
||||
#include <qobject.h>
|
||||
#include <qstring.h>
|
||||
#include <include/pluginGl.h>
|
||||
#include <functional>
|
||||
#include <qsciscintilla.h>
|
||||
#include "ndd_plugin_implement.h"
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY("base-widget", "0.1", "author", "基于 QMainWindow 的插件", "");
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY("base-widget", "0.1", "author", u8"基于 QMainWindow 的插件", "");
|
||||
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IMPLEMENT(NddPluginImplement, true);
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#include <qobject.h>
|
||||
#include <qobject.h>
|
||||
#include <qstring.h>
|
||||
#include <include/pluginGl.h>
|
||||
#include <functional>
|
||||
#include <qsciscintilla.h>
|
||||
#include "ndd_plugin_implement.h"
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY("base-widget-ui", "0.1", "author", "基于 QMainWindow Ui 的插件", "");
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY("base-widget-ui", "0.1", "author", u8"基于 QMainWindow Ui 的插件", "");
|
||||
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IMPLEMENT(NddPluginImplement, true);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "ndd_plugin_implement.h"
|
||||
#include "ndd_plugin_implement.h"
|
||||
#include "ui_ndd_plugin_implement.h"
|
||||
|
||||
#include <qsciscintilla.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <qobject.h>
|
||||
#include <qobject.h>
|
||||
#include <qstring.h>
|
||||
#include <include/pluginGl.h>
|
||||
#include <functional>
|
||||
|
@ -7,5 +7,5 @@
|
|||
|
||||
|
||||
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY("检查更新", "v0.1", "zinface", "Notepad-- 版本检查", "");
|
||||
NOTEPAD_PLUGIN_METADATA_IDENTIFY(u8"检查更新", "v0.1", "zinface", u8"Notepad-- 版本检查", "");
|
||||
NOTEPAD_PLUGIN_METADATA_IMPLEMENT(NddPluginImplement, false);
|
||||
|
|
Loading…
Reference in New Issue